laforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/34419?usp=email )
Change subject: APDU parsing support for GlobalPlatform GET RESPONSE ......................................................................
APDU parsing support for GlobalPlatform GET RESPONSE
This patch adds GET RESPONSE support for GlobalPlatform command. Android is using this to get the response data on SGP.22 eUICCs. simtrace2-cardem-pcsc is failing otherwise e.g. on an xingtera camera with Android.
Change-Id: I5ae3165f172f9c949550ee4a07fe70e91f1a037c --- M src/sim/class_tables.c 1 file changed, 14 insertions(+), 0 deletions(-)
Approvals: laforge: Looks good to me, approved fixeria: Looks good to me, but someone else must approve Jenkins Builder: Verified
diff --git a/src/sim/class_tables.c b/src/sim/class_tables.c index 9c51387..724c077 100644 --- a/src/sim/class_tables.c +++ b/src/sim/class_tables.c @@ -222,6 +222,7 @@ [0xE8] = 4, /* LOAD */ [0xD8] = 4, /* PUT KEY */ [0xF0] = 3, /* SET STATUS */ + [0xC0] = 2, /* GET RESPONSE */ };
static const struct osim_cla_ins_case uicc_ins_case[] = {