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

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

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


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

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



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: merged
Gerrit-Change-Id: Iafb957f551de1239f63360854fabeecfeb62b530
Gerrit-Change-Number: 13695
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190417/ef7dbb20/attachment.htm>


More information about the gerrit-log mailing list