k_o_ has uploaded this change for review. ( 
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(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/19/34419/1

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[] = {

--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/34419?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I5ae3165f172f9c949550ee4a07fe70e91f1a037c
Gerrit-Change-Number: 34419
Gerrit-PatchSet: 1
Gerrit-Owner: k_o_ <[email protected]>
Gerrit-MessageType: newchange

Reply via email to