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.orgHarald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/13694 )
Change subject: sim-atr command: enable the LED when the command is active.
......................................................................
sim-atr command: enable the LED when the command is active.
Change-Id: I50c125d46233e86003cc14ec9b5bac47127e8776
---
M sysmoOCTSIM/main.c
1 file changed, 7 insertions(+), 0 deletions(-)
Approvals:
Jenkins Builder: Verified
Harald Welte: Looks good to me, approved
diff --git a/sysmoOCTSIM/main.c b/sysmoOCTSIM/main.c
index 5b10c5f..ea07683 100644
--- a/sysmoOCTSIM/main.c
+++ b/sysmoOCTSIM/main.c
@@ -239,6 +239,7 @@
// note: ISO/IEC 7816-3:2006 section 6.4 provides the deactivation sequence, but not the minimum corresponding times
settings.rstin = true;
settings.cmdvcc = false;
+ settings.led = true;
ncn8025_set(slotnr, &settings);
// TODO wait some time for card to be completely deactivated
@@ -293,6 +294,12 @@
}
}
printf("\r\n");
+
+ /* disable VCC and LED, re-enable RST */
+ settings.cmdvcc = false;
+ settings.rstin = true;
+ settings.led = false;
+ ncn8025_set(slotnr, &settings);
}
extern void testmode_init(void);
--
To view, visit https://gerrit.osmocom.org/13694
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: I50c125d46233e86003cc14ec9b5bac47127e8776
Gerrit-Change-Number: 13694
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/52874cca/attachment.htm>