Change in osmo-ccid-firmware[master]: sim-atr: Print slot number when printing ATR

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Apr 17 15:33:31 UTC 2019


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 <laforge at gnumonks.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190417/3489c07b/attachment.html>


More information about the gerrit-log mailing list