From 8b03ab85024389ee0596675226691cf0748efc03 Mon Sep 17 00:00:00 2001 From: Shishir Agrawal Date: Wed, 27 Nov 2013 16:26:20 -0800 Subject: RIL changes for supporting generic SIM communication. Adds the 4 new commands to RIL interface: - RIL_REQUEST_SIM_TRANSMIT_BASIC (AT+CSIM - TS 27.007) - RIL_REQUEST_SIM_OPEN_CHANNEL (AT+CCHO - TS 27.007) - RIL_REQUEST_SIM_CLOSE_CHANNEL (AT+CCHC - TS 27.007) - RIL_REQUEST_SIM_TRANSMIT_CHANNEL (AT+CGLA - TS 27.007) Change-Id: Iee4d950d37a6097493cd945e611c914c40827215 --- telephony/java/com/android/internal/telephony/RILConstants.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'telephony') diff --git a/telephony/java/com/android/internal/telephony/RILConstants.java b/telephony/java/com/android/internal/telephony/RILConstants.java index 821a11c..8e445d9 100644 --- a/telephony/java/com/android/internal/telephony/RILConstants.java +++ b/telephony/java/com/android/internal/telephony/RILConstants.java @@ -55,6 +55,8 @@ public interface RILConstants { int ILLEGAL_SIM_OR_ME = 15; /* network selection failure due to wrong SIM/ME and no retries needed */ + int MISSING_RESOURCE = 16; /* no logical channel available */ + int NO_SUCH_ELEMENT = 17; /* application not found on SIM */ /* NETWORK_MODE_* See ril.h RIL_REQUEST_SET_PREFERRED_NETWORK_TYPE */ int NETWORK_MODE_WCDMA_PREF = 0; /* GSM/WCDMA (WCDMA preferred) */ @@ -265,6 +267,10 @@ cat include/telephony/ril.h | \ int RIL_REQUEST_SET_INITIAL_ATTACH_APN = 111; int RIL_REQUEST_IMS_REGISTRATION_STATE = 112; int RIL_REQUEST_IMS_SEND_SMS = 113; + int RIL_REQUEST_SIM_TRANSMIT_APDU_BASIC = 114; + int RIL_REQUEST_SIM_OPEN_CHANNEL = 115; + int RIL_REQUEST_SIM_CLOSE_CHANNEL = 116; + int RIL_REQUEST_SIM_TRANSMIT_APDU_CHANNEL = 117; int RIL_UNSOL_RESPONSE_BASE = 1000; int RIL_UNSOL_RESPONSE_RADIO_STATE_CHANGED = 1000; int RIL_UNSOL_RESPONSE_CALL_STATE_CHANGED = 1001; -- cgit v1.1