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
This commit is contained in:
Kévin Redon
2019-12-02 19:35:45 +01:00
committed by Harald Welte
parent 8cbede7067
commit 24c6fe21ab

View File

@@ -432,9 +432,7 @@ int main(int argc, char **argv)
if (!skip_atr) { if (!skip_atr) {
/* set the ATR */ /* set the ATR */
uint8_t real_atr[] = { 0x3B, 0x9F, 0x96, 0x80, 0x1F, 0xC7, 0x80, 0x31, uint8_t real_atr[] = { 0x3B, 0x00 }; // the simplest ATR
0xA0, 0x73, 0xBE, 0x21, 0x13, 0x67, 0x43, 0x20,
0x07, 0x18, 0x00, 0x00, 0x01, 0xA5 };
atr_update_csum(real_atr, sizeof(real_atr)); atr_update_csum(real_atr, sizeof(real_atr));
osmo_st2_cardem_request_set_atr(ci, real_atr, sizeof(real_atr)); osmo_st2_cardem_request_set_atr(ci, real_atr, sizeof(real_atr));
} }