From a2b2df235a78da8661432989d547ca72bd7fc9ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Redon?= Date: Thu, 7 Feb 2019 18:01:15 +0100 Subject: [PATCH] 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 --- host/simtrace2-remsim.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/host/simtrace2-remsim.c b/host/simtrace2-remsim.c index 73a7272c..27cac603 100644 --- a/host/simtrace2-remsim.c +++ b/host/simtrace2-remsim.c @@ -747,9 +747,7 @@ int main(int argc, char **argv) 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 }; + uint8_t real_atr[] = { 0x3B, 0x00 }; // the simplest ATR atr_update_csum(real_atr, sizeof(real_atr)); cardem_request_set_atr(ci, real_atr, sizeof(real_atr));