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:
Kévin Redon
2019-05-15 00:23:21 +02:00
committed by Harald Welte
parent 24c6fe21ab
commit 503e184157

View File

@@ -1151,8 +1151,8 @@ void tc_etu_wtime_expired(void *handle)
}
}
/* shortest ATR found in smartcard_list.txt */
static const uint8_t default_atr[] = { 0x3B, 0x02, 0x14, 0x50 };
/* shortest ATR possible (uses default speed and no options) */
static const uint8_t default_atr[] = { 0x3B, 0x00 };
static struct card_handle card_handles[NUM_SLOTS];