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/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/simtrace2/+/16192 ) Change subject: simtrace2-remsim: Implement/Fix the 'skip_atr' option ...................................................................... simtrace2-remsim: Implement/Fix the 'skip_atr' option Change-Id: Id8206738635af0dd55836bbbcbfbe7381c375e97 --- M host/simtrace2-remsim.c 1 file changed, 8 insertions(+), 6 deletions(-) git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/92/16192/1 diff --git a/host/simtrace2-remsim.c b/host/simtrace2-remsim.c index 73a7272..101d425 100644 --- a/host/simtrace2-remsim.c +++ b/host/simtrace2-remsim.c @@ -746,12 +746,14 @@ /* select remote (forwarded) SIM */ st_modem_sim_select_remote(ci->slot); - /* set the ATR */ - uint8_t real_atr[] = { 0x3B, 0x9F, 0x96, 0x80, 0x1F, 0xC7, 0x80, 0x31, - 0xA0, 0x73, 0xBE, 0x21, 0x13, 0x67, 0x43, 0x20, - 0x07, 0x18, 0x00, 0x00, 0x01, 0xA5 }; - atr_update_csum(real_atr, sizeof(real_atr)); - cardem_request_set_atr(ci, real_atr, sizeof(real_atr)); + if (!skip_atr) { + /* set the ATR */ + uint8_t real_atr[] = { 0x3B, 0x9F, 0x96, 0x80, 0x1F, 0xC7, 0x80, 0x31, + 0xA0, 0x73, 0xBE, 0x21, 0x13, 0x67, 0x43, 0x20, + 0x07, 0x18, 0x00, 0x00, 0x01, 0xA5 }; + atr_update_csum(real_atr, sizeof(real_atr)); + cardem_request_set_atr(ci, real_atr, sizeof(real_atr)); + } /* select remote (forwarded) SIM */ st_modem_reset_pulse(ci->slot, 300); -- To view, visit https://gerrit.osmocom.org/c/simtrace2/+/16192 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: simtrace2 Gerrit-Branch: master Gerrit-Change-Id: Id8206738635af0dd55836bbbcbfbe7381c375e97 Gerrit-Change-Number: 16192 Gerrit-PatchSet: 1 Gerrit-Owner: laforge <laforge at osmocom.org> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191124/ba1d1ae5/attachment.htm>