Package: android.hardware.radio@1.0

IRadioResponse

interface IRadioResponse

Interface declaring response functions to solicited radio requests.Response functions defined in this interface are as per following convention :<xyz>Response is response to IRadio .<xyz >

Methods

getIccCardStatusResponse

oneway getIccCardStatusResponse (RadioResponseInfo info, CardStatus cardStatus)

Valid errors returned:RadioError:NONE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
cardStatus
ICC card status as defined by CardStatus in types.hal

supplyIccPinForAppResponse

oneway supplyIccPinForAppResponse (RadioResponseInfo info, int32_t remainingRetries)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE(radio resetting)RadioError:PASSWORD_INCORRECT

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
remainingRetries
Number of retries remaining, must be equal to -1 if unknown.

supplyIccPukForAppResponse

oneway supplyIccPukForAppResponse (RadioResponseInfo info, int32_t remainingRetries)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE(radio resetting)RadioError:PASSWORD_INCORRECT(PUK is invalid )

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
remainingRetries
Number of retries remaining, must be equal to -1 if unknown.

supplyIccPin2ForAppResponse

oneway supplyIccPin2ForAppResponse (RadioResponseInfo info, int32_t remainingRetries)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE(radio resetting)RadioError:PASSWORD_INCORRECT

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
remainingRetries
Number of retries remaining, must be equal to -1 if unknown.

supplyIccPuk2ForAppResponse

oneway supplyIccPuk2ForAppResponse (RadioResponseInfo info, int32_t remainingRetries)
Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
remainingRetries
Number of retries remaining, must be equal to -1 if unknown.Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE(radio resetting)RadioError:PASSWORD_INCORRECT(PUK is invalid )

changeIccPinForAppResponse

oneway changeIccPinForAppResponse (RadioResponseInfo info, int32_t remainingRetries)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE(radio resetting)RadioError:PASSWORD_INCORRECT

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
remainingRetries
Number of retries remaining, must be equal to -1 if unknown.

changeIccPin2ForAppResponse

oneway changeIccPin2ForAppResponse (RadioResponseInfo info, int32_t remainingRetries)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE(radio resetting)RadioError:PASSWORD_INCORRECT(old PIN2 is invalid )

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
remainingRetries
Number of retries remaining, must be equal to -1 if unknown.

supplyNetworkDepersonalizationResponse

oneway supplyNetworkDepersonalizationResponse (RadioResponseInfo info, int32_t remainingRetries)

Valid errors returned:RadioError:NONE RadioError:PASSWORD_INCORRECT(code is invalid)RadioError:NO_MEMORY RadioError:INVALID_SIM_STATE RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:MODEM_ERR RadioError:INVALID_ARGUMENTS

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
remainingRetries
Number of retries remaining, must be equal to -1 if unknown.

getCurrentCallsResponse

oneway getCurrentCallsResponse (RadioResponseInfo info, vec<Call> calls)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE(radio resetting)RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:INVALID_ARGUMENTS RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
calls
Current call list

dialResponse

oneway dialResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE(radio resetting)RadioError:DIAL_MODIFIED_TO_USSD RadioError:DIAL_MODIFIED_TO_SS RadioError:DIAL_MODIFIED_TO_DIAL RadioError:INVALID_ARGUMENTS RadioError:NO_MEMORY RadioError:INVALID_STATE RadioError:NO_RESOURCES RadioError:INTERNAL_ERR RadioError:FDN_CHECK_FAILURE RadioError:MODEM_ERR RadioError:NO_SUBSCRIPTION RadioError:NO_NETWORK_FOUND RadioError:INVALID_CALL_ID RadioError:DEVICE_IN_USE RadioError:MODE_NOT_SUPPORTED RadioError:ABORTED RadioError:SYSTEM_ERR RadioError:REQUEST_NOT_SUPPORTED RadioError:INVALID_MODEM_STATE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

getIMSIForAppResponse

oneway getIMSIForAppResponse (RadioResponseInfo info, string imsi)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE(radio resetting )

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
imsi
String containing the IMSI

hangupConnectionResponse

oneway hangupConnectionResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE(radio resetting)RadioError:INVALID_ARGUMENTS RadioError:NO_MEMORY RadioError:INVALID_STATE RadioError:MODEM_ERR RadioError:INTERNAL_ERR RadioError:INVALID_CALL_ID

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

hangupWaitingOrBackgroundResponse

oneway hangupWaitingOrBackgroundResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE(radio resetting)RadioError:INVALID_STATE RadioError:NO_MEMORY RadioError:MODEM_ERR RadioError:INTERNAL_ERR RadioError:INVALID_CALL_ID RadioError:NO_RESOURCES RadioError:OPERATION_NOT_ALLOWED RadioError:INVALID_ARGUMENTS RadioError:SYSTEM_ERR RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

hangupForegroundResumeBackgroundResponse

oneway hangupForegroundResumeBackgroundResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE(radio resetting)RadioError:INVALID_STATE RadioError:NO_MEMORY RadioError:MODEM_ERR RadioError:INTERNAL_ERR RadioError:INVALID_CALL_ID RadioError:NO_RESOURCES RadioError:OPERATION_NOT_ALLOWED RadioError:INVALID_ARGUMENTS RadioError:SYSTEM_ERR RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

switchWaitingOrHoldingAndActiveResponse

oneway switchWaitingOrHoldingAndActiveResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE(radio resetting)RadioError:INVALID_STATE RadioError:NO_MEMORY RadioError:MODEM_ERR RadioError:INTERNAL_ERR RadioError:INVALID_STATE RadioError:INVALID_CALL_ID RadioError:OPERATION_NOT_ALLOWED RadioError:INVALID_ARGUMENTS RadioError:SYSTEM_ERR RadioError:REQUEST_NOT_SUPPORTED RadioError:INVALID_MODEM_STATE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

conferenceResponse

oneway conferenceResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE(radio resetting)RadioError:NO_MEMORY RadioError:MODEM_ERR RadioError:INTERNAL_ERR RadioError:INVALID_STATE RadioError:INVALID_CALL_ID RadioError:OPERATION_NOT_ALLOWED RadioError:INVALID_ARGUMENTS RadioError:SYSTEM_ERR RadioError:REQUEST_NOT_SUPPORTED RadioError:INVALID_MODEM_STATE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

