aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKévin Redon <kredon@sysmocom.de>2019-12-02 19:35:45 +0100
committerHarald Welte <laforge@osmocom.org>2019-12-02 19:35:45 +0100
commit24c6fe21ab207b9d0aaaf21063e06816ef65bb13 (patch)
tree322256e847f72ea48942abbadaf883d8749cbc28
parent8cbede70671157c2ae5333b7c379e7bd15f4a9b9 (diff)
simtrace2-remsim: Use simplest ATR
this ATR does not encode any data and uses all defaults. the lower default speed is also better handled by the hardware. handling faster speeds is upcoming. Change-Id: I5a4f2f94bea1a15aedbef5a6f2f49344387dc11d
-rw-r--r--host/src/simtrace2-remsim.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/host/src/simtrace2-remsim.c b/host/src/simtrace2-remsim.c
index 03d11df..d51f081 100644
--- a/host/src/simtrace2-remsim.c
+++ b/host/src/simtrace2-remsim.c
@@ -432,9 +432,7 @@ int main(int argc, char **argv)
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 };
+ uint8_t real_atr[] = { 0x3B, 0x00 }; // the simplest ATR
atr_update_csum(real_atr, sizeof(real_atr));
osmo_st2_cardem_request_set_atr(ci, real_atr, sizeof(real_atr));
}