Harald Welte has uploaded this change for review. ( 
https://gerrit.osmocom.org/13695


Change subject: sim-atr: Print slot number when printing ATR
......................................................................

sim-atr: Print slot number when printing ATR

Change-Id: Iafb957f551de1239f63360854fabeecfeb62b530
---
M sysmoOCTSIM/main.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware 
refs/changes/95/13695/1

diff --git a/sysmoOCTSIM/main.c b/sysmoOCTSIM/main.c
index ea07683..843652b 100644
--- a/sysmoOCTSIM/main.c
+++ b/sysmoOCTSIM/main.c
@@ -281,7 +281,7 @@

        // read ATR (just do it until there is no traffic anymore)
        // TODO the ATR should be parsed to read the right number of bytes
-       printf("ATR: ");
+       printf("(%d) ATR: ", slotnr);
        uint8_t atr_byte;
        while (usart_async_is_rx_not_empty(SIM_peripheral_descriptors[slotnr])) 
{
                if (1 == io_read(&SIM_peripheral_descriptors[slotnr]->io, 
&atr_byte, 1)) {

--
To view, visit https://gerrit.osmocom.org/13695
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iafb957f551de1239f63360854fabeecfeb62b530
Gerrit-Change-Number: 13695
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <[email protected]>

Reply via email to