diff options
author | Preeti Ahuja <preetia@codeaurora.org> | 2014-08-21 16:26:24 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2015-10-06 11:46:09 -0700 |
commit | dbff97e8779011f7a24efe8c7b6f0ba32979e780 (patch) | |
tree | d4c333728408e4c726d223789ae69fd335061fad /include/telephony/ril.h | |
parent | f0b1e1cf25ee16898988a8a8ccf4e32b98933f0e (diff) | |
download | android_hardware_ril-dbff97e8779011f7a24efe8c7b6f0ba32979e780.tar.gz android_hardware_ril-dbff97e8779011f7a24efe8c7b6f0ba32979e780.tar.bz2 android_hardware_ril-dbff97e8779011f7a24efe8c7b6f0ba32979e780.zip |
SEEK: Add support for getAtr
Add support for RIL_REQUEST_SIM_GET_ATR request
for enabling getAtr api.
CRs-Fixed: 718469
Change-Id: I5fe8f8156b55e7feaa7bb2671cd8451cb8bd2f36
Diffstat (limited to 'include/telephony/ril.h')
-rw-r--r-- | include/telephony/ril.h | 20 |
1 files changed, 20 insertions, 0 deletions
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 + /***********************************************************************/ |