rejectCallResponse

oneway rejectCallResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE(radio resetting)RadioError:INVALID_STATE RadioError:NO_RESOURCES RadioError:NO_MEMORY RadioError:MODEM_ERR RadioError:INTERNAL_ERR RadioError:INVALID_CALL_ID RadioError:OPERATION_NOT_ALLOWED RadioError:INVALID_ARGUMENTS RadioError:SYSTEM_ERR RadioError:REQUEST_NOT_SUPPORTED RadioError:INVALID_MODEM_STATE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

getLastCallFailCauseResponse

oneway getLastCallFailCauseResponse (RadioResponseInfo info, LastCallFailCauseInfo failCauseinfo)

The vendor cause code must be used for debugging purpose only.The implementation must return one of the values of LastCallFailCause as mentioned below

GSM failure reasons codes for the cause codes defined in TS 24.008 Annex H where possible.CDMA failure reasons codes for the possible call failure scenarios described in the "CDMA IS-2000 Release A(C.S0005-A v6.0)" standard.Any of the following reason codes if the call is failed or dropped due to reason mentioned with in the braces.LastCallFailCause:RADIO_OFF(Radio is OFF)LastCallFailCause:OUT_OF_SERVICE(No cell coverage)LastCallFailCause:NO_VALID_SIM(No valid SIM)LastCallFailCause:RADIO_INTERNAL_ERROR(Modem hit unexpected error scenario)LastCallFailCause:NETWORK_RESP_TIMEOUT(No response from network)LastCallFailCause:NETWORK_REJECT(Explicit network reject)LastCallFailCause:RADIO_ACCESS_FAILURE(RRC connection failure.Eg.RACH)LastCallFailCause:RADIO_LINK_FAILURE(Radio Link Failure)LastCallFailCause:RADIO_LINK_LOST(Radio link lost due to poor coverage)LastCallFailCause:RADIO_UPLINK_FAILURE(Radio uplink failure)LastCallFailCause:RADIO_SETUP_FAILURE(RRC connection setup failure)LastCallFailCause:RADIO_RELEASE_NORMAL(RRC connection release, normal)LastCallFailCause:RADIO_RELEASE_ABNORMAL(RRC connection release, abnormal)LastCallFailCause:ACCESS_CLASS_BLOCKED(Access class barring)LastCallFailCause:NETWORK_DETACH(Explicit network detach)OEM causes(LastCallFailCause:OEM_CAUSE_XX)must be used for debug purpose only

If the implementation does not have access to the exact cause codes, then it must return one of the values listed in LastCallFailCause, as the UI layer needs to distinguish these cases for tone generation or error notification.

Valid errors returned:RadioError:NONE RadioError:NO_MEMORY RadioError:RADIO_NOT_AVAILABLE RadioError:SYSTEM_ERR RadioError:INVALID_ARGUMENTS RadioError:INTERNAL_ERR RadioError:MODEM_ERR RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
failCauseinfo
Contains LastCallFailCause and vendor cause code.

getSignalStrengthResponse

oneway getSignalStrengthResponse (RadioResponseInfo info, SignalStrength sigStrength)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:MODEM_ERR RadioError:NOT_PROVISIONED RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
sigStrength
Current signal strength

getVoiceRegistrationStateResponse

oneway getVoiceRegistrationStateResponse (RadioResponseInfo info, VoiceRegStateResult voiceRegResponse)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
voiceRegResponse
Current Voice registration response as defined by VoiceRegStateResult in types.hal

getDataRegistrationStateResponse

oneway getDataRegistrationStateResponse (RadioResponseInfo info, DataRegStateResult dataRegResponse)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:MODEM_ERR RadioError:NOT_PROVISIONED RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
dataRegResponse
Current Data registration response as defined by DataRegStateResult in types.hal

getOperatorResponse

oneway getOperatorResponse (RadioResponseInfo info, string longName, string shortName, string numeric)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
longName
is long alpha ONS or EONS or empty string if unregistered
shortName
is short alpha ONS or EONS or empty string if unregistered
numeric
is 5 or 6 digit numeric code(MCC + MNC)or empty string if unregistered

setRadioPowerResponse

oneway setRadioPowerResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:OPERATION_NOT_ALLOWED RadioError:INVALID_STATE RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:INVALID_ARGUMENTS RadioError:MODEM_ERR RadioError:DEVICE_IN_USE RadioError:OPERATION_NOT_ALLOWED RadioError:INVALID_MODEM_STATE RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

sendDtmfResponse

oneway sendDtmfResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_ARGUMENTS RadioError:NO_RESOURCES RadioError:NO_MEMORY RadioError:MODEM_ERR RadioError:INVALID_CALL_ID RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:REQUEST_NOT_SUPPORTED RadioError:INVALID_MODEM_STATE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

sendSmsResponse

oneway sendSmsResponse (RadioResponseInfo info, SendSmsResult sms)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:SMS_SEND_FAIL_RETRY RadioError:NETWORK_REJECT RadioError:INVALID_STATE RadioError:INVALID_ARGUMENTS RadioError:NO_MEMORY RadioError:REQUEST_RATE_LIMITED RadioError:INVALID_SMS_FORMAT RadioError:SYSTEM_ERR RadioError:ENCODING_ERR RadioError:INVALID_SMSC_ADDRESS RadioError:MODEM_ERR RadioError:NETWORK_ERR RadioError:MODE_NOT_SUPPORTED RadioError:INTERNAL_ERR RadioError:REQUEST_NOT_SUPPORTED RadioError:INVALID_MODEM_STATE RadioError:NETWORK_NOT_READY RadioError:OPERATION_NOT_ALLOWED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
sms
Response to sms sent as defined by SendSmsResult in types.hal

sendSMSExpectMoreResponse

