From dbff97e8779011f7a24efe8c7b6f0ba32979e780 Mon Sep 17 00:00:00 2001 From: Preeti Ahuja Date: Thu, 21 Aug 2014 16:26:24 -0700 Subject: SEEK: Add support for getAtr Add support for RIL_REQUEST_SIM_GET_ATR request for enabling getAtr api. CRs-Fixed: 718469 Change-Id: I5fe8f8156b55e7feaa7bb2671cd8451cb8bd2f36 --- include/telephony/ril.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'include/telephony/ril.h') diff --git a/include/telephony/ril.h b/include/telephony/ril.h index 66458a7..ff182cd 100644 --- a/include/telephony/ril.h +++ b/include/telephony/ril.h @@ -4516,6 +4516,26 @@ typedef struct { */ #define RIL_REQUEST_GET_ACTIVITY_INFO 135 +/** + * RIL_REQUEST_SIM_GET_ATR + * + * Get the ATR from SIM Card + * + * Only valid when radio state is "RADIO_STATE_ON" + * + * "data" is const int * + * ((const int *)data)[0] contains the slot index on the SIM from which ATR is requested. + * + * "response" is a const char * containing the ATR, See ETSI 102.221 8.1 and ISO/IEC 7816 3 + * + * Valid errors: + * + * SUCCESS + * RADIO_NOT_AVAILABLE (radio resetting) + * GENERIC_FAILURE + */ +#define RIL_REQUEST_SIM_GET_ATR 136 + /***********************************************************************/ -- cgit v1.2.3