Kévin Redon has uploaded this change for review. (
https://gerrit.osmocom.org/10213
Change subject: sniff: increase debug output
......................................................................
sniff: increase debug output
Change-Id: Ife0bbcf4a25aaa445a36768c00004e6e0d9a4947
---
M firmware/libcommon/source/sniffer.c
1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/13/10213/1
diff --git a/firmware/libcommon/source/sniffer.c
b/firmware/libcommon/source/sniffer.c
index c57877f..c67ca94 100644
--- a/firmware/libcommon/source/sniffer.c
+++ b/firmware/libcommon/source/sniffer.c
@@ -299,7 +299,7 @@
/* save new state */
iso_state = iso_state_new;
- //TRACE_INFO("Changed to ISO 7816-3 state %u\n\r", iso_state); /* don't
print since this is function is also called by ISRs */
+ TRACE_INFO("Changed to ISO 7816-3 state %u\n\r", iso_state); /* don't
print since this is function is also called by ISRs */
}
const struct value_string data_flags[] = {
@@ -1052,11 +1052,13 @@
if (change_flags & SNIFF_CHANGE_FLAG_RESET_ASSERT) {
if (ISO7816_S_RESET != iso_state) {
change_state(ISO7816_S_RESET);
+ printf("reset asserted\n\r");
}
}
if (change_flags & SNIFF_CHANGE_FLAG_RESET_DEASSERT) {
if (ISO7816_S_WAIT_ATR != iso_state) {
change_state(ISO7816_S_WAIT_ATR);
+ printf("reset de-asserted\n\r");
}
}
if (change_flags & SNIFF_CHANGE_FLAG_TIMEOUT_WT) {
--
To view, visit https://gerrit.osmocom.org/10213
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: simtrace2
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ife0bbcf4a25aaa445a36768c00004e6e0d9a4947
Gerrit-Change-Number: 10213
Gerrit-PatchSet: 1
Gerrit-Owner: Kévin Redon <[email protected]>