mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-11-09 07:06:00 +03:00
sniff: add checksum verification for ATR and PPS
a checksum error is only signaled in the USB message with the corresponding flag. Change-Id: I277868267c3199eea216ab47bdd09fb2fb944b06
This commit is contained in:
1 parent
5f6b8717a4
commit
f66af0c640
3 files changed
+28
-3
No files matched your search
@@ -297,6 +297,7 @@ struct st_modem_status {
|
||||
/* SIMTRACE_MSGT_SNIFF_ATR, SIMTRACE_MSGT_SNIFF_PPS, SIMTRACE_MSGT_SNIFF_TPDU flags */
|
||||
#define SNIFF_DATA_FLAG_ERROR_INCOMPLETE (1<<5)
|
||||
#define SNIFF_DATA_FLAG_ERROR_MALFORMED (1<<6)
|
||||
#define SNIFF_DATA_FLAG_ERROR_CHECKSUM (1<<7)
|
||||
|
||||
/* SIMTRACE_MSGT_SNIFF_CHANGE */
|
||||
struct sniff_change {
|
||||
|
||||
Reference in new issue
Block a user