diff options
author | Steve Kondik <steve@cyngn.com> | 2015-11-15 02:13:34 +0100 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-11-15 02:13:34 +0100 |
commit | 21b2d36446b30552684868c6e64d2dd703493cae (patch) | |
tree | 9795925ac4d88d5974cf05c2498e5d261d06fa12 /include | |
parent | 69c96ca1d1d2951d342c99b571fdf7550bb0b04a (diff) | |
parent | cdfadb674b8872370157265f981d0bf7afb571f8 (diff) | |
download | android_hardware_ril-21b2d36446b30552684868c6e64d2dd703493cae.tar.gz android_hardware_ril-21b2d36446b30552684868c6e64d2dd703493cae.tar.bz2 android_hardware_ril-21b2d36446b30552684868c6e64d2dd703493cae.zip |
Merge branch 'LA.BF.1.1.3_rb1.3' of git://codeaurora.org/platform/hardware/ril into cm-13.0
Diffstat (limited to 'include')
-rw-r--r-- | include/telephony/ril.h | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/include/telephony/ril.h b/include/telephony/ril.h index bd3d2ed..dae869b 100644 --- a/include/telephony/ril.h +++ b/include/telephony/ril.h @@ -4026,7 +4026,7 @@ typedef struct { * RIL_REQUEST_VOICE_RADIO_TECH * * Query the radio technology type (3GPP/3GPP2) used for voice. Query is valid only - * when radio state is RADIO_STATE_ON + * when radio state is not RADIO_STATE_UNAVAILABLE * * "data" is NULL * "response" is int * @@ -4526,6 +4526,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 + /***********************************************************************/ |