oneway sendSMSExpectMoreResponse (RadioResponseInfo info, SendSmsResult sms)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:SMS_SEND_FAIL_RETRY RadioError:NETWORK_REJECT RadioError:INVALID_STATE RadioError:INVALID_ARGUMENTS RadioError:NO_MEMORY RadioError:REQUEST_RATE_LIMITED RadioError:INVALID_SMS_FORMAT RadioError:SYSTEM_ERR RadioError:FDN_CHECK_FAILURE RadioError:ENCODING_ERR RadioError:INVALID_SMSC_ADDRESS RadioError:MODEM_ERR RadioError:NETWORK_ERR RadioError:MODE_NOT_SUPPORTED RadioError:INTERNAL_ERR RadioError:REQUEST_NOT_SUPPORTED RadioError:INVALID_MODEM_STATE RadioError:NETWORK_NOT_READY RadioError:OPERATION_NOT_ALLOWED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
sms
Response to sms sent as defined by SendSmsResult in types.hal

setupDataCallResponse

oneway setupDataCallResponse (RadioResponseInfo info, SetupDataCallResult dcResponse)

Valid errors returned:RadioError:NONE must be returned on both success and failure of setup with the DataCallResponse.status containing the actual status For all other errors the DataCallResponse is ignored.RadioError:RADIO_NOT_AVAILABLE RadioError:OP_NOT_ALLOWED_BEFORE_REG_TO_NW RadioError:OP_NOT_ALLOWED_DURING_VOICE_CALL RadioError:REQUEST_NOT_SUPPORTED RadioError:INVALID_ARGUMENTS RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
dcResponse
SetupDataCallResult defined in types.hal

iccIOForAppResponse

oneway iccIOForAppResponse (RadioResponseInfo info, IccIoResult iccIo)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:SIM_PIN2 RadioError:SIM_PUK2

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
iccIo
ICC io operation response as defined by IccIoResult in types.hal

sendUssdResponse

oneway sendUssdResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:FDN_CHECK_FAILURE RadioError:USSD_MODIFIED_TO_DIAL RadioError:USSD_MODIFIED_TO_SS RadioError:USSD_MODIFIED_TO_USSD RadioError:SIM_BUSY RadioError:OPERATION_NOT_ALLOWED RadioError:INVALID_ARGUMENTS RadioError:NO_MEMORY RadioError:MODEM_ERR RadioError:INTERNAL_ERR RadioError:ABORTED RadioError:SYSTEM_ERR RadioError:INVALID_STATE RadioError:REQUEST_NOT_SUPPORTED RadioError:INVALID_MODEM_STATE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

cancelPendingUssdResponse

oneway cancelPendingUssdResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:SIM_BUSY RadioError:OPERATION_NOT_ALLOWED RadioError:MODEM_ERR RadioError:INTERNAL_ERR RadioError:NO_MEMORY RadioError:INVALID_STATE RadioError:INVALID_ARGUMENTS RadioError:SYSTEM_ERR RadioError:REQUEST_NOT_SUPPORTED RadioError:INVALID_MODEM_STATE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

getClirResponse

oneway getClirResponse (RadioResponseInfo info, int32_t n, int32_t m)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:SS_MODIFIED_TO_DIAL RadioError:SS_MODIFIED_TO_USSD RadioError:SS_MODIFIED_TO_SS RadioError:NO_MEMORY RadioError:MODEM_ERR RadioError:INTERNAL_ERR RadioError:FDN_CHECK_FAILURE RadioError:SYSTEM_ERR RadioError:REQUEST_NOT_SUPPORTED RadioError:INVALID_ARGUMENTS

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
n
is "n" parameter from TS 27.007 7.7
m
is "m" parameter from TS 27.007 7.7

setClirResponse

oneway setClirResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:INVALID_ARGUMENTS RadioError:RADIO_NOT_AVAILABLE RadioError:SS_MODIFIED_TO_DIAL RadioError:SS_MODIFIED_TO_USSD RadioError:SS_MODIFIED_TO_SS RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

getCallForwardStatusResponse

oneway getCallForwardStatusResponse (RadioResponseInfo info, vec<CallForwardInfo> callForwardInfos)

For example, if data is forwarded to +18005551212 and voice is forwarded to +18005559999, then two separate CallForwardInfo's must be returned

If, however, both data and voice are forwarded to +18005551212, then a single CallForwardInfo must be returned with the service class set to "data + voice = 3")

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:SS_MODIFIED_TO_DIAL RadioError:SS_MODIFIED_TO_USSD RadioError:SS_MODIFIED_TO_SS RadioError:INVALID_ARGUMENTS RadioError:NO_MEMORY RadioError:SYSTEM_ERR RadioError:MODEM_ERR RadioError:INTERNAL_ERR RadioError:FDN_CHECK_FAILURE RadioError:REQUEST_NOT_SUPPORTED RadioError:SYSTEM_ERR

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
callForwardInfos
points to a vector of CallForwardInfo, one for each distinct registered phone number.

setCallForwardResponse

oneway setCallForwardResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:SS_MODIFIED_TO_DIAL RadioError:SS_MODIFIED_TO_USSD RadioError:SS_MODIFIED_TO_SS RadioError:INVALID_ARGUMENTS RadioError:NO_MEMORY RadioError:SYSTEM_ERR RadioError:MODEM_ERR RadioError:INTERNAL_ERR RadioError:INVALID_STATE RadioError:FDN_CHECK_FAILURE RadioError:REQUEST_NOT_SUPPORTED RadioError:INVALID_MODEM_STATE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

getCallWaitingResponse

oneway getCallWaitingResponse (RadioResponseInfo info, bool enable, int32_t serviceClass)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:SS_MODIFIED_TO_DIAL RadioError:SS_MODIFIED_TO_USSD RadioError:SS_MODIFIED_TO_SS RadioError:INVALID_ARGUMENTS RadioError:NO_MEMORY RadioError:MODEM_ERR RadioError:INTERNAL_ERR RadioError:FDN_CHECK_FAILURE RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
enable
If current call waiting state is disabled, enable = false else true
serviceClass
If enable, then callWaitingResp[1]must follow, with the TS 27.007 service class bit vector of services for which call waiting is enabled.For example, if callWaitingResp[0]is 1 and callWaitingResp[1]is 3, then call waiting is enabled for data and voice and disabled for everything else.

setCallWaitingResponse

