Harald Welte has submitted this change and it was merged. ( 
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(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/firmware/libcommon/source/sniffer.c 
b/firmware/libcommon/source/sniffer.c
index c57877f..982653c 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);
 }

 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: merged
Gerrit-Change-Id: Ife0bbcf4a25aaa445a36768c00004e6e0d9a4947
Gerrit-Change-Number: 10213
Gerrit-PatchSet: 3
Gerrit-Owner: Kévin Redon <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Kévin Redon <[email protected]>

Reply via email to