laforge has submitted this change. ( https://gerrit.osmocom.org/c/simtrace2/+/30179 )
Change subject: firmware/sniffer: Log old and new state in ISO7816-3 state changes ......................................................................
firmware/sniffer: Log old and new state in ISO7816-3 state changes
Change-Id: Iddb460cc2ad02c11a74de10dab127bb14cee9605 --- M firmware/libcommon/source/sniffer.c 1 file changed, 2 insertions(+), 1 deletion(-)
Approvals: laforge: Looks good to me, approved Hoernchen: Looks good to me, but someone else must approve Jenkins Builder: Verified
diff --git a/firmware/libcommon/source/sniffer.c b/firmware/libcommon/source/sniffer.c index 1647e17..e3b7fbb 100644 --- a/firmware/libcommon/source/sniffer.c +++ b/firmware/libcommon/source/sniffer.c @@ -302,9 +302,10 @@ break; }
+ TRACE_INFO("ISO 7816-3 state %u->%u\n\r", iso_state, iso_state_new); + /* save new state */ iso_state = iso_state_new; - TRACE_INFO("Changed to ISO 7816-3 state %u\n\r", iso_state); }
const struct value_string data_flags[] = {