oneway setCallWaitingResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:SS_MODIFIED_TO_DIAL RadioError:SS_MODIFIED_TO_USSD RadioError:SS_MODIFIED_TO_SS RadioError:INVALID_ARGUMENTS RadioError:NO_MEMORY RadioError:MODEM_ERR RadioError:INTERNAL_ERR RadioError:INVALID_STATE RadioError:FDN_CHECK_FAILURE RadioError:SYSTEM_ERR RadioError:REQUEST_NOT_SUPPORTED RadioError:INVALID_MODEM_STATE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

acknowledgeLastIncomingGsmSmsResponse

oneway acknowledgeLastIncomingGsmSmsResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

acceptCallResponse

oneway acceptCallResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_STATE RadioError:NO_MEMORY RadioError:SYSTEM_ERR RadioError:MODEM_ERR RadioError:INTERNAL_ERR RadioError:INVALID_CALL_ID RadioError:INVALID_ARGUMENTS RadioError:SYSTEM_ERR RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

deactivateDataCallResponse

oneway deactivateDataCallResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_CALL_ID RadioError:INVALID_STATE RadioError:INVALID_ARGUMENTS RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

getFacilityLockForAppResponse

oneway getFacilityLockForAppResponse (RadioResponseInfo info, int32_t response)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:SS_MODIFIED_TO_DIAL RadioError:SS_MODIFIED_TO_USSD RadioError:SS_MODIFIED_TO_SS RadioError:INVALID_ARGUMENTS RadioError:NO_MEMORY RadioError:MODEM_ERR RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:FDN_CHECK_FAILURE RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
response
0 is the TS 27.007 service class bit vector of services for which the specified barring facility is active."0" means "disabled for all"

setFacilityLockForAppResponse

oneway setFacilityLockForAppResponse (RadioResponseInfo info, int32_t retry)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:SS_MODIFIED_TO_DIAL RadioError:SS_MODIFIED_TO_USSD RadioError:SS_MODIFIED_TO_SS RadioError:INVALID_ARGUMENTS RadioError:NO_MEMORY RadioError:MODEM_ERR RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:INVALID_STATE RadioError:FDN_CHECK_FAILURE RadioError:REQUEST_NOT_SUPPORTED RadioError:INVALID_MODEM_STATE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
retry
0 is the number of retries remaining, or -1 if unknown

setBarringPasswordResponse

oneway setBarringPasswordResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:SS_MODIFIED_TO_DIAL RadioError:SS_MODIFIED_TO_USSD RadioError:SS_MODIFIED_TO_SS RadioError:INVALID_ARGUMENTS RadioError:NO_MEMORY RadioError:MODEM_ERR RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:FDN_CHECK_FAILURE RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

getNetworkSelectionModeResponse

oneway getNetworkSelectionModeResponse (RadioResponseInfo info, bool manual)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:INVALID_ARGUMENTS RadioError:MODEM_ERR RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
manual
false for automatic selection, true for manual selection

setNetworkSelectionModeAutomaticResponse

oneway setNetworkSelectionModeAutomaticResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:ILLEGAL_SIM_OR_ME RadioError:OPERATION_NOT_ALLOWED RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:INVALID_ARGUMENTS RadioError:MODEM_ERR RadioError:REQUEST_NOT_SUPPORTED

Returns RadioError:ILLEGAL_SIM_OR_ME when the failure is permanent and no retries needed, such as illegal SIM or ME.

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

setNetworkSelectionModeManualResponse

oneway setNetworkSelectionModeManualResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:ILLEGAL_SIM_OR_ME RadioError:OPERATION_NOT_ALLOWED RadioError:INVALID_STATE RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:INVALID_ARGUMENTS RadioError:MODEM_ERR RadioError:REQUEST_NOT_SUPPORTED

Returns RadioError:ILLEGAL_SIM_OR_ME when the failure is permanent and no retries needed, such as illegal SIM or ME.

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

getAvailableNetworksResponse

oneway getAvailableNetworksResponse (RadioResponseInfo info, vec<OperatorInfo> networkInfos)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:OPERATION_NOT_ALLOWED RadioError:ABORTED RadioError:DEVICE_IN_USE RadioError:INTERNAL_ERR RadioError:NO_MEMORY RadioError:MODEM_ERR RadioError:REQUEST_NOT_SUPPORTED RadioError:CANCELLED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
networkInfos
List of network operator information as OperatorInfos defined in types.hal

startDtmfResponse

oneway startDtmfResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_ARGUMENTS RadioError:NO_RESOURCES RadioError:NO_MEMORY RadioError:SYSTEM_ERR RadioError:MODEM_ERR RadioError:INTERNAL_ERR RadioError:INVALID_CALL_ID RadioError:SYSTEM_ERR RadioError:REQUEST_NOT_SUPPORTED RadioError:INVALID_MODEM_STATE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

stopDtmfResponse

oneway stopDtmfResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_ARGUMENTS RadioError:NO_RESOURCES RadioError:NO_MEMORY RadioError:INVALID_ARGUMENTS RadioError:SYSTEM_ERR RadioError:MODEM_ERR RadioError:INTERNAL_ERR RadioError:INVALID_CALL_ID RadioError:REQUEST_NOT_SUPPORTED RadioError:INVALID_MODEM_STATE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

getBasebandVersionResponse

oneway getBasebandVersionResponse (RadioResponseInfo info, string version)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:EMPTY_RECORD RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:MODEM_ERR RadioError:NOT_PROVISIONED RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
version
string containing version string for log reporting

separateConnectionResponse

oneway separateConnectionResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_ARGUMENTS RadioError:INVALID_STATE RadioError:NO_RESOURCES RadioError:NO_MEMORY RadioError:MODEM_ERR RadioError:SYSTEM_ERR RadioError:INTERNAL_ERR RadioError:INVALID_CALL_ID RadioError:OPERATION_NOT_ALLOWED RadioError:REQUEST_NOT_SUPPORTED RadioError:INVALID_MODEM_STATE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

setMuteResponse

oneway setMuteResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_ARGUMENTS RadioError:NO_MEMORY RadioError:REQUEST_RATE_LIMITED RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

getMuteResponse

