mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-25 09:48:34 +03:00
cardem: use simplest ATR as default ATR
This is the shortest and simplest ATR possible according to the ISO 7816-3 spec. It does not offer any non-default parameters (F, D, WI, ...) Change-Id: I4ff41b5120bcadca652296f9d3691f7606be2bd2
This commit is contained in:
committed by
Harald Welte
parent
24c6fe21ab
commit
503e184157
@@ -1151,8 +1151,8 @@ void tc_etu_wtime_expired(void *handle)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* shortest ATR found in smartcard_list.txt */
|
/* shortest ATR possible (uses default speed and no options) */
|
||||||
static const uint8_t default_atr[] = { 0x3B, 0x02, 0x14, 0x50 };
|
static const uint8_t default_atr[] = { 0x3B, 0x00 };
|
||||||
|
|
||||||
static struct card_handle card_handles[NUM_SLOTS];
|
static struct card_handle card_handles[NUM_SLOTS];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user