oneway getMuteResponse (RadioResponseInfo info, bool enable)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:SS_MODIFIED_TO_DIAL RadioError:SS_MODIFIED_TO_USSD RadioError:SS_MODIFIED_TO_SS RadioError:NO_MEMORY RadioError:REQUEST_RATE_LIMITED RadioError:INVALID_ARGUMENTS RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
enable
true for "mute enabled" and false for "mute disabled"

getClipResponse

oneway getClipResponse (RadioResponseInfo info, ClipStatus status)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_ARGUMENTS RadioError:NO_MEMORY RadioError:SYSTEM_ERR RadioError:MODEM_ERR RadioError:INTERNAL_ERR RadioError:FDN_CHECK_FAILURE RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
status
indicates CLIP status

getDataCallListResponse

oneway getDataCallListResponse (RadioResponseInfo info, vec<SetupDataCallResult> dcResponse)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
dcResponse
List of DataCallResult as defined in types.hal

setSuppServiceNotificationsResponse

oneway setSuppServiceNotificationsResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_ARGUMENTS RadioError:SIM_BUSY RadioError:NO_MEMORY RadioError:SYSTEM_ERR RadioError:MODEM_ERR RadioError:INTERNAL_ERR RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

writeSmsToSimResponse

oneway writeSmsToSimResponse (RadioResponseInfo info, int32_t index)

Valid errors returned:RadioError:NONE RadioError:SIM_FULL RadioError:INVALID_ARGUMENTS RadioError:INVALID_SMS_FORMAT RadioError:INTERNAL_ERR RadioError:MODEM_ERR RadioError:ENCODING_ERR RadioError:NO_MEMORY RadioError:NO_RESOURCES RadioError:INVALID_MODEM_STATE RadioError:MODE_NOT_SUPPORTED RadioError:INVALID_SMSC_ADDRESS RadioError:RADIO_NOT_AVAILABLE RadioError:SYSTEM_ERR RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
index
record index where the message is stored

deleteSmsOnSimResponse

oneway deleteSmsOnSimResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:INVALID_ARGUMENTS RadioError:NO_MEMORY RadioError:SYSTEM_ERR RadioError:MODEM_ERR RadioError:NO_SUCH_ENTRY RadioError:INTERNAL_ERR RadioError:RADIO_NOT_AVAILABLE RadioError:REQUEST_NOT_SUPPORTED RadioError:INVALID_MODEM_STATE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

setBandModeResponse

oneway setBandModeResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:OPERATION_NOT_ALLOWED RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:INVALID_ARGUMENTS RadioError:MODEM_ERR RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

getAvailableBandModesResponse

oneway getAvailableBandModesResponse (RadioResponseInfo info, vec<RadioBandMode> bandModes)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_ARGUMENTS RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:MODEM_ERR RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
bandModes
List of RadioBandMode listing supported modes

sendEnvelopeResponse

oneway sendEnvelopeResponse (RadioResponseInfo info, string commandResponse)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:SIM_BUSY RadioError:OPERATION_NOT_ALLOWED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
commandResponse
SAT/USAT response in hexadecimal format string starting with first byte of response

sendTerminalResponseToSimResponse

oneway sendTerminalResponseToSimResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_ARGUMENTS RadioError:OPERATION_NOT_ALLOWED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

handleStkCallSetupRequestFromSimResponse

oneway handleStkCallSetupRequestFromSimResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:MODEM_ERR RadioError:INVALID_ARGUMENTS

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

explicitCallTransferResponse

oneway explicitCallTransferResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_ARGUMENTS RadioError:INVALID_STATE RadioError:NO_RESOURCES RadioError:NO_MEMORY RadioError:SYSTEM_ERR RadioError:MODEM_ERR RadioError:INTERNAL_ERR RadioError:INVALID_CALL_ID RadioError:OPERATION_NOT_ALLOWED RadioError:REQUEST_NOT_SUPPORTED RadioError:INVALID_MODEM_STATE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

setPreferredNetworkTypeResponse

oneway setPreferredNetworkTypeResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:OPERATION_NOT_ALLOWED RadioError:MODE_NOT_SUPPORTED RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:INVALID_ARGUMENTS RadioError:MODEM_ERR RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

getPreferredNetworkTypeResponse

oneway getPreferredNetworkTypeResponse (RadioResponseInfo info, PreferredNetworkType nwType)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:INVALID_ARGUMENTS RadioError:MODEM_ERR RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
nwType
RadioPreferredNetworkType defined in types.hal

getNeighboringCidsResponse

oneway getNeighboringCidsResponse (RadioResponseInfo info, vec<NeighboringCell> cells)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_ARGUMENTS RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:MODEM_ERR RadioError:NO_NETWORK_FOUND RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
cells
Vector of neighboring radio cell

setLocationUpdatesResponse

oneway setLocationUpdatesResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:INVALID_ARGUMENTS RadioError:MODEM_ERR RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

setCdmaSubscriptionSourceResponse

oneway setCdmaSubscriptionSourceResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:SIM_ABSENT RadioError:SUBSCRIPTION_NOT_AVAILABLE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

setCdmaRoamingPreferenceResponse

oneway setCdmaRoamingPreferenceResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:INVALID_ARGUMENTS RadioError:MODEM_ERR RadioError:REQUEST_NOT_SUPPORTED RadioError:OPERATION_NOT_ALLOWED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

getCdmaRoamingPreferenceResponse

oneway getCdmaRoamingPreferenceResponse (RadioResponseInfo info, CdmaRoamingType type)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_ARGUMENTS RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:MODEM_ERR RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
type
CdmaRoamingType defined in types.hal

setTTYModeResponse

oneway setTTYModeResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_ARGUMENTS RadioError:MODEM_ERR RadioError:INTERNAL_ERR RadioError:NO_MEMORY RadioError:SYSTEM_ERR RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

getTTYModeResponse

oneway getTTYModeResponse (RadioResponseInfo info, TtyMode mode)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_ARGUMENTS RadioError:MODEM_ERR RadioError:INTERNAL_ERR RadioError:NO_MEMORY RadioError:SYSTEM_ERR RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
mode
TtyMode

setPreferredVoicePrivacyResponse

oneway setPreferredVoicePrivacyResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_ARGUMENTS RadioError:MODEM_ERR RadioError:INTERNAL_ERR RadioError:NO_MEMORY RadioError:SYSTEM_ERR RadioError:REQUEST_NOT_SUPPORTED RadioError:INVALID_CALL_ID

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

getPreferredVoicePrivacyResponse

oneway getPreferredVoicePrivacyResponse (RadioResponseInfo info, bool enable)

Valid errors:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_ARGUMENTS RadioError:MODEM_ERR RadioError:INTERNAL_ERR RadioError:NO_MEMORY RadioError:SYSTEM_ERR RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
enable
false for Standard Privacy Mode(Public Long Code Mask)true for Enhanced Privacy Mode(Private Long Code Mask )

sendCDMAFeatureCodeResponse

oneway sendCDMAFeatureCodeResponse (RadioResponseInfo info)

Response callback for IRadio.sendCDMAFeatureCode()

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_ARGUMENTS RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:MODEM_ERR RadioError:INVALID_CALL_ID RadioError:INVALID_STATE RadioError:REQUEST_NOT_SUPPORTED RadioError:INVALID_MODEM_STATE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

sendBurstDtmfResponse

oneway sendBurstDtmfResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_ARGUMENTS RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:MODEM_ERR RadioError:INVALID_CALL_ID RadioError:INVALID_STATE RadioError:REQUEST_NOT_SUPPORTED RadioError:MODE_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

sendCdmaSmsResponse

oneway sendCdmaSmsResponse (RadioResponseInfo info, SendSmsResult sms)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_ARGUMENTS RadioError:SMS_SEND_FAIL_RETRY RadioError:NETWORK_REJECT RadioError:INVALID_STATE RadioError:NO_MEMORY RadioError:REQUEST_RATE_LIMITED RadioError:INVALID_SMS_FORMAT RadioError:SYSTEM_ERR RadioError:FDN_CHECK_FAILURE RadioError:MODEM_ERR RadioError:NETWORK_ERR RadioError:ENCODING_ERR RadioError:INVALID_SMSC_ADDRESS RadioError:MODE_NOT_SUPPORTED RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:REQUEST_NOT_SUPPORTED RadioError:OPERATION_NOT_ALLOWED RadioError:ENCODING_ERR

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
sms
Sms result struct as defined by SendSmsResult in types.hal

acknowledgeLastIncomingCdmaSmsResponse

oneway acknowledgeLastIncomingCdmaSmsResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_ARGUMENTS RadioError:NO_SMS_TO_ACK RadioError:INVALID_STATE RadioError:NO_MEMORY RadioError:REQUEST_RATE_LIMITED RadioError:SYSTEM_ERR RadioError:MODEM_ERR RadioError:MODE_NOT_SUPPORTED RadioError:NETWORK_NOT_READY RadioError:INVALID_MODEM_STATE RadioError:INTERNAL_ERR RadioError:REQUEST_NOT_SUPPORTED RadioError:OPERATION_NOT_ALLOWED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

getGsmBroadcastConfigResponse

oneway getGsmBroadcastConfigResponse (RadioResponseInfo info, vec<GsmBroadcastSmsConfigInfo> configs)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_ARGUMENTS RadioError:INVALID_STATE RadioError:NO_MEMORY RadioError:REQUEST_RATE_LIMITED RadioError:SYSTEM_ERR RadioError:MODEM_ERR RadioError:NO_RESOURCES RadioError:INTERNAL_ERR RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
configs
Vector of GSM/WCDMA Cell broadcast configs

setGsmBroadcastConfigResponse

oneway setGsmBroadcastConfigResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_ARGUMENTS RadioError:INVALID_STATE RadioError:NO_MEMORY RadioError:REQUEST_RATE_LIMITED RadioError:SYSTEM_ERR RadioError:MODEM_ERR RadioError:INTERNAL_ERR RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

setGsmBroadcastActivationResponse

oneway setGsmBroadcastActivationResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_ARGUMENTS RadioError:INVALID_STATE RadioError:NO_MEMORY RadioError:REQUEST_RATE_LIMITED RadioError:SYSTEM_ERR RadioError:MODEM_ERR RadioError:INTERNAL_ERR RadioError:REQUEST_NOT_SUPPORTED RadioError:OPERATION_NOT_ALLOWED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

getCdmaBroadcastConfigResponse

oneway getCdmaBroadcastConfigResponse (RadioResponseInfo info, vec<CdmaBroadcastSmsConfigInfo> configs)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_ARGUMENTS RadioError:INVALID_STATE RadioError:NO_MEMORY RadioError:REQUEST_RATE_LIMITED RadioError:SYSTEM_ERR RadioError:MODEM_ERR RadioError:NO_RESOURCES RadioError:INTERNAL_ERR RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
configs
Vector of CDMA Broadcast SMS configs.

setCdmaBroadcastConfigResponse

oneway setCdmaBroadcastConfigResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_ARGUMENTS RadioError:INVALID_STATE RadioError:NO_MEMORY RadioError:REQUEST_RATE_LIMITED RadioError:SYSTEM_ERR RadioError:MODEM_ERR RadioError:INTERNAL_ERR RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

setCdmaBroadcastActivationResponse

oneway setCdmaBroadcastActivationResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_ARGUMENTS RadioError:INVALID_STATE RadioError:NO_MEMORY RadioError:REQUEST_RATE_LIMITED RadioError:SYSTEM_ERR RadioError:MODEM_ERR RadioError:INTERNAL_ERR RadioError:REQUEST_NOT_SUPPORTED RadioError:OPERATION_NOT_ALLOWED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

getCDMASubscriptionResponse

oneway getCDMASubscriptionResponse (RadioResponseInfo info, string mdn, string hSid, string hNid, string min, string prl)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:SUBSCRIPTION_NOT_AVAILABLE RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:INVALID_ARGUMENTS RadioError:MODEM_ERR RadioError:NOT_PROVISIONED RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
mdn
MDN if CDMA subscription is available
hSid
is a comma separated list of H_SID(Home SID)if CDMA subscription is available, in decimal format
hNid
is a comma separated list of H_NID(Home NID)if CDMA subscription is available, in decimal format
min
MIN(10 digits, MIN2+MIN1)if CDMA subscription is available
prl
PRL version if CDMA subscription is available

writeSmsToRuimResponse

oneway writeSmsToRuimResponse (RadioResponseInfo info, uint32_t index)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_ARGUMENTS RadioError:INVALID_SMS_FORMAT RadioError:SIM_FULL RadioError:INTERNAL_ERR RadioError:MODEM_ERR RadioError:ENCODING_ERR RadioError:NO_MEMORY RadioError:NO_RESOURCES RadioError:INVALID_MODEM_STATE RadioError:MODE_NOT_SUPPORTED RadioError:INVALID_SMSC_ADDRESS RadioError:SYSTEM_ERR RadioError:REQUEST_NOT_SUPPORTED RadioError:OPERATION_NOT_ALLOWED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
index
record index where the cmda sms message is stored

deleteSmsOnRuimResponse

oneway deleteSmsOnRuimResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_ARGUMENTS RadioError:NO_MEMORY RadioError:SYSTEM_ERR RadioError:MODEM_ERR RadioError:NO_SUCH_ENTRY RadioError:INTERNAL_ERR RadioError:REQUEST_NOT_SUPPORTED RadioError:INVALID_MODEM_STATE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

getDeviceIdentityResponse

oneway getDeviceIdentityResponse (RadioResponseInfo info, string imei, string imeisv, string esn, string meid)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:INVALID_ARGUMENTS RadioError:MODEM_ERR RadioError:NOT_PROVISIONED

If a empty string value is returned for any of the device id, it means that there was error accessing the device.

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
imei
IMEI if GSM subscription is available
imeisv
IMEISV if GSM subscription is available
esn
ESN if CDMA subscription is available
meid
MEID if CDMA subscription is available

exitEmergencyCallbackModeResponse

oneway exitEmergencyCallbackModeResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:OPERATION_NO_ALLOWED RadioError:INTERNAL_ERR RadioError:NO_MEMORY RadioError:SYSTEM_ERR RadioError:INVALID_ARGUMENTS RadioError:MODEM_ERR RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

getSmscAddressResponse

oneway getSmscAddressResponse (RadioResponseInfo info, string smsc)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_ARGUMENTS RadioError:INTERNAL_ERR RadioError:NO_MEMORY RadioError:SYSTEM_ERR RadioError:REQUEST_RATE_LIMITED RadioError:MODEM_ERR RadioError:INVALID_MODEM_STATE RadioError:NOT_PROVISIONED RadioError:REQUEST_NOT_SUPPORTED RadioError:OPERATION_NOT_ALLOWED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
smsc
Short Message Service Center address on the device

setSmscAddressResponse

oneway setSmscAddressResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_ARGUMENTS RadioError:INVALID_SMS_FORMAT RadioError:NO_MEMORY RadioError:SYSTEM_ERR RadioError:REQUEST_RATE_LIMITED RadioError:MODEM_ERR RadioError:NO_RESOURCES RadioError:INTERNAL_ERR RadioError:REQUEST_NOT_SUPPORTED RadioError:OPERATION_NOT_ALLOWED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

reportSmsMemoryStatusResponse

oneway reportSmsMemoryStatusResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_ARGUMENTS RadioError:NO_MEMORY RadioError:SYSTEM_ERR RadioError:REQUEST_RATE_LIMITED RadioError:MODEM_ERR RadioError:INVALID_STATE RadioError:INTERNAL_ERR RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

reportStkServiceIsRunningResponse

oneway reportStkServiceIsRunningResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

getCdmaSubscriptionSourceResponse

oneway getCdmaSubscriptionSourceResponse (RadioResponseInfo info, CdmaSubscriptionSource source)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:SUBSCRIPTION_NOT_AVAILABLE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
source
CDMA subscription source

requestIsimAuthenticationResponse

oneway requestIsimAuthenticationResponse (RadioResponseInfo info, string response)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
response
response string of the challenge/response algo for ISIM auth in base64 format

acknowledgeIncomingGsmSmsWithPduResponse

oneway acknowledgeIncomingGsmSmsWithPduResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

sendEnvelopeWithStatusResponse

oneway sendEnvelopeWithStatusResponse (RadioResponseInfo info, IccIoResult iccIo)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:SIM_BUSY RadioError:OPERATION_NOT_ALLOWED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
iccIo
IccIoResult as defined in types.hal corresponding to ICC IO response

getVoiceRadioTechnologyResponse

oneway getVoiceRadioTechnologyResponse (RadioResponseInfo info, RadioTechnology rat)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
rat
Current voice RAT

getCellInfoListResponse

oneway getCellInfoListResponse (RadioResponseInfo info, vec<CellInfo> cellInfo)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:MODEM_ERR RadioError:NO_NETWORK_FOUND RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
cellInfo
List of current cell information known to radio

setCellInfoListRateResponse

oneway setCellInfoListRateResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:INVALID_ARGUMENTS

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

setInitialAttachApnResponse

oneway setInitialAttachApnResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:SUBSCRIPTION_NOT_AVAILABLE RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:MODEM_ERR RadioError:INVALID_ARGUMENTS RadioError:NOT_PROVISIONED RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

getImsRegistrationStateResponse

oneway getImsRegistrationStateResponse (RadioResponseInfo info, bool isRegistered, RadioTechnologyFamily ratFamily)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:REQUEST_NOT_SUPPORTED RadioError:MODEM_ERR RadioError:INVALID_MODEM_STATE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
isRegistered
false = not registered, true = registered
ratFamily
RadioTechnologyFamily as defined in types.hal.This value is valid only if isRegistered is true.

sendImsSmsResponse

oneway sendImsSmsResponse (RadioResponseInfo info, SendSmsResult sms)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:SMS_SEND_FAIL_RETRY RadioError:FDN_CHECK_FAILURE RadioError:NETWORK_REJECT RadioError:INVALID_ARGUMENTS RadioError:INVALID_STATE RadioError:NO_MEMORY RadioError:INVALID_SMS_FORMAT RadioError:SYSTEM_ERR RadioError:REQUEST_RATE_LIMITED RadioError:MODEM_ERR RadioError:NETWORK_ERR RadioError:ENCODING_ERR RadioError:MODE_NOT_SUPPORTED RadioError:INTERNAL_ERR RadioError:REQUEST_NOT_SUPPORTED RadioError:NETWORK_NOT_READY

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
sms
Response to sms sent as defined by SendSmsResult in types.hal

iccTransmitApduBasicChannelResponse

oneway iccTransmitApduBasicChannelResponse (RadioResponseInfo info, IccIoResult result)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
result
IccIoResult as defined in types.hal

iccOpenLogicalChannelResponse

oneway iccOpenLogicalChannelResponse (RadioResponseInfo info, int32_t channelId, vec<int8_t> selectResponse)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:MISSING_RESOURCE RadioError:NO_SUCH_ELEMENT

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
channelId
session id of the logical channel.
selectResponse
Contains the select response for the open channel command with one byte per integer

iccCloseLogicalChannelResponse

oneway iccCloseLogicalChannelResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

iccTransmitApduLogicalChannelResponse

oneway iccTransmitApduLogicalChannelResponse (RadioResponseInfo info, IccIoResult result)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
result
IccIoResult as defined in types.hal

nvReadItemResponse

oneway nvReadItemResponse (RadioResponseInfo info, string result)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
result
string containing the contents of the NV item

nvWriteItemResponse

oneway nvWriteItemResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

nvWriteCdmaPrlResponse

oneway nvWriteCdmaPrlResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

nvResetConfigResponse

oneway nvResetConfigResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

setUiccSubscriptionResponse

oneway setUiccSubscriptionResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:SUBSCRIPTION_NOT_SUPPORTED RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:MODEM_ERR RadioError:INVALID_ARGUMENTS RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

setDataAllowedResponse

oneway setDataAllowedResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:MODEM_ERR RadioError:INVALID_ARGUMENTS RadioError:DEVICE_IN_USE RadioError:INVALID_MODEM_STATE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

getHardwareConfigResponse

oneway getHardwareConfigResponse (RadioResponseInfo info, vec<HardwareConfig> config)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
config
Array of HardwareConfig of the radio.

requestIccSimAuthenticationResponse

oneway requestIccSimAuthenticationResponse (RadioResponseInfo info, IccIoResult result)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
result
IccIoResult as defined in types.hal

setDataProfileResponse

oneway setDataProfileResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:SUBSCRIPTION_NOT_AVAILABLE

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

requestShutdownResponse

oneway requestShutdownResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:OPERATION_NOT_ALLOWED RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

getRadioCapabilityResponse

oneway getRadioCapabilityResponse (RadioResponseInfo info, RadioCapability rc)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:OPERATION_NOT_ALLOWED RadioError:INVALID_STATE RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
rc
Radio capability as defined by RadioCapability in types.hal

setRadioCapabilityResponse

oneway setRadioCapabilityResponse (RadioResponseInfo info, RadioCapability rc)

Valid errors returned:RadioError:NONE means a unsol radioCapability() will be sent within 30 seconds.RadioError:RADIO_NOT_AVAILABLE RadioError:OPERATION_NOT_ALLOWED RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:INVALID_ARGUMENTS RadioError:MODEM_ERR RadioError:INVALID_STATE RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
rc
Radio capability as defined by RadioCapability in types.hal used to feedback return status

startLceServiceResponse

oneway startLceServiceResponse (RadioResponseInfo info, LceStatusInfo statusInfo)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:LCE_NOT_SUPPORTED RadioError:INTERNAL_ERR RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
statusInfo
LceStatusInfo indicating LCE status

stopLceServiceResponse

oneway stopLceServiceResponse (RadioResponseInfo info, LceStatusInfo statusInfo)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:LCE_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
statusInfo
LceStatusInfo indicating LCE status

pullLceDataResponse

oneway pullLceDataResponse (RadioResponseInfo info, LceDataInfo lceInfo)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:LCE_NOT_SUPPORTED RadioError:INTERNAL_ERR

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
lceInfo
LceDataInfo indicating LCE data as defined in types.hal

getModemActivityInfoResponse

oneway getModemActivityInfoResponse (RadioResponseInfo info, ActivityStatsInfo activityInfo)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:MODEM_ERR RadioError:NOT_PROVISIONED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
activityInfo
modem activity information

setAllowedCarriersResponse

oneway setAllowedCarriersResponse (RadioResponseInfo info, int32_t numAllowed)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:INVALID_ARGUMENTS RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
numAllowed
number of allowed carriers which have been set correctly.On success, it must match the length of list Carriers->allowedCarriers.if Length of allowed carriers list is 0, numAllowed = 0.

getAllowedCarriersResponse

oneway getAllowedCarriersResponse (RadioResponseInfo info, bool allAllowed, CarrierRestrictions carriers)

Expected modem behavior:Return list of allowed carriers, and if all carriers are allowed.

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error
allAllowed
true only when all carriers are allowed.Ignore "carriers" struct.If false, consider "carriers" struct
carriers
Carrier restriction information.

sendDeviceStateResponse

oneway sendDeviceStateResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:INVALID_ARGUMENTS RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

setIndicationFilterResponse

oneway setIndicationFilterResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:INVALID_ARGUMENTS RadioError:RADIO_NOT_AVAILABLE RadioError:NO_MEMORY RadioError:INTERNAL_ERR RadioError:SYSTEM_ERR RadioError:REQUEST_NOT_SUPPORTED

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

setSimCardPowerResponse

oneway setSimCardPowerResponse (RadioResponseInfo info)

Valid errors returned:RadioError:NONE RadioError:RADIO_NOT_AVAILABLE RadioError:REQUEST_NOT_SUPPORTED RadioError:INVALID_ARGUMENTS

Details
RPC mode
oneway
Parameters
info
Response info struct containing response type, serial no.and error

acknowledgeRequest

oneway acknowledgeRequest (int32_t serial)

Acknowledge the receipt of radio request sent to the vendor.This must be sent only for radio request which take long time to respond.For more details, refer https ://source.android.com/devices/tech/connect/ril.html

Details
RPC mode
oneway
Parameters
serial
Serial no.of the request whose acknowledgement is sent.