/*++ THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. Copyright (c) Microsoft Corporation. All rights reserved. ----------------------------------------------------------------------------- @doc EXTERNAL @module RIL.H - Radio Interface Layer ----------------------------------------------------------------------------- --*/ #ifndef _RIL_H_ #define _RIL_H_ #include #ifdef __cplusplus extern "C" { #endif #define RIL_DRIVER_VERSION 0x00020000 // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Error Class | Each RIL error falls into a general error class bucket // // @comm In RIL, the low order 16 bits are divided into an 8-bit error class and // an 8-bit error value. Use the RILERRORCLASS macro to obtain the error // class from a RIL HRESULT. // // ----------------------------------------------------------------------------- #define RIL_ERRORCLASS_NONE 0x00 // @constdefine Misc error #define RIL_ERRORCLASS_PASSWORD 0x01 // @constdefine Unspecified phone failure #define RIL_ERRORCLASS_SIM 0x02 // @constdefine Problem with the SIM #define RIL_ERRORCLASS_NETWORKACCESS 0x03 // @constdefine Can't access the network #define RIL_ERRORCLASS_NETWORK 0x04 // @constdefine Error in the network #define RIL_ERRORCLASS_MOBILE 0x05 // @constdefine Error in the mobile #define RIL_ERRORCLASS_NETWORKUNSUPPORTED 0x06 // @constdefine Unsupported by the network #define RIL_ERRORCLASS_MOBILEUNSUPPORTED 0x07 // @constdefine Unsupported by the mobile #define RIL_ERRORCLASS_BADPARAM 0x08 // @constdefine An invalid parameter was supplied #define RIL_ERRORCLASS_STORAGE 0x09 // @constdefine Error relating to storage #define RIL_ERRORCLASS_SMSC 0x0A // @constdefine Error relates to the SMSC #define RIL_ERRORCLASS_DESTINATION 0x0B // @constdefine Error in the destination mobile #define RIL_ERRORCLASS_DESTINATIONUNSUPPORTED 0x0C // @constdefine Unsupported by destination mobile #define RIL_ERRORCLASS_RADIOUNAVAILABLE 0x0D // @constdefine The Radio Module is Off or a radio module may not be present #define RIL_ERRORCLASS_GPRS 0x0E // @constdefine GPRS related failures #define MAKE_RILERROR(errclass,code) \ ((unsigned long) (errclass) << 8) | ((unsigned long)(code)) #define RILERRORCLASS(rilerror) \ ((unsigned long) (((rilerror) >> 8) & 0xff)) // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Error | Error codes // // @comm None // // ----------------------------------------------------------------------------- #define FACILITY_RIL 0x100 #define RIL_E_PHONEFAILURE (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_MOBILE,0x01))) // @constdefine Unspecified phone failure #define RIL_E_NOCONNECTION (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_MOBILE,0x02))) // @constdefine RIL has no connection to the phone #define RIL_E_LINKRESERVED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_MOBILE,0x03))) // @constdefine RIL's link to the phone is reserved #define RIL_E_OPNOTALLOWED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_MOBILEUNSUPPORTED,0x04))) // @constdefine Attempted operation isn't allowed #define RIL_E_OPNOTSUPPORTED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_MOBILEUNSUPPORTED,0x05))) // @constdefine Attempted operation isn't supported #define RIL_E_PHSIMPINREQUIRED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_PASSWORD,0x06))) // @constdefine PH-SIM PIN is required to perform this operation #define RIL_E_PHFSIMPINREQUIRED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_PASSWORD,0x07))) // @constdefine PH-FSIM PIN is required to perform this operation #define RIL_E_PHFSIMPUKREQUIRED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_PASSWORD,0x08))) // @constdefine PH-FSIM PUK is required to perform this operation #define RIL_E_SIMNOTINSERTED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_SIM,0x09))) // @constdefine SIM isn't inserted into the phone #define RIL_E_SIMPINREQUIRED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_PASSWORD,0x0a))) // @constdefine SIM PIN is required to perform this operation #define RIL_E_SIMPUKREQUIRED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_PASSWORD,0x0b))) // @constdefine SIM PUK is required to perform this operation #define RIL_E_SIMFAILURE (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_SIM,0x0c))) // @constdefine SIM failure was detected #define RIL_E_SIMBUSY (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_SIM,0x0d))) // @constdefine SIM is busy #define RIL_E_SIMWRONG (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_SIM,0x0e))) // @constdefine Inorrect SIM was inserted #define RIL_E_INCORRECTPASSWORD (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_PASSWORD,0x0f))) // @constdefine Incorrect password was supplied #define RIL_E_SIMPIN2REQUIRED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_PASSWORD,0x10))) // @constdefine SIM PIN2 is required to perform this operation #define RIL_E_SIMPUK2REQUIRED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_PASSWORD,0x11))) // @constdefine SIM PUK2 is required to perform this operation #define RIL_E_MEMORYFULL (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_STORAGE,0x12))) // @constdefine Storage memory is full #define RIL_E_INVALIDINDEX (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_STORAGE,0x13))) // @constdefine Invalid storage index was supplied #define RIL_E_NOTFOUND (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_STORAGE,0x14))) // @constdefine A requested storage entry was not found #define RIL_E_MEMORYFAILURE (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_STORAGE,0x15))) // @constdefine Storage memory failure #define RIL_E_TEXTSTRINGTOOLONG (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_BADPARAM,0x16))) // @constdefine Supplied text string is too long #define RIL_E_INVALIDTEXTSTRING (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_BADPARAM,0x17))) // @constdefine Supplied text string contains invalid characters #define RIL_E_DIALSTRINGTOOLONG (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_BADPARAM,0x18))) // @constdefine Supplied dial string is too long #define RIL_E_INVALIDDIALSTRING (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_BADPARAM,0x19))) // @constdefine Supplied dial string contains invalid characters #define RIL_E_NONETWORKSVC (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_NETWORKACCESS,0x1a))) // @constdefine Network service isn't available #define RIL_E_NETWORKTIMEOUT (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_NETWORK,0x1b))) // @constdefine Network operation timed out #define RIL_E_EMERGENCYONLY (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_NETWORKACCESS,0x1c))) // @constdefine Network can only be used for emergency calls #define RIL_E_NETWKPINREQUIRED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_PASSWORD,0x1d))) // @constdefine Network Personalization PIN is required to perform this operation #define RIL_E_NETWKPUKREQUIRED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_PASSWORD,0x1e))) // @constdefine Network Personalization PUK is required to perform this operation #define RIL_E_SUBSETPINREQUIRED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_PASSWORD,0x1f))) // @constdefine Network Subset Personalization PIN is required to perform this operation #define RIL_E_SUBSETPUKREQUIRED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_PASSWORD,0x20))) // @constdefine Network Subset Personalization PUK is required to perform this operation #define RIL_E_SVCPINREQUIRED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_PASSWORD,0x21))) // @constdefine Service Provider Personalization PIN is required to perform this operation #define RIL_E_SVCPUKREQUIRED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_PASSWORD,0x22))) // @constdefine Service Provider Personalization PUK is required to perform this operation #define RIL_E_CORPPINREQUIRED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_PASSWORD,0x23))) // @constdefine Corporate Personalization PIN is required to perform this operation #define RIL_E_CORPPUKREQUIRED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_PASSWORD,0x24))) // @constdefine Corporate Personalization PUK is required to perform this operation #define RIL_E_TELEMATICIWUNSUPPORTED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_NETWORKUNSUPPORTED,0x25))) // @constdefine Telematic interworking isn't supported #define RIL_E_SMTYPE0UNSUPPORTED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_SMSC,0x26))) // @constdefine Type 0 messages aren't supported #define RIL_E_CANTREPLACEMSG (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_SMSC,0x27))) // @constdefine Existing message cannot be replaced #define RIL_E_PROTOCOLIDERROR (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_SMSC,0x28))) // @constdefine Uspecified error related to the message Protocol ID #define RIL_E_DCSUNSUPPORTED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_SMSC,0x29))) // @constdefine Specified message Data Coding Scheme isn't supported #define RIL_E_MSGCLASSUNSUPPORTED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_SMSC,0x2a))) // @constdefine Specified message class isn't supported #define RIL_E_DCSERROR (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_SMSC,0x2b))) // @constdefine Unspecified error related to the message Data Coding Scheme #define RIL_E_CMDCANTBEACTIONED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_SMSC,0x2c))) // @constdefine Specified message Command cannot be executed #define RIL_E_CMDUNSUPPORTED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_SMSC,0x2d))) // @constdefine Specified message Command isn't supported #define RIL_E_CMDERROR (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_SMSC,0x2e))) // @constdefine Unspecified error related to the message Command #define RIL_E_MSGBODYHEADERERROR (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_SMSC,0x2f))) // @constdefine Unspecified error related to the message Body or Header #define RIL_E_SCBUSY (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_SMSC,0x30))) // @constdefine Message Service Center is busy #define RIL_E_NOSCSUBSCRIPTION (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_SMSC,0x31))) // @constdefine No message Service Center subscription #define RIL_E_SCSYSTEMFAILURE (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_SMSC,0x32))) // @constdefine Message service Center system failure occurred #define RIL_E_INVALIDADDRESS (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_SMSC,0x33))) // @constdefine Specified address is invalid #define RIL_E_DESTINATIONBARRED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_SMSC,0x34))) // @constdefine Message destination is barred #define RIL_E_REJECTEDDUPLICATE (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_SMSC,0x35))) // @constdefine Duplicate message was rejected #define RIL_E_VPFUNSUPPORTED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_SMSC,0x36))) // @constdefine Specified message Validity Period Format isn't supported #define RIL_E_VPUNSUPPORTED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_SMSC,0x37))) // @constdefine Specified message Validity Period isn't supported #define RIL_E_SIMMSGSTORAGEFULL (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_STORAGE,0x38))) // @constdefine Message storage on the SIM is full #define RIL_E_NOSIMMSGSTORAGE (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_SIM,0x39))) // @constdefine SIM isn't capable of storing messages #define RIL_E_SIMTOOLKITBUSY (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_SIM,0x3a))) // @constdefine SIM Application Toolkit is busy #define RIL_E_SIMDOWNLOADERROR (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_SIM,0x3b))) // @constdefine SIM data download error #define RIL_E_MSGSVCRESERVED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_NETWORKUNSUPPORTED,0x3c))) // @constdefine Messaging service is reserved #define RIL_E_INVALIDMSGPARAM (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_BADPARAM,0x3d))) // @constdefine One of the message parameters is invalid #define RIL_E_UNKNOWNSCADDRESS (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_SMSC,0x3e))) // @constdefine Unknown message Service Center address was specified #define RIL_E_UNASSIGNEDNUMBER (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_DESTINATION,0x3f))) // @constdefine Specified message destination address is a currently unassigned phone number #define RIL_E_MSGBARREDBYOPERATOR (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_NETWORKACCESS,0x40))) // @constdefine Message sending was barred by an operator #define RIL_E_MSGCALLBARRED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_NETWORKACCESS,0x41))) // @constdefine Message sending was prevented by outgoing calls barring #define RIL_E_MSGXFERREJECTED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_DESTINATION,0x42))) // @constdefine Sent message has been rejected by the receiving equipment #define RIL_E_DESTINATIONOUTOFSVC (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_DESTINATION,0x43))) // @constdefine Message could not be delivered because destination equipment is out of service #define RIL_E_UNIDENTIFIEDSUBCRIBER (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_NETWORKACCESS,0x44))) // @constdefine Sender's mobile ID isn't registered #define RIL_E_SVCUNSUPPORTED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_NETWORKUNSUPPORTED,0x45))) // @constdefine Requested messaging service isn't supported #define RIL_E_UNKNOWNSUBSCRIBER (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_NETWORKACCESS,0x46))) // @constdefine Sender isn't recognized by the network #define RIL_E_NETWKOUTOFORDER (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_NETWORK,0x47))) // @constdefine Long-term network failure #define RIL_E_NETWKTEMPFAILURE (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_NETWORK,0x48))) // @constdefine Short-term network failure #define RIL_E_CONGESTION (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_NETWORK,0x49))) // @constdefine Operation failed because of the high network traffic #define RIL_E_RESOURCESUNAVAILABLE (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_NONE,0x4a))) // @constdefine Unspecified resources weren't available #define RIL_E_SVCNOTSUBSCRIBED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_NETWORKUNSUPPORTED,0x4b))) // @constdefine Sender isn't subscribed for the requested messaging service #define RIL_E_SVCNOTIMPLEMENTED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_NETWORKUNSUPPORTED,0x4c))) // @constdefine Requested messaging service isn't implemented on the network #define RIL_E_INVALIDMSGREFERENCE (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_BADPARAM,0x4d))) // @constdefine Imvalid message reference value was used #define RIL_E_INVALIDMSG (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_BADPARAM,0x4e))) // @constdefine Message was determined to be invalid for unspecified reasons #define RIL_E_INVALIDMANDATORYINFO (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_BADPARAM,0x4f))) // @constdefine Mandatory message information is invalid or missing #define RIL_E_MSGTYPEUNSUPPORTED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_NETWORKUNSUPPORTED,0x50))) // @constdefine The message type is unsupported #define RIL_E_ICOMPATIBLEMSG (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_NETWORKUNSUPPORTED,0x51))) // @constdefine Sent message isn't compatible with the network #define RIL_E_INFOELEMENTUNSUPPORTED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_NETWORKUNSUPPORTED,0x52))) // @constdefine An information element specified in the message isn't supported #define RIL_E_PROTOCOLERROR (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_NETWORK,0x53))) // @constdefine Unspefied protocol error #define RIL_E_NETWORKERROR (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_NETWORK,0x54))) // @constdefine Unspecified network error #define RIL_E_MESSAGINGERROR (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_NETWORK,0x55))) // @constdefine Unspecified messaging error #define RIL_E_NOTREADY (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_NONE,0x56))) // @constdefine RIL isn't yet ready to perform the requested operation #define RIL_E_TIMEDOUT (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_NONE,0x57))) // @constdefine Operation timed out #define RIL_E_CANCELLED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_NONE,0x58))) // @constdefine Operation was cancelled #define RIL_E_NONOTIFYCALLBACK (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_NONE,0x59))) // @constdefine Requested operation requires an RIL notification callback, which wasn't provided #define RIL_E_OPFMTUNAVAILABLE (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_NETWORKUNSUPPORTED,0x5a))) // @constdefine Operator format isn't available #define RIL_E_NORESPONSETODIAL (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_NETWORKACCESS,0x5b))) // @constdefine Dial operation hasn't received a response for a long time #define RIL_E_SECURITYFAILURE (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_NONE,0x5c))) // @constdefine Security failure #define RIL_E_RADIOFAILEDINIT (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_NONE,0x5d))) // @constdefine Radio failed to initialize correctly #define RIL_E_DRIVERINITFAILED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_RADIOUNAVAILABLE, 0x5e))) // @constdefine There was a problem initializing the radio driver #define RIL_E_RADIONOTPRESENT (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_RADIOUNAVAILABLE, 0x5f))) // @constdefine The Radio is not present #define RIL_E_RADIOOFF (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_RADIOUNAVAILABLE, 0x60))) // @constdefine The Radio is in Off mode #define RIL_E_ILLEGALMS (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_GPRS, 0x61))) // @constdefine Illegal MS #define RIL_E_ILLEGALME (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_GPRS, 0x62))) // @constdefine Illegal ME #define RIL_E_GPRSSERVICENOTALLOWED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_GPRS, 0x63))) // @constdefine GPRS Service not allowed #define RIL_E_PLMNNOTALLOWED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_GPRS, 0x64))) // @constdefine PLMN not allowed #define RIL_E_LOCATIONAREANOTALLOWED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_GPRS, 0x65))) // @constdefine Location area not allowed #define RIL_E_ROAMINGNOTALLOWEDINTHISLOCATIONAREA (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_GPRS, 0x66))) // @constdefine Roaming not allowed in this location area #define RIL_E_SERVICEOPTIONNOTSUPPORTED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_GPRS, 0x67))) // @constdefine Service option not supported #define RIL_E_REQUESTEDSERVICEOPTIONNOTSUBSCRIBED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_GPRS, 0x68))) // @constdefine Requested service option not subscribed #define RIL_E_SERVICEOPTIONTEMPORARILYOUTOFORDER (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_GPRS, 0x69))) // @constdefine Service option temporarily out of order #define RIL_E_PDPAUTHENTICATIONFAILURE (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_GPRS, 0x6a))) // @constdefine PDP authentication failure #define RIL_E_INVALIDMOBILECLASS (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_GPRS, 0x6b))) // @constdefine invalid mobile class #define RIL_E_UNSPECIFIEDGPRSERROR (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_GPRS, 0x6c))) // @constdefine unspecific GPRS error #define RIL_E_RADIOREBOOTED (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RIL, MAKE_RILERROR(RIL_ERRORCLASS_NONE, 0x6d))) // @constdefine the command failed because the radio reset itself unexpectedly // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Notification Class | Notification classes // // @comm None // // ----------------------------------------------------------------------------- #define RIL_NCLASS_FUNCRESULT (0x00000000) // @constdefine API call results #define RIL_NCLASS_CALLCTRL (0x00010000) // @constdefine Call control notifications #define RIL_NCLASS_MESSAGE (0x00020000) // @constdefine Messaging notifications #define RIL_NCLASS_NETWORK (0x00040000) // @constdefine Network-related notifications #define RIL_NCLASS_SUPSERVICE (0x00080000) // @constdefine Supplementary service notifications #define RIL_NCLASS_PHONEBOOK (0x00100000) // @constdefine Phonebook notifications #define RIL_NCLASS_SIMTOOLKIT (0x00200000) // @constdefine SIM Toolkit notifications #define RIL_NCLASS_MISC (0x00400000) // @constdefine Miscellaneous notifications #define RIL_NCLASS_RADIOSTATE (0x00800000) // @constdefine Notifications Pertaining to changes in Radio State #define RIL_NCLASS_NDIS (0x40000000) // @constdefine Nofitifcations that won't be picked up by all. #define RIL_NCLASS_DEVSPECIFIC (0x80000000) // @constdefine Reserved for device specific notifications #define RIL_NCLASS_ALL (0x00ff0000) // @constdefine All notification classes (except DevSpecifc) // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants API Result | API call results (RIL_NCLASS_FUNCRESULT) // // @comm None // // ----------------------------------------------------------------------------- #define RIL_RESULT_OK (0x00000001 | RIL_NCLASS_FUNCRESULT) // @constdefine RIL API call succeded; lpData is NULL #define RIL_RESULT_NOCARRIER (0x00000002 | RIL_NCLASS_FUNCRESULT) // @constdefine RIL API failed because no carrier was detected; lpData is NULL #define RIL_RESULT_ERROR (0x00000003 | RIL_NCLASS_FUNCRESULT) // @constdefine RIL API failed; lpData points to RIL_E_* constant #define RIL_RESULT_NODIALTONE (0x00000004 | RIL_NCLASS_FUNCRESULT) // @constdefine RIL API failed because no dialtone was detected; lpData is NULL #define RIL_RESULT_BUSY (0x00000005 | RIL_NCLASS_FUNCRESULT) // @constdefine RIL API failed because the line was busy; lpData is NULL #define RIL_RESULT_NOANSWER (0x00000006 | RIL_NCLASS_FUNCRESULT) // @constdefine RIL API failed because of the lack of answer; lpData is NULL #define RIL_RESULT_CALLABORTED (0x00000007 | RIL_NCLASS_FUNCRESULT) // @constdefine RIL API failed because it was cancelled prior to completion; lpData is NULL #define RIL_RESULT_CALLDROPPED (0x00000008 | RIL_NCLASS_FUNCRESULT) // @constdefine RIL API failed because the network dropped the call; lpData is NULL // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Notification Call Control | Call control notifications (RIL_NCLASS_CALLCTRL) // // @comm None // // ----------------------------------------------------------------------------- #define RIL_NOTIFY_RING (0x00000001 | RIL_NCLASS_CALLCTRL) // @constdefine Incoming call; lpData points to RILRINGINFO #define RIL_NOTIFY_CONNECT (0x00000002 | RIL_NCLASS_CALLCTRL) // @constdefine Data/voice connection has been established; lpData points to RILCONNECTINFO #define RIL_NOTIFY_DISCONNECT (0x00000003 | RIL_NCLASS_CALLCTRL) // @constdefine Data/voice connection has been terminated; lpData points to RIL_DISCINIT_* constant #define RIL_NOTIFY_DATASVCNEGOTIATED (0x00000004 | RIL_NCLASS_CALLCTRL) // @constdefine Data connection service has been negotiated; lpData points to RILSERVICEINFO #define RIL_NOTIFY_CALLSTATECHANGED (0x00000005 | RIL_NCLASS_CALLCTRL) // @constdefine RIL has performed an operation that may have changed state of existing calls; lpData is NULL #define RIL_NOTIFY_EMERGENCYMODEENTERED (0x00000006 | RIL_NCLASS_CALLCTRL) // @constdefine RIL has enetered emergency mode; lpData is NULL #define RIL_NOTIFY_EMERGENCYMODEEXITED (0x00000007 | RIL_NCLASS_CALLCTRL) // @constdefine RIL has exited emergency mode; lpData is NULL #define RIL_NOTIFY_EMERGENCYHANGUP (0x00000008 | RIL_NCLASS_CALLCTRL) // @constdefine Existsing calls (if any) were hung up in RIL emergency mode; lpData is NULL #define RIL_NOTIFY_HSCSDPARAMSNEGOTIATED (0x00000009 | RIL_NCLASS_CALLCTRL) // @constdefine HSCSD parameters for a call has been negotiated; lpData points to RILCALLHSCSDINFO #define RIL_NOTIFY_DIAL (0x0000000A | RIL_NCLASS_CALLCTRL) // @constdefine Outgoing call; lpData points to RILDIALINFO #define RIL_NOTIFY_CALLPROGRESSINFO (0x0000000B | RIL_NCLASS_CALLCTRL) // @constdefine CPI notification; lpData points to RILCALLINFO #define RIL_NOTIFY_CURRENTLINECHANGED (0x0000000C | RIL_NCLASS_CALLCTRL) // @constdefine Current line has changed notification; lpData points to DWORD with new current address id #define RIL_NOTIFY_GPRS_DISCONNECT (0x0000000D | RIL_NCLASS_CALLCTRL) // @constdefine GPRS connection has been terminated; lpData points to RILGPRSCONTEXTACTIVATED sturct // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Notification Messaging | Messaging notifications (RIL_MCLASS_MESSAGE) // // @comm None // // ----------------------------------------------------------------------------- #define RIL_NOTIFY_MESSAGE (0x00000001 | RIL_NCLASS_MESSAGE) // @constdefine Incoming message; lpData points to RILMESSAGE #define RIL_NOTIFY_BCMESSAGE (0x00000002 | RIL_NCLASS_MESSAGE) // @constdefine Incoming broadcast message; lpData points to RILMESSAGE #define RIL_NOTIFY_STATUSMESSAGE (0x00000003 | RIL_NCLASS_MESSAGE) // @constdefine Incoming status-report message; lpData points to RILMESSAGE #define RIL_NOTIFY_MSGSTORED (0x00000004 | RIL_NCLASS_MESSAGE) // @constdefine A message has been added to storage; lpData points to the storage index assigned to the new message #define RIL_NOTIFY_MSGDELETED (0x00000005 | RIL_NCLASS_MESSAGE) // @constdefine A message has been deleted from storage; lpData points to the storage index occupied by the deleted message #define RIL_NOTIFY_MSGSTORAGECHANGED (0x00000006 | RIL_NCLASS_MESSAGE) // @constdefine One of the message storage locations has been changed; lpData points to RILMSGSTORAGEINFO #define RIL_NOTIFY_MESSAGE_IN_SIM (0x00000007 | RIL_NCLASS_MESSAGE) // @constdefine Incoming message stored to SIM; lpData points to the storage RILMESSAGE_IN_SIM #define RIL_NOTIFY_BCMESSAGE_IN_SIM (0x00000008 | RIL_NCLASS_MESSAGE) // @constdefine Incoming broadcast message stored to SIM; lpData points to RILMESSAGE_IN_SIM #define RIL_NOTIFY_STATUSMESSAGE_IN_SIM (0x00000009 | RIL_NCLASS_MESSAGE) // @constdefine Incoming status-report message stored to SIM; lpData points to RILMESSAGE_IN_SIM // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Notification Network | Network-related notifications (RIL_NCLASS_NETWORK) // // @comm None // // ----------------------------------------------------------------------------- #define RIL_NOTIFY_REGSTATUSCHANGED (0x00000001 | RIL_NCLASS_NETWORK) // @constdefine Network registration status has changed; lpData points to the new status (RIL_REGSTAT_* constant) #define RIL_NOTIFY_CALLMETER (0x00000002 | RIL_NCLASS_NETWORK) // @constdefine Call meter has changed; lpData points to a DWORD containing new current call meter value #define RIL_NOTIFY_CALLMETERMAXREACHED (0x00000003 | RIL_NCLASS_NETWORK) // @constdefine Call meter maximum has been reached; lpData is NULL #define RIL_NOTIFY_GPRSREGSTATUSCHANGED (0x00000004 | RIL_NCLASS_NETWORK) // @constdefine Network registration status has changed; lpData points to the new status (RIL_REGSTAT_* constant) #define RIL_NOTIFY_SYSTEMCHANGED (0x00000005 | RIL_NCLASS_NETWORK) // @constdefine This indicates that the type of coverage which is available has changed. Typically one would expect IS-95A or 1xRTT, however CDMA does allow overlay systems; lpData is of type RIL_SYSTEMTYPE_ flags #define RIL_NOTIFY_GPRSCONNECTIONSTATUS (0x00000006 | RIL_NCLASS_NETWORK) // @constdefine This indicates the pdp context state has changed. lpData points to RILGPRSCONTEXTACTIVATED #define RIL_NOTIFY_SYSTEMCAPSCHANGED (0x00000007 | RIL_NCLASS_NETWORK) // @constdefine This indicates the system capability has changed. lpData points to the new system capability (RIL_SYSTEMCAPS_* constant) // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Notification Supplementary Service | Supplementary service notifications (RIL_NCLASS_SUPSERVICE) // // @comm None // // ----------------------------------------------------------------------------- #define RIL_NOTIFY_CALLERID (0x00000001 | RIL_NCLASS_SUPSERVICE) // @constdefine Incoming call CallerID information; lpData points to RILREMOTEPARTYINFO #define RIL_NOTIFY_DIALEDID (0x00000002 | RIL_NCLASS_SUPSERVICE) // @constdefine Initiated call DialedID information; lpData points to RILREMOTEPARTYINFO #define RIL_NOTIFY_CALLWAITING (0x00000003 | RIL_NCLASS_SUPSERVICE) // @constdefine Call Waiting information; lpData points to RILCALLWAITINGINFO #define RIL_NOTIFY_SUPSERVICEDATA (0x00000004 | RIL_NCLASS_SUPSERVICE) // @constdefine Ustructured supplementary service data; lpData points to RILSUPSERVICEDATA #define RIL_NOTIFY_INTERMEDIATESS (0x00000005 | RIL_NCLASS_SUPSERVICE) // @constdefine Ustructured supplementary service data; lpData points to RILINTERMEDIATESSINFO #define RIL_NOTIFY_UNSOLICITEDSS (0x00000006 | RIL_NCLASS_SUPSERVICE) // @constdefine Ustructured supplementary service data; lpData points to RILUNSOLICITEDSSINFO // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Notification Phonebook | Phonebook notifications (RIL_NCLASS_PHONEBOOK) // // @comm None // // ----------------------------------------------------------------------------- #define RIL_NOTIFY_PHONEBOOKENTRYSTORED (0x00000001 | RIL_NCLASS_PHONEBOOK) // @constdefine A phonebook entry has been added to storage; lpData points to the storage // index assigned to the new entry (ifdwIndex is RIL_PBINDEX_FIRSTAVAILABLE, the new entry was stored in the first available location) #define RIL_NOTIFY_PHONEBOOKENTRYDELETED (0x00000002 | RIL_NCLASS_PHONEBOOK) // @constdefine A phonebook entry has been deleted from storage; lpData points to the storage index occupied by the deleted entry #define RIL_NOTIFY_PHONEBOOKSTORAGECHANGED (0x00000003 | RIL_NCLASS_PHONEBOOK) // @constdefine Phonebook storage location has been changed; lpData points to RIL_PBLOC_* constant // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Notification Toolkit | SIM Toolkit notifications (RIL_NCLASS_SIMTOOLKIT) // // @comm None // // ----------------------------------------------------------------------------- #define RIL_NOTIFY_SIMTOOLKITCMD (0x00000001 | RIL_NCLASS_SIMTOOLKIT) // @constdefine A SIM Toolkit command was not handled by the radio; lpData points to array of bytes containing the command #define RIL_NOTIFY_SIMTOOLKITCALLSETUP (0x00000002 | RIL_NCLASS_SIMTOOLKIT) // @constdefine SIM Toolkit is trying to set up a call and call conditions were successfully checked by the radio; // lpData points to a DWORD containing the redial timeout for the call (in milliseconds) #define RIL_NOTIFY_SIMTOOLKITEVENT (0x00000003 | RIL_NCLASS_SIMTOOLKIT) // @constdefine A SIM Toolkit command was handled by the radio or the radio sent a SIm Toolkit command response to the SIM; // lpData points to array of bytes containing the command or response sent #define RIL_NOTIFY_SIMTOOLKITSESSIONEND (0x00000004 | RIL_NCLASS_SIMTOOLKIT) // @constdefine A SIM Toolkit command session is ending // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Notification Radio State Change | Radio State Change notifications (RIL_NCLASS_RADIOSTATE) // // @comm None // // ----------------------------------------------------------------------------- #define RIL_NOTIFY_RADIOEQUIPMENTSTATECHANGED (0x00000001 | RIL_NCLASS_RADIOSTATE) // @constdefine Carries a STRUCT (RILEQUIPMENTSTATE) stating The Radio equiptmentstate has changed, also notifies a driver defined Radio ON or OFF state #define RIL_NOTIFY_RADIOPRESENCECHANGED (0x00000002 | RIL_NCLASS_RADIOSTATE) // @constdefine Carries a dword (RIL_RADIOPRESENCE_*) stating that a Radio Module/Driver has been changed (removed, inserted, etc) #define RIL_NOTIFY_RADIORESET (0x00000003 | RIL_NCLASS_RADIOSTATE) // @constdefine The driver has detected that the radio reset itself. lpData points to NULL // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Notification Misc | Miscellaneous notifications (RIL_NCLASS_MISC) // // @comm None // // ----------------------------------------------------------------------------- #define RIL_NOTIFY_SIMNOTACCESSIBLE (0x00000001 | RIL_NCLASS_MISC) // @constdefine SIM card has been removed or has failed to respond; lpData is NULL #define RIL_NOTIFY_DTMFSIGNAL (0x00000002 | RIL_NCLASS_MISC) // @constdefine A DTMF signal has been detected; lpData points to char #define RIL_NOTIFY_GPRSCLASS_NETWORKCHANGED (0x00000003 | RIL_NCLASS_MISC) // @constdefine Network has indicated a change in GPRS class // lpData points to a DWORD containing the new RIL_GPRSCLASS_* value #define RIL_NOTIFY_GPRSCLASS_RADIOCHANGED (0x00000004 | RIL_NCLASS_MISC) // @constdefine The radio has indicated a change in GPRS class // lpData points to a DWORD containing the new RIL_GPRSCLASS_* value #define RIL_NOTIFY_SIGNALQUALITY (0x00000005 | RIL_NCLASS_MISC) // @constdefine Signal Quality Notification // lpData points to a RILSIGNALQUALITY structure #define RIL_NOTIFY_MAINTREQUIRED (0x00000006 | RIL_NCLASS_MISC) // @constdefine BS notification that MS requires servicing; lpdata is NULL #define RIL_NOTIFY_PRIVACYCHANGED (0x00000007 | RIL_NCLASS_MISC) // @constdefine Call Privacy Status; lpData points to DWORD of value RIL_CALLPRIVACY_* #define RIL_NOTIFY_SIM_DATACHANGE (0x00000008 | RIL_NCLASS_MISC) // @constdefine data change notification; lpData points to DWORD of value RIL_SIMDATACHANGE_* #define RIL_NOTIFY_ATLOGGING (0x00000009 | RIL_NCLASS_MISC) // @constdefine at command log data present #define RIL_NOTIFY_SIMSTATUSCHANGED (0x00000010 | RIL_NCLASS_MISC) // @constdefine SIM card state has changed. Carries a DWORD (RIL_SIMSTATUSCHANGED_*) with the current state. // Notification is sent only when encountering error conditions from the radio. // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Notification Device Specific | Device Specific notifications (RIL_NCLASS_DEVSPECIFIC) // // @comm None // // ----------------------------------------------------------------------------- #define RIL_NOTIFY_LOCATION (0x00008000 | RIL_NCLASS_DEVSPECIFIC) // @constdefine Location Services; lpData points to DWORD of value RIL_LOCATION_* #define RIL_NOTIFY_ROAMSTATUS (0x00008001 | RIL_NCLASS_DEVSPECIFIC) // @constdefine Roaming Status; lpData points to DWORD of value RIL_ROAMSTATUS_* // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Notification NDIS | Device Specific notifications (RIL_NCLASS_NDIS) // // @comm None // // ----------------------------------------------------------------------------- #define RIL_NOTIFY_NDIS_IPCONFIG (0x00000001 | RIL_NCLASS_NDIS) // @constdefine IP configuration received and is ready for use. // lpData points to a RILNDISIPCONFIG structure. #define RIL_NOTIFY_NDIS_PACKETRECEIVED (0x00000002 | RIL_NCLASS_NDIS) // @constdefine IP packet available. // lpData points to a RILNDISPACKET structure. #define RIL_NOTIFY_NDIS_XFERSTATUSCHANGED (0x00000003 | RIL_NCLASS_NDIS) // @constdefine packet flow control change occurred. // lpData ponts to DWORD of [ RIL_NDIS_XON |RIL_NDIS_XOFF ] // // Macro to extract notification class from notification code // #define NCLASS_FROM_NOTIFICATION(code) ((code) & 0xffff0000) // // Structure parameter flags // // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILNDISIPCONFIG // // @comm None // // ----------------------------------------------------------------------------- // #define RIL_PARAM_NDISIPCONFIG_PROTOCOL_IPV4 (0x00000001) // @paramdefine #define RIL_PARAM_NDISIPCONFIG_PROTOCOL_IPV6 (0x00000002) // @paramdefine // // ipv4 defines #define RIL_PARAM_NDISIPCONFIG_IPADDR (0x00000001) // @paramdefine #define RIL_PARAM_NDISIPCONFIG_PRIMARYDNS (0x00000002) // @paramdefine #define RIL_PARAM_NDISIPCONFIG_SECONDARYDNS (0x00000004) // @paramdefine #define RIL_PARAM_NDISIPCONFIG_DEFAULTGATEWAY (0x00000008) // @paramdefine #define RIL_PARAM_NDISIPCONFIG_SUBNETMASK (0x00000010) // @paramdefine #define RIL_PARAM_NDISIPCONFIG_ALL (0x0000001f) // @paramdefine // // ipv6 defines #define RIL_PARAM_NDISIPCONFIG_IPV6_IPADDR (0x00000001) // @paramdefine #define RIL_PARAM_NDISIPCONFIG_IPV6_PRIMARYDNS (0x00000002) // @paramdefine #define RIL_PARAM_NDISIPCONFIG_IPV6_SECONDARYDNS (0x00000004) // @paramdefine #define RIL_PARAM_NDISIPCONFIG_IPV6_DEFAULTGATEWAY (0x00000008) // @paramdefine #define RIL_PARAM_NDISIPCONFIG_IPV6_SUBNETMASK (0x00000010) // @paramdefine #define RIL_PARAM_NDISIPCONFIG_IPV6_FLOWINFO (0x00000020) // @paramdefine #define RIL_PARAM_NDISIPCONFIG_IPV6_SCOPEID (0x00000040) // @paramdefine #define RIL_PARAM_NDISIPCONFIG_IPV6_ALL (0x0000007f) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILNDISGPRSCONTEXT // // @comm None // // ----------------------------------------------------------------------------- // #define RIL_PARAM_RILNDISGPRSCONTEXT_USERNAME (0x00000001) // @paramdefine #define RIL_PARAM_RILNDISGPRSCONTEXT_PASSWORD (0x00000002) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILADDRESS // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_A_TYPE (0x00000001) // @paramdefine #define RIL_PARAM_A_NUMPLAN (0x00000002) // @paramdefine #define RIL_PARAM_A_ADDRESS (0x00000004) // @paramdefine #define RIL_PARAM_A_ALL (0x00000007) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILSUBADDRESS // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_SA_TYPE (0x00000001) // @paramdefine #define RIL_PARAM_SA_SUBADDRESS (0x00000002) // @paramdefine #define RIL_PARAM_SA_ALL (0x00000003) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILSERIALPORTSTATS // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_SPS_READBITSPERSECOND (0x00000001) // @paramdefine #define RIL_PARAM_SPS_WRITTENBITSPERSECOND (0x00000002) // @paramdefine #define RIL_PARAM_SPS_ALL (0x00000003) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILSUBSCRIBERINFO // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_SI_ADDRESS (0x00000001) // @paramdefine #define RIL_PARAM_SI_DESCRIPTION (0x00000002) // @paramdefine #define RIL_PARAM_SI_SPEED (0x00000004) // @paramdefine #define RIL_PARAM_SI_SERVICE (0x00000008) // @paramdefine #define RIL_PARAM_SI_ITC (0x00000010) // @paramdefine #define RIL_PARAM_SI_ADDRESSID (0x00000020) // @paramdefine #define RIL_PARAM_SI_ALL (0x0000003f) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILOPERATORNAMES // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_ON_LONGNAME (0x00000001) // @paramdefine #define RIL_PARAM_ON_SHORTNAME (0x00000002) // @paramdefine #define RIL_PARAM_ON_NUMNAME (0x00000004) // @paramdefine #define RIL_PARAM_ON_COUNTRY_CODE (0x00000008) // @paramdefine #define RIL_PARAM_ON_ALL (0x0000000f) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILOPERATORINFO // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_OI_INDEX (0x00000001) // @paramdefine #define RIL_PARAM_OI_STATUS (0x00000002) // @paramdefine #define RIL_PARAM_OI_NAMES (0x00000004) // @paramdefine #define RIL_PARAM_OI_ALL (0x00000007) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILCALLERIDSETTINGS // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_CIDS_PROVISIONING (0x00000001) // @paramdefine #define RIL_PARAM_CIDS_STATUS (0x00000002) // @paramdefine #define RIL_PARAM_CIDS_ALL (0x00000003) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILHIDEIDSETTINGS // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_HIDS_STATUS (0x00000001) // @paramdefine #define RIL_PARAM_HIDS_PROVISIONING (0x00000002) // @paramdefine #define RIL_PARAM_HIDS_ALL (0x00000003) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILDIALEDIDSETTINGS // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_DIDS_PROVISIONING (0x00000001) // @paramdefine #define RIL_PARAM_DIDS_STATUS (0x00000002) // @paramdefine #define RIL_PARAM_DIDS_ALL (0x00000003) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILHIDECONNECTEDIDSETTINGS // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_HCIDS_PROVISIONING (0x00000001) // @paramdefine #define RIL_PARAM_HCIDS_STATUS (0x00000002) // @paramdefine #define RIL_PARAM_HCIDS_ALL (0x00000003) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILCLOSEDGROUPSETTINGS // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_CGS_STATUS (0x00000001) // @paramdefine #define RIL_PARAM_CGS_INDEX (0x00000002) // @paramdefine #define RIL_PARAM_CGS_INFO (0x00000004) // @paramdefine #define RIL_PARAM_CGS_ALL (0x00000007) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILCALLFORWARDINGSETTINGS // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_CFS_STATUS (0x00000001) // @paramdefine #define RIL_PARAM_CFS_INFOCLASSES (0x00000002) // @paramdefine #define RIL_PARAM_CFS_ADDRESS (0x00000004) // @paramdefine #define RIL_PARAM_CFS_SUBADDRESS (0x00000008) // @paramdefine #define RIL_PARAM_CFS_DELAYTIME (0x00000010) // @paramdefine #define RIL_PARAM_CFS_ALL (0x0000001f) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILCALLINFO // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_CI_ID (0x00000001) // @paramdefine #define RIL_PARAM_CI_DIRECTION (0x00000002) // @paramdefine #define RIL_PARAM_CI_STATUS (0x00000004) // @paramdefine #define RIL_PARAM_CI_TYPE (0x00000008) // @paramdefine #define RIL_PARAM_CI_MULTIPARTY (0x00000010) // @paramdefine #define RIL_PARAM_CI_ADDRESS (0x00000020) // @paramdefine #define RIL_PARAM_CI_DESCRIPTION (0x00000040) // @paramdefine #define RIL_PARAM_CI_CPISTATUS (0x00000080) // @paramdefine #define RIL_PARAM_CI_DISCONNECTCODE (0x00000100) // @paramdefine //Note: RIL_PARAM_CI_STATUS and RIL_PARAM_CI_CPISTATUS are mutually exclusive // parameters because they define how the dwStatus variable is used. // Therefore, there is no RIL_PARAM_CI_ALL to avoid any ambiguity. // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILGAININFO // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_GI_TXGAIN (0x00000001) // @paramdefine #define RIL_PARAM_GI_RXGAIN (0x00000002) // @paramdefine #define RIL_PARAM_GI_ALL (0x00000003) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILAUDIODEVICEINFO // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_ADI_TXDEVICE (0x00000001) // @paramdefine #define RIL_PARAM_ADI_RXDEVICE (0x00000002) // @paramdefine #define RIL_PARAM_ADI_ALL (0x00000003) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILHSCSDINFO // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_HSCSDI_TRANSPRXTIMESLOTS (0x00000001) // @paramdefine #define RIL_PARAM_HSCSDI_TRANSPCHANNELCODINGS (0x00000002) // @paramdefine #define RIL_PARAM_HSCSDI_NONTRANSPRXTIMESLOTS (0x00000004) // @paramdefine #define RIL_PARAM_HSCSDI_NONTRANSPCHANNELCODINGS (0x00000008) // @paramdefine #define RIL_PARAM_HSCSDI_AIRINTERFACEUSERRATE (0x00000010) // @paramdefine #define RIL_PARAM_HSCSDI_RXTIMESLOTSLIMIT (0x00000020) // @paramdefine #define RIL_PARAM_HSCSDI_AUTOSVCLEVELUPGRADING (0x00000040) // @paramdefine #define RIL_PARAM_HSCSDI_ALL (0x0000007f) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILCALLHSCSDINFO // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_CHSCSDI_RXTIMESLOTS (0x00000001) // @paramdefine #define RIL_PARAM_CHSCSDI_TXTIMESLOTS (0x00000002) // @paramdefine #define RIL_PARAM_CHSCSDI_AIRINTERFACEUSERRATE (0x00000004) // @paramdefine #define RIL_PARAM_CHSCSDI_CHANNELCODING (0x00000008) // @paramdefine #define RIL_PARAM_CHSCSDI_ALL (0x0000000f) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILDATACOMPINFO // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_DCI_DIRECTION (0x00000001) // @paramdefine #define RIL_PARAM_DCI_NEGOTIATION (0x00000002) // @paramdefine #define RIL_PARAM_DCI_MAXDICTENTRIES (0x00000004) // @paramdefine #define RIL_PARAM_DCI_MAXSTRING (0x00000008) // @paramdefine #define RIL_PARAM_DCI_ALL (0x0000000f) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILERRORCORRECTIONINFO // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_ECI_ORIGINALREQUEST (0x00000001) // @paramdefine #define RIL_PARAM_ECI_ORIGINALFALLBACK (0x00000002) // @paramdefine #define RIL_PARAM_ECI_ANSWERERFALLBACK (0x00000004) // @paramdefine #define RIL_PARAM_ECI_ALL (0x00000007) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILBEARERSVCINFO // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_BSI_SPEED (0x00000001) // @paramdefine #define RIL_PARAM_BSI_SERVICENAME (0x00000002) // @paramdefine #define RIL_PARAM_BSI_CONNECTIONELEMENT (0x00000004) // @paramdefine #define RIL_PARAM_BSI_ALL (0x00000007) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILRLPINFO // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_RLPI_IWS (0x00000001) // @paramdefine #define RIL_PARAM_RLPI_MWS (0x00000002) // @paramdefine #define RIL_PARAM_RLPI_ACKTIMER (0x00000004) // @paramdefine #define RIL_PARAM_RLPI_RETRANSMISSIONATTEMPTS (0x00000008) // @paramdefine #define RIL_PARAM_RLPI_VERSION (0x00000010) // @paramdefine #define RIL_PARAM_RPLI_RESEQUENCINGPERIOD (0x00000020) // @paramdefine #define RIL_PARAM_RPLI_ALL (0x0000003f) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILMSGSERVICEINFO // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_MSI_SERVICE (0x00000001) // @paramdefine #define RIL_PARAM_MSI_MSGCLASSES (0x00000002) // @paramdefine #define RIL_PARAM_MSI_READLOCATION (0x00000004) // @paramdefine #define RIL_PARAM_MSI_READUSED (0x00000008) // @paramdefine #define RIL_PARAM_MSI_READTOTAL (0x00000010) // @paramdefine #define RIL_PARAM_MSI_WRITELOCATION (0x00000020) // @paramdefine #define RIL_PARAM_MSI_WRITEUSED (0x00000040) // @paramdefine #define RIL_PARAM_MSI_WRITETOTAL (0x00000080) // @paramdefine #define RIL_PARAM_MSI_STORELOCATION (0x00000100) // @paramdefine #define RIL_PARAM_MSI_STOREUSED (0x00000200) // @paramdefine #define RIL_PARAM_MSI_STORETOTAL (0x00000400) // @paramdefine #define RIL_PARAM_MSI_ALL (0x000007ff) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILMSGDCS // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_MDCS_TYPE (0x00000001) // @paramdefine #define RIL_PARAM_MDCS_FLAGS (0x00000002) // @paramdefine #define RIL_PARAM_MDCS_MSGCLASS (0x00000004) // @paramdefine #define RIL_PARAM_MDCS_ALPHABET (0x00000008) // @paramdefine #define RIL_PARAM_MDCS_INDICATION (0x00000010) // @paramdefine #define RIL_PARAM_MDCS_LANGUAGE (0x00000020) // @paramdefine #define RIL_PARAM_MDCS_ALL (0x0000003f) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILMSGCONFIG // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_MC_SVCCTRADDRESS (0x00000001) // @paramdefine #define RIL_PARAM_MC_ALL (0x00000001) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILCBMSGCONFIG // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_CBMC_BROADCASTMSGIDS (0x00000001) // @paramdefine #define RIL_PARAM_CBMC_BROADCASTMSGLANGS (0x00000002) // @paramdefine #define RIL_PARAM_CBMC_ACCEPTIDS (0x00000004) // @paramdefine #define RIL_PARAM_CBMC_ALL (0x00000007) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILMESSAGE // // @comm None // // ----------------------------------------------------------------------------- /* List of Unions Labeled GSM ID=RIL_MSGTYPE_IN_DELIVER ISt=RIL_MSGTYPE_IN_STATUS OS=RIL_MSGTYPE_OUT_SUBMIT OC=RIL_MSGTYPE_OUT_COMMAND OR=RIL_MSGTYPE_OUT_RAW BC=RIL_MSGTYPE_BC_GENERAL CDMA ID=RIL_MSGTYPE_IN_IS637DELIVER ISt=RIL_MSGTYPE_IN_IS637STATUS OS=RIL_MSGTYPE_OUT_IS637SUBMIT OSt=RIL_MSGTYPE_OUT_IS637STATUS */ // -------This block is the GSM Params for RILMESSAGE (These values may have been recycled; // U = This value for the field has been reused in CDMA, and if the RILMESSAGE structure // is expanded, developer must careful not to use two recycled fields in the same union.) #define RIL_PARAM_M_SVCCTRADDRESS (0x00000001) // @paramdefine GSM=[ID,ISt,OS,OC,OR,BC] CDMA=[ID,ISt,OS,OSt] #define RIL_PARAM_M_TYPE (0x00000002) // @paramdefine GSM=[ID,ISt,OS,OC,OR,BC] CDMA=[ID,ISt,OS,OSt] #define RIL_PARAM_M_FLAGS (0x00000004) // @paramdefine GSM=[ID,ISt,OS,OC,OR,BC] CDMA=[ID,ISt,OS,OSt] #define RIL_PARAM_M_ORIGADDRESS (0x00000008) // @paramdefine GSM=[ID] CDMA=[ID,ISt] #define RIL_PARAM_M_TGTRECIPADDRESS (0x00000010) // @paramdefine U GSM=[ISt] #define RIL_PARAM_M_DESTADDRESS (0x00000020) // @paramdefine GSM=[OS,OC] CDMA=[OSt,OS] #define RIL_PARAM_M_SCRECEIVETIME (0x00000040) // @paramdefine GSM=[ID] CDMA=[ID,Ist] #define RIL_PARAM_M_TGTSCRECEIVETIME (0x00000080) // @paramdefine U GSM=[ISt] #define RIL_PARAM_M_TGTDISCHARGETIME (0x00000100) // @paramdefine U GSM=[ISt] #define RIL_PARAM_M_PROTOCOLID (0x00000200) // @paramdefine U GSM=[ISt] #define RIL_PARAM_M_DATACODING (0x00000800) // @paramdefine U GSM=[ID,ISt,OS,BC] #define RIL_PARAM_M_TGTDLVSTATUS (0x00001000) // @paramdefine U GSM=[ISt] #define RIL_PARAM_M_TGTMSGREFERENCE (0x00002000) // @paramdefine U GSM=[OC] #define RIL_PARAM_M_VPFORMAT (0x00004000) // @paramdefine U GSM=[OS] #define RIL_PARAM_M_VP (0x00008000) // @paramdefine U GSM=[OS] #define RIL_PARAM_M_COMMANDTYPE (0x00010000) // @paramdefine U GSM=[OC] #define RIL_PARAM_M_GEOSCOPE (0x00020000) // @paramdefine U GSM=[BC] #define RIL_PARAM_M_MSGCODE (0x00040000) // @paramdefine U GSM=[BC] #define RIL_PARAM_M_UPDATENUMBER (0x00080000) // @paramdefine U GSM=[BC] #define RIL_PARAM_M_ID (0x00100000) // @paramdefine U GSM=[BC] #define RIL_PARAM_M_TOTALPAGES (0x00200000) // @paramdefine U GSM=[BC] #define RIL_PARAM_M_PAGENUMBER (0x00400000) // @paramdefine U GSM=[BC] #define RIL_PARAM_M_HDRLENGTH (0x00800000) // @paramdefine U GSM=[ID,ISt,OS] #define RIL_PARAM_M_MSGLENGTH (0x01000000) // @paramdefine GSM=[ID,ISt,OS,OR,BC] CDMA=[ID,ISt,OS,OSt] #define RIL_PARAM_M_CMDLENGTH (0x02000000) // @paramdefine GSM=[OC] #define RIL_PARAM_M_HDR (0x04000000) // @paramdefine GSM=[ID,ISt,OS] #define RIL_PARAM_M_MSG (0x08000000) // @paramdefine GSM=[ID,ISt,OS,OR,BC] CDMA=[ID,ISt,OS,OSt] #define RIL_PARAM_M_CMD (0x10000000) // @paramdefine U GSM=[OC] // CDMA Message parameter definitions #define RIL_PARAM_M_MSGID (0x20000000) // @paramdefine CDMA=[ID,ISt,OS,OSt] #define RIL_PARAM_M_ORIGSUBADDRESS (0x40000000) // @paramdefine CDMA=[ID,ISt] #define RIL_PARAM_M_DESTSUBADDRESS (0x80000000) // @paramdefine CDMA=[OS,OSt] #define RIL_PARAM_M_DIGIT (0x00010000) // @paramdefine CDMA=[OS,OSt] #define RIL_PARAM_M_PRIVACY (0x00000100) // @paramdefine CDMA=[ID,OS] #define RIL_PARAM_M_PRIORITY (0x00000200) // @paramdefine CDMA=[ID,OS] #define RIL_PARAM_M_TELESERVICE (0x00000400) // @paramdefine CDMA=[ID,OS] #define RIL_PARAM_M_LANG (0x00000800) // @paramdefine CDMA=[ID,ISt,OS,OSt] #define RIL_PARAM_M_VALIDITYPERIODABS (0x00001000) // @paramdefine CDMA=[ID,OS] #define RIL_PARAM_M_VALIDITYPERIODREL (0x00002000) // @paramdefine CDMA=[OS] #define RIL_PARAM_M_DEFERREDDELTIMEABS (0x00004000) // @paramdefine CDMA=[OS] #define RIL_PARAM_M_DEFERREDDELTIMEREL (0x00008000) // @paramdefine CDMA=[OS] #define RIL_PARAM_M_ENCODING (0x00020000) // @paramdefine CDMA=[ID,ISt,OS,OSt] #define RIL_PARAM_M_USERRESPONSECODE (0x00040000) // @paramdefine CDMA=[ISt,OSt] #define RIL_PARAM_M_DISPLAYMODE (0x00080000) // @paramdefine CDMA=[ID,OS] #define RIL_PARAM_M_CALLBACKNUM (0x00000010) // @paramdefine CDMA=[ID,OS] #define RIL_PARAM_M_NUMMSGS (0x00000080) // @paramdefine CDMA=[ID] #define RIL_PARAM_M_CAUSECODE (0x00100000) // @paramdefine CDMA=[ISt] #define RIL_PARAM_M_REPLYSEQNUMBER (0x00200000) // @paramdefine CDMA=[ISt,OSt] #define RIL_PARAM_M_BEARERREPLYACK (0x00200000) // @paramdefine CDMA=[OS] #define RIL_PARAM_M_USERACK (0x00400000) // @paramdefine CDMA=[ID,OS] #define RIL_PARAM_M_DELIVERYACK (0x00800000) // @paramdefine CDMA=[OS] #define RIL_PARAM_M_MSGSTATUSTYPE (0x10000000) // @paramdefine CDMA=[ISt] #define RIL_PARAM_M_ALL_IN_DELIVER (RIL_PARAM_M_TYPE | RIL_PARAM_M_FLAGS | RIL_PARAM_M_ORIGADDRESS | \ RIL_PARAM_M_PROTOCOLID | RIL_PARAM_M_DATACODING | \ RIL_PARAM_M_SCRECEIVETIME | RIL_PARAM_M_HDRLENGTH | RIL_PARAM_M_MSGLENGTH | \ RIL_PARAM_M_HDR | RIL_PARAM_M_MSG) // @paramdefine #define RIL_PARAM_M_ALL_IN_STATUS (RIL_PARAM_M_TYPE | RIL_PARAM_M_FLAGS | RIL_PARAM_M_TGTMSGREFERENCE | \ RIL_PARAM_M_TGTRECIPADDRESS | RIL_PARAM_M_TGTSCRECEIVETIME | \ RIL_PARAM_M_TGTDISCHARGETIME | RIL_PARAM_M_TGTDLVSTATUS | \ RIL_PARAM_M_PROTOCOLID | RIL_PARAM_M_DATACODING | RIL_PARAM_M_HDRLENGTH | \ RIL_PARAM_M_MSGLENGTH | RIL_PARAM_M_HDR | RIL_PARAM_M_MSG) // @paramdefine #define RIL_PARAM_M_ALL_OUT_SUBMIT (RIL_PARAM_M_TYPE | RIL_PARAM_M_FLAGS | RIL_PARAM_M_DESTADDRESS | \ RIL_PARAM_M_PROTOCOLID | RIL_PARAM_M_DATACODING | RIL_PARAM_M_VPFORMAT | \ RIL_PARAM_M_VP | RIL_PARAM_M_HDRLENGTH | RIL_PARAM_M_MSGLENGTH | \ RIL_PARAM_M_HDR | RIL_PARAM_M_MSG) // @paramdefine #define RIL_PARAM_M_ALL_OUT_COMMAND (RIL_PARAM_M_TYPE | RIL_PARAM_M_FLAGS | RIL_PARAM_M_PROTOCOLID | \ RIL_PARAM_M_COMMANDTYPE | RIL_PARAM_M_TGTMSGREFERENCE | \ RIL_PARAM_M_DESTADDRESS | RIL_PARAM_M_CMDLENGTH | RIL_PARAM_M_CMD) // @paramdefine #define RIL_PARAM_M_ALL_BC_GENERAL (RIL_PARAM_M_TYPE | RIL_PARAM_M_GEOSCOPE | RIL_PARAM_M_MSGCODE | \ RIL_PARAM_M_UPDATENUMBER | RIL_PARAM_M_ID | RIL_PARAM_M_DATACODING | \ RIL_PARAM_M_TOTALPAGES | RIL_PARAM_M_PAGENUMBER | RIL_PARAM_M_MSGLENGTH | \ RIL_PARAM_M_MSG) // @paramdefine #define RIL_PARAM_M_ALL_OUT_RAW (RIL_PARAM_M_TYPE | RIL_PARAM_M_FLAGS | \ RIL_PARAM_M_MSGLENGTH | RIL_PARAM_M_MSG) // @paramdefine #define RIL_PARAM_M_ALL_IN_IS637DELIVER (RIL_PARAM_M_TYPE | RIL_PARAM_M_MSGID | RIL_PARAM_M_TELESERVICE | \ RIL_PARAM_M_DISPLAYMODE | RIL_PARAM_M_USERACK | RIL_PARAM_M_ORIGADDRESS | \ RIL_PARAM_M_ORIGSUBADDRESS | RIL_PARAM_M_SCRECEIVETIME | RIL_PARAM_M_PRIORITY | \ RIL_PARAM_M_PRIVACY | RIL_PARAM_M_CALLBACKNUM | RIL_PARAM_M_NUMMSGS | \ RIL_PARAM_M_VALIDITYPERIODABS | RIL_PARAM_M_LANG | RIL_PARAM_M_ENCODING | \ RIL_PARAM_M_MSGLENGTH | RIL_PARAM_M_MSG) // @paramdefine #define RIL_PARAM_M_ALL_OUT_IS637SUBMIT (RIL_PARAM_M_TYPE | RIL_PARAM_M_MSGID | RIL_PARAM_M_TELESERVICE | \ RIL_PARAM_M_DISPLAYMODE | RIL_PARAM_M_DESTADDRESS | RIL_PARAM_M_DESTSUBADDRESS | \ RIL_PARAM_M_DIGIT | RIL_PARAM_M_BEARERREPLYACK | RIL_PARAM_M_PRIORITY | \ RIL_PARAM_M_PRIVACY | RIL_PARAM_M_CALLBACKNUM | RIL_PARAM_M_USERACK | \ RIL_PARAM_M_DELIVERYACK | RIL_PARAM_M_VALIDITYPERIODABS | \ RIL_PARAM_M_VALIDITYPERIODREL | RIL_PARAM_M_DEFERREDDELTIMEABS | \ RIL_PARAM_M_DEFERREDDELTIMEREL | RIL_PARAM_M_LANG | RIL_PARAM_M_ENCODING | \ RIL_PARAM_M_MSGLENGTH | RIL_PARAM_M_MSG) // @paramdefine #define RIL_PARAM_M_ALL_IN_IS637STATUS (RIL_PARAM_M_TYPE | RIL_PARAM_M_MSGID | RIL_PARAM_M_ORIGADDRESS | \ RIL_PARAM_M_ORIGSUBADDRESS | RIL_PARAM_M_SCRECEIVETIME | RIL_PARAM_M_CAUSECODE | \ RIL_PARAM_M_REPLYSEQNUMBER | RIL_PARAM_M_LANG | RIL_PARAM_M_ENCODING | \ RIL_PARAM_M_MSGLENGTH | RIL_PARAM_M_MSG | RIL_PARAM_M_USERRESPONSECODE | \ RIL_PARAM_M_MSGSTATUSTYPE) // @paramdefine #define RIL_PARAM_M_ALL_OUT_IS637STATUS (RIL_PARAM_M_TYPE | RIL_PARAM_M_MSGID | RIL_PARAM_M_DESTADDRESS | \ RIL_PARAM_M_DESTSUBADDRESS | RIL_PARAM_M_REPLYSEQNUMBER | RIL_PARAM_M_LANG | \ RIL_PARAM_M_ENCODING | RIL_PARAM_M_MSGLENGTH | RIL_PARAM_M_MSG | \ RIL_PARAM_M_USERRESPONSECODE | RIL_PARAM_M_DIGIT) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILMESSAGE_IN_SIM // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_MIS_LOCATION 0x00000001 // @paramdefine #define RIL_PARAM_MIS_INDEX 0x00000002 // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILMESSAGEINFO // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_MI_INDEX (0x00000001) // @paramdefine #define RIL_PARAM_MI_STATUS (0x00000002) // @paramdefine #define RIL_PARAM_MI_MESSAGE (0x00000004) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILEQUIPMENTINFO // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_EI_MANUFACTURER (0x00000001) // @paramdefine #define RIL_PARAM_EI_MODEL (0x00000002) // @paramdefine #define RIL_PARAM_EI_REVISION (0x00000004) // @paramdefine #define RIL_PARAM_EI_SERIALNUMBER (0x00000008) // @paramdefine #define RIL_PARAM_EI_ALL (0x0000000f) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILPHONEBOOKINFO // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_PBI_STORELOCATION (0x00000001) // @paramdefine #define RIL_PARAM_PBI_USED (0x00000002) // @paramdefine #define RIL_PARAM_PBI_TOTAL (0x00000004) // @paramdefine #define RIL_PARAM_PBI_ALL (0x00000007) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILPHONEBOOKENTRY // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_PBE_INDEX (0x00000001) // @paramdefine #define RIL_PARAM_PBE_ADDRESS (0x00000002) // @paramdefine #define RIL_PARAM_PBE_TEXT (0x00000004) // @paramdefine #define RIL_PARAM_PBE_ALL (0x00000007) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILATRINFO // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_ATR_PHASE (0x00000001) // @paramdefine #define RIL_PARAM_ATR_SIZE (0x00000002) // @paramdefine #define RIL_PARAM_ATR_ATR (0x00000004) // @paramdefine #define RIL_PARAM_ATR_ALL (0x00000007) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILSIMTOOLKITNOTIFYCAPS // // @comm Parameters for LPRILSIMTOOLKITNOTIFYCAPS -> dwParams // // ----------------------------------------------------------------------------- #define RIL_PARAM_SIMTKN_REFRESH (0x00000001) // @paramdefine #define RIL_PARAM_SIMTKN_MORETIME (0x00000002) // @paramdefine #define RIL_PARAM_SIMTKN_POLLINTERVAL (0x00000004) // @paramdefine #define RIL_PARAM_SIMTKN_POLLINGOFF (0x00000008) // @paramdefine #define RIL_PARAM_SIMTKN_SETUPCALL (0x00000010) // @paramdefine #define RIL_PARAM_SIMTKN_SENDSS (0x00000020) // @paramdefine #define RIL_PARAM_SIMTKN_SENDSMS (0x00000040) // @paramdefine #define RIL_PARAM_SIMTKN_PLAYTONE (0x00000080) // @paramdefine #define RIL_PARAM_SIMTKN_DISPLAYTEXT (0x00000100) // @paramdefine #define RIL_PARAM_SIMTKN_GETINKEY (0x00000200) // @paramdefine #define RIL_PARAM_SIMTKN_GETINPUT (0x00000400) // @paramdefine #define RIL_PARAM_SIMTKN_SELECTITEM (0x00000800) // @paramdefine #define RIL_PARAM_SIMTKN_SETUPMENU (0x00001000) // @paramdefine #define RIL_PARAM_SIMTKN_LOCALINFO (0x00002000) // @paramdefine #define RIL_PARAM_SIMTKN_NOTIFYFLAGS (0x00004000) // @paramdefine #define RIL_PARAM_SIMTKN_SENDUSSD (0x00008000) // @paramdefine #define RIL_PARAM_SIMTKN_SETUPIDLEMODETEXT (0x00010000) // @paramdefine #define RIL_PARAM_SIMTKN_SETUPEVENTLIST (0x00020000) // @paramdefine #define RIL_PARAM_SIMTKN_SENDDTMF (0x00040000) // @paramdefine #define RIL_PARAM_SIMTKN_LAUNCHBROWSER (0x00080000) // @paramdefine #define RIL_PARAM_SIMTKN_OPENCHANNEL (0x00100000) // @paramdefine #define RIL_PARAM_SIMTKN_CLOSECHANNEL (0x00200000) // @paramdefine #define RIL_PARAM_SIMTKN_RECEIVEDATA (0x00400000) // @paramdefine #define RIL_PARAM_SIMTKN_SENDDATA (0x00800000) // @paramdefine #define RIL_PARAM_SIMTKN_TIMERMANAGEMENT (0x01000000) // @paramdefine #define RIL_PARAM_SIMTKN_EVENTS (0x02000000) // @paramdefine #define RIL_PARAM_SIMTKN_RUNATCMD (0x04000000) // @paramdefine #define RIL_PARAM_SIMTKN_ALL (0x07ffffff) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILSIMTOOLKITEVENTCAPS // // @comm Parameters for LPRILSIMTOOLKITEVENTCAPS -> dwParams // // ----------------------------------------------------------------------------- #define RIL_PARAM_SIMTKE_MTCALL (0x00000001) // @paramdefine #define RIL_PARAM_SIMTKE_CALLCONNECTED (0x00000002) // @paramdefine #define RIL_PARAM_SIMTKE_CALLDISCONNECTED (0x00000004) // @paramdefine #define RIL_PARAM_SIMTKE_LOCATIONSTATUS (0x00000008) // @paramdefine #define RIL_PARAM_SIMTKE_USERACTIVITY (0x00000010) // @paramdefine #define RIL_PARAM_SIMTKE_IDLESCREEN (0x00000020) // @paramdefine #define RIL_PARAM_SIMTKE_LANGUAGESELECTION (0x00000040) // @paramdefine #define RIL_PARAM_SIMTKE_BROWSERTERMINATION (0x00000080) // @paramdefine #define RIL_PARAM_SIMTKE_DATAAVAILABLE (0x00000100) // @paramdefine #define RIL_PARAM_SIMTKE_CHANNELSTATUS (0x00000200) // @paramdefine #define RIL_PARAM_SIMTKE_DISPLAYCHANGE (0x00000400) // @paramdefine #define RIL_PARAM_SIMTKE_ALL (0x000007FF) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILSIMTOOLKITCMD // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_SIMTKIT_CMD_ID (0x00000001) // @paramdefine #define RIL_PARAM_SIMTKIT_CMD_TAG (0x00000002) // @paramdefine #define RIL_PARAM_SIMTKIT_CMD_TYPE (0x00000004) // @paramdefine #define RIL_PARAM_SIMTKIT_CMD_QUALIFIER (0x00000008) // @paramdefine #define RIL_PARAM_SIMTKIT_CMD_ERROR (0x00000010) // @paramdefine #define RIL_PARAM_SIMTKIT_CMD_DETAILS_OFFSET (0x00000020) // @paramdefine #define RIL_PARAM_SIMTKIT_CMD_DETAILS_SIZE (0x00000040) // @paramdefine #define RIL_PARAM_SIMTKIT_CMD_ALL (0x0000007F) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILSIMTOOLKITRSP // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_SIMTKIT_RSP_ID (0x00000001) // @paramdefine #define RIL_PARAM_SIMTKIT_RSP_TAG (0x00000002) // @paramdefine #define RIL_PARAM_SIMTKIT_RSP_TYPE (0x00000004) // @paramdefine #define RIL_PARAM_SIMTKIT_RSP_QUALIFIER (0x00000008) // @paramdefine #define RIL_PARAM_SIMTKIT_RSP_RESPONSE (0x00000010) // @paramdefine #define RIL_PARAM_SIMTKIT_RSP_ADDITIONALINFO (0x00000020) // @paramdefine #define RIL_PARAM_SIMTKIT_RSP_ALL (0x0000003F) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILSIMCMDPARAMETERS // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_SCP_FILEID (0x00000001) // @paramdefine #define RIL_PARAM_SCP_PARAM1 (0x00000002) // @paramdefine #define RIL_PARAM_SCP_PARAM2 (0x00000004) // @paramdefine #define RIL_PARAM_SCP_PARAM3 (0x00000008) // @paramdefine #define RIL_PARAM_SCP_ALL (0x0000000f) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILSIMRESPONSE // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_SR_STATUSWORD1 (0x00000001) // @paramdefine #define RIL_PARAM_SR_STATUSWORD2 (0x00000002) // @paramdefine #define RIL_PARAM_SR_RESPONSE (0x00000004) // @paramdefine #define RIL_PARAM_SR_ALL (0x00000007) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILSIMRECORDSTATUS // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_SRS_RECORDTYPE (0x00000001) // @paramdefine #define RIL_PARAM_SRS_ITEMCOUNT (0x00000002) // @paramdefine #define RIL_PARAM_SRS_SIZE (0x00000004) // @paramdefine #define RIL_PARAM_SRS_ALL (0x00000007) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILCOSTINFO // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_CSTI_CCM (0x00000001) // @paramdefine #define RIL_PARAM_CSTI_ACM (0x00000002) // @paramdefine #define RIL_PARAM_CSTI_MAXACM (0x00000004) // @paramdefine #define RIL_PARAM_CSTI_COSTPERUNIT (0x00000008) // @paramdefine #define RIL_PARAM_CSTI_CURRENCY (0x00000010) // @paramdefine #define RIL_PARAM_CSTI_ALL (0x0000001f) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILSIGNALQUALITY // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_SQ_SIGNALSTRENGTH (0x00000001) // @paramdefine #define RIL_PARAM_SQ_MINSIGNALSTRENGTH (0x00000002) // @paramdefine #define RIL_PARAM_SQ_MAXSIGNALSTRENGTH (0x00000004) // @paramdefine #define RIL_PARAM_SQ_BITERRORRATE (0x00000008) // @paramdefine #define RIL_PARAM_SQ_LOWSIGNALSTRENGTH (0x00000010) // @paramdefine #define RIL_PARAM_SQ_HIGHSIGNALSTRENGTH (0x00000020) // @paramdefine #define RIL_PARAM_SQ_ALL (0x0000003f) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILCELLTOWERINFO // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_CTI_MOBILECOUNTRYCODE (0x00000001) // @paramdefine #define RIL_PARAM_CTI_MOBILENETWORKCODE (0x00000002) // @paramdefine #define RIL_PARAM_CTI_LOCATIONAREACODE (0x00000004) // @paramdefine #define RIL_PARAM_CTI_CELLID (0x00000008) // @paramdefine #define RIL_PARAM_CTI_BASESTATIONID (0x00000010) // @paramdefine #define RIL_PARAM_CTI_BROADCASTCONTROLCHANNEL (0x00000020) // @paramdefine #define RIL_PARAM_CTI_RXLEVEL (0x00000040) // @paramdefine #define RIL_PARAM_CTI_RXLEVELFULL (0x00000080) // @paramdefine #define RIL_PARAM_CTI_RXLEVELSUB (0x00000100) // @paramdefine #define RIL_PARAM_CTI_RXQUALITY (0x00000200) // @paramdefine #define RIL_PARAM_CTI_RXQUALITYFULL (0x00000400) // @paramdefine #define RIL_PARAM_CTI_RXQUALITYSUB (0x00000800) // @paramdefine #define RIL_PARAM_CTI_IDLETIMESLOT (0x00001000) // @paramdefine #define RIL_PARAM_CTI_TIMINGADVANCE (0x00002000) // @paramdefine #define RIL_PARAM_CTI_GPRSCELLID (0x00004000) // @paramdefine #define RIL_PARAM_CTI_GPRSBASESTATIONID (0x00008000) // @paramdefine #define RIL_PARAM_CTI_NUMBCCH (0x00010000) // @paramdefine #define RIL_PARAM_CTI_NMR (0x00020000) // @paramdefine #define RIL_PARAM_CTI_BCCH (0x00040000) // @paramdefine #define RIL_PARAM_CTI_ALL (0x0007ffff) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILEQUIPMENTSTATE // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_EQUIPMENTSTATE_RADIOSUPPORT (0x00000001) // @paramdefine #define RIL_PARAM_EQUIPMENTSTATE_EQSTATE (0x00000002) // @paramdefine #define RIL_PARAM_EQUIPMENTSTATE_READYSTATE (0x00000004) // @paramdefine #define RIL_PARAM_EQUIPMENTSTATE_ALL (0x00000007) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILREMOTEPARTYINFO // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_RPI_ADDRESS (0x00000001) // @paramdefine #define RIL_PARAM_RPI_SUBADDRESS (0x00000002) // @paramdefine #define RIL_PARAM_RPI_DESCRIPTION (0x00000004) // @paramdefine #define RIL_PARAM_RPI_VALIDITY (0x00000008) // @paramdefine #define RIL_PARAM_RPI_ALL (0x0000000f) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILCALLWAITINGINFO // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_CWI_CALLTYPE (0x00000001) // @paramdefine #define RIL_PARAM_CWI_CALLERINFO (0x00000002) // @paramdefine #define RIL_PARAM_CWI_ADDRESSID (0x00000004) // @paramdefine #define RIL_PARAM_CWI_ALL (0x00000007) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILINTERMEDIATESSINFO // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_INTSS_NOTIFICATIONCODE (0x00000001) // @paramdefine #define RIL_PARAM_INTSS_CUGINDEX (0x00000002) // @paramdefine #define RIL_PARAM_INTSS_ALL (0x00000003) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILUNSOLICITEDSSINFO // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_UNSSS_NOTIFICATIONCODE (0x00000001) // @paramdefine #define RIL_PARAM_UNSSS_CUGINDEX (0x00000002) // @paramdefine #define RIL_PARAM_UNSSS_ADDRESS (0x00000004) // @paramdefine #define RIL_PARAM_UNSSS_SUBADDR (0x00000008) // @paramdefine #define RIL_PARAM_UNSSS_ALL (0x0000000f) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILRINGINFO // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_RI_CALLTYPE (0x00000001) // @paramdefine #define RIL_PARAM_RI_SERVICEINFO (0x00000002) // @paramdefine #define RIL_PARAM_RI_ADDRESSID (0x00000004) // @paramdefine #define RIL_PARAM_RI_ALL (0x00000007) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILDIALINFO // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_DI_CMDID (0x00000001) // @paramdefine #define RIL_PARAM_DI_CALLID (0x00000002) // @paramdefine #define RIL_PARAM_DI_ALL (0x00000003) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILCONNECTINFO // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_CNI_CALLTYPE (0x00000001) // @paramdefine #define RIL_PARAM_CNI_BAUDRATE (0x00000002) // @paramdefine #define RIL_PARAM_CNI_ALL (0x00000003) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILSERVICEINFO // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_SVCI_SYNCHRONOUS (0x00000001) // @paramdefine #define RIL_PARAM_SVCI_TRANSPARENT (0x00000002) // @paramdefine #define RIL_PARAM_SVCI_ALL (0x00000003) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILMSGSTORAGEINFO // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_MSTI_READLOCATION (0x00000001) // @paramdefine #define RIL_PARAM_MSTI_WRITELOCATION (0x00000002) // @paramdefine #define RIL_PARAM_MSTI_STORELOCATION (0x00000004) // @paramdefine #define RIL_PARAM_MSTI_ALL (0x00000007) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILSUPSERVICEDATA // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_SSDI_STATUS (0x00000001) // @paramdefine #define RIL_PARAM_SSDI_DATA (0x00000002) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILCAPSDIAL // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_CD_CALLTYPES (0x00000001) // @paramdefine #define RIL_PARAM_CD_OPTIONS (0x00000002) // @paramdefine #define RIL_PARAM_CD_ALL (0x00000003) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILCAPSBEARERSVC // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_CBS_SPEEDS1 (0x00000001) // @paramdefine #define RIL_PARAM_CBS_SPEEDS2 (0x00000002) // @paramdefine #define RIL_PARAM_CBS_SERVICENAMES (0x00000004) // @paramdefine #define RIL_PARAM_CBS_CONNECTIONELEMENTS (0x00000008) // @paramdefine #define RIL_PARAM_CBS_ALL (0x0000000f) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILCAPSRLP // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_CRLP_VERSION (0x00000001) // @paramdefine #define RIL_PARAM_CRLP_IWSRANGE (0x00000002) // @paramdefine #define RIL_PARAM_CRLP_MWSRANGE (0x00000004) // @paramdefine #define RIL_PARAM_CRLP_ACKTIMERRANGE (0x00000008) // @paramdefine #define RIL_PARAM_CRLP_RETRANSMISSIONATTSRANGE (0x00000010) // @paramdefine #define RIL_PARAM_CRLP_RESEQPERIODRANGE (0x00000020) // @paramdefine #define RIL_PARAM_CRLP_ALL (0x0000003f) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILCAPSMSGMEMORYLOCATIONS // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_CMML_READLOCATIONS (0x00000001) // @paramdefine #define RIL_PARAM_CMML_WRITELOCATIONS (0x00000002) // @paramdefine #define RIL_PARAM_CMML_STORELOCATIONS (0x00000004) // @paramdefine #define RIL_PARAM_CMML_ALL (0x00000007) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILCAPSLOCKINGPWDLENGTH // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_CLPL_FACILITY (0x00000001) // @paramdefine #define RIL_PARAM_CLPL_PASSWORDLENGTH (0x00000002) // @paramdefine #define RIL_PARAM_CLPL_ALL (0x00000003) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILCAPSBARRINGPWDLENGTH // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_CBPL_TYPE (0x00000001) // @paramdefine #define RIL_PARAM_CBPL_PASSWORDLENGTH (0x00000002) // @paramdefine #define RIL_PARAM_CBPL_ALL (0x00000003) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILCAPSDATACOMPRESSION // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_CDC_DIRECTION (0x00000001) // @paramdefine #define RIL_PARAM_CDC_NEGOTIATION (0x00000002) // @paramdefine #define RIL_PARAM_CDC_MAXDICT (0x00000004) // @paramdefine #define RIL_PARAM_CDC_MAXSTRING (0x00000008) // @paramdefine #define RIL_PARAM_CDC_ALL (0x0000000f) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILCAPSERRORCORRECTION // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_CEC_ORIGINALREQUEST (0x00000001) // @paramdefine #define RIL_PARAM_CEC_ORIGINALFALLBACK (0x00000002) // @paramdefine #define RIL_PARAM_CEC_ANSWERERFALLBACK (0x00000004) // @paramdefine #define RIL_PARAM_CEC_ALL (0x00000007) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILCAPSHSCSD // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_CHSCSD_MULTISLOTCLASS (0x00000001) // @paramdefine #define RIL_PARAM_CHSCSD_MAXRXTIMESLOTS (0x00000002) // @paramdefine #define RIL_PARAM_CHSCSD_MAXTXTIMESLOTS (0x00000004) // @paramdefine #define RIL_PARAM_CHSCSD_MAXTOTALTIMESLOTS (0x00000008) // @paramdefine #define RIL_PARAM_CHSCSD_CHANNELCODINGS (0x00000010) // @paramdefine #define RIL_PARAM_CHSCSD_AIRINTERFACEUSERRATES (0x00000020) // @paramdefine #define RIL_PARAM_CHSCSD_TOPRXTIMESLOTRANGE (0x00000040) // @paramdefine #define RIL_PARAM_CHSCSD_ALL (0x0000007f) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILCAPSPBENTRYLENGTH // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_CPBEL_MAXADDRESSLENGTH (0x00000001) // @paramdefine #define RIL_PARAM_CPBEL_MAXTEXTLENGTH (0x00000002) // @paramdefine #define RIL_PARAM_CPBEL_ALL (0x00000003) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILGPRSCONTEXT // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_GCONT_CONTEXTID (0x00000001) // @paramdefine #define RIL_PARAM_GCONT_PROTOCOLTYPE (0x00000002) // @paramdefine #define RIL_PARAM_GCONT_ACCESSPOINTNAME (0x00000004) // @paramdefine #define RIL_PARAM_GCONT_ADDRESS (0x00000008) // @paramdefine #define RIL_PARAM_GCONT_DATACOMPRESSION (0x00000010) // @paramdefine #define RIL_PARAM_GCONT_HEADERCOMPRESSION (0x00000020) // @paramdefine #define RIL_PARAM_GCONT_PARAMETERLENGTH (0x00000040) // @paramdefine #define RIL_PARAM_GCONT_PARAMETERS (0x00000080) // @paramdefine #define RIL_PARAM_GCONT_ALL (0x000000ff) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILGPRSQOSPROFILE // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM_GQOSP_CONTEXTID (0x00000001) // @paramdefine #define RIL_PARAM_GQOSP_PRECEDENCECLASS (0x00000002) // @paramdefine #define RIL_PARAM_GQOSP_DELAYCLASS (0x00000004) // @paramdefine #define RIL_PARAM_GQOSP_RELIABILITYCLASS (0x00000008) // @paramdefine #define RIL_PARAM_GQOSP_PEAKTHRUCLASS (0x00000010) // @paramdefine #define RIL_PARAM_GQOSP_MEANTHRUCLASS (0x00000020) // @paramdefine #define RIL_PARAM_GQOSP_ALL (0x0000003F) // @paramdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @params RILGPRSPACKETSUPPORT // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PARAM__GPRSPACKET_PACKET (0x00000001) // @paramdefine #define RIL_PARAM__GPRSPACKET_ACTIVECONTEXTS (0x00000002) // @paramdefine // // Other constants // // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants RIL_NOTIFY_NDIS | XFERSTATUSCHANGED // // @comm None // // ----------------------------------------------------------------------------- #define RIL_NDIS_XON TRUE #define RIL_NDIS_XOFF FALSE // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Address Type | Different phone number representations // // @comm None // // ----------------------------------------------------------------------------- #define RIL_ADDRTYPE_UNKNOWN (0x00000000) // @constdefine Unknown type #define RIL_ADDRTYPE_INTERNATIONAL (0x00000001) // @constdefine International number #define RIL_ADDRTYPE_NATIONAL (0x00000002) // @constdefine National number #define RIL_ADDRTYPE_NETWKSPECIFIC (0x00000003) // @constdefine Network specific number #define RIL_ADDRTYPE_SUBSCRIBER (0x00000004) // @constdefine Subscriber number (protocol-specific) #define RIL_ADDRTYPE_ALPHANUM (0x00000005) // @constdefine Alphanumeric address #define RIL_ADDRTYPE_ABBREV (0x00000006) // @constdefine Abbreviated number //additional CDMA ADDRTYPE definitions //See IS-2000.5-A-1 page 509 table 2.7.1.3.2.4-2 #define RIL_ADDRTYPE_IP (0x00000007) // @constdefine IP Address (RFC 791) #define RIL_ADDRTYPE_EMAIL (0x00000008) // @constdefine Internet Email addresss (RFC 822) // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Numbering Plan | Different numbering shcemes // // @comm Used for , , // and // // ----------------------------------------------------------------------------- #define RIL_NUMPLAN_UNKNOWN (0x00000000) // @constdefine Unknown numbering plan #define RIL_NUMPLAN_TELEPHONE (0x00000001) // @constdefine ISDN/telephone numbering plan (E.164/E.163) #define RIL_NUMPLAN_DATA (0x00000002) // @constdefine Data numbering plan (X.121) #define RIL_NUMPLAN_TELEX (0x00000003) // @constdefine Telex numbering plan #define RIL_NUMPLAN_NATIONAL (0x00000004) // @constdefine National numbering plan #define RIL_NUMPLAN_PRIVATE (0x00000005) // @constdefine Private numbering plan #define RIL_NUMPLAN_ERMES (0x00000006) // @constdefine ERMES numbering plan (ETSI DE/PS 3 01-3) // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Subaddress Type | Different subaddress types // // @comm None // // ----------------------------------------------------------------------------- #define RIL_SUBADDRTYPE_NSAP (0x00000001) // @constdefine NSAP subaddress (CCITT Recommendation X.213 or ISO 8348 AD2) #define RIL_SUBADDRTYPE_USER (0x00000002) // @constdefine User defined subaddress // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Data Rate | Defines different protocol dependant data rates // // @comm None // // ----------------------------------------------------------------------------- #define RIL_SPEED_UNKNOWN (0x00000000) // @constdefine Unknown speed #define RIL_SPEED_AUTO (0x00000001) // @constdefine Automatic selection of speed #define RIL_SPEED_300_V21 (0x00000002) // @constdefine 300 bps (V.21) #define RIL_SPEED_300_V110 (0x00000003) // @constdefine 300 bps (V.100) #define RIL_SPEED_1200_V22 (0x00000004) // @constdefine 1200 bps (V.22) #define RIL_SPEED_1200_75_V23 (0x00000005) // @constdefine 1200/75 bps (V.23) #define RIL_SPEED_1200_V110 (0x00000006) // @constdefine 1200 bps (V.100) #define RIL_SPEED_1200_V120 (0x00000007) // @constdefine 1200 bps (V.120) #define RIL_SPEED_2400_V22BIS (0x00000008) // @constdefine 2400 bps (V.22bis) #define RIL_SPEED_2400_V26TER (0x00000009) // @constdefine 2400 bps (V.26ter) #define RIL_SPEED_2400_V110 (0x0000000a) // @constdefine 2400 bps (V.110 or X.31 flag stuffing) #define RIL_SPEED_2400_V120 (0x0000000b) // @constdefine 2400 bps (V.120) #define RIL_SPEED_4800_V32 (0x0000000c) // @constdefine 4800 bps (V.32) #define RIL_SPEED_4800_V110 (0x0000000d) // @constdefine 4800 bps (V.110 or X.31 flag stuffing) #define RIL_SPEED_4800_V120 (0x0000000e) // @constdefine 4800 bps (V.120) #define RIL_SPEED_9600_V32 (0x0000000f) // @constdefine 9600 bps (V.32) #define RIL_SPEED_9600_V34 (0x00000010) // @constdefine 9600 bps (V.34) #define RIL_SPEED_9600_V110 (0x00000011) // @constdefine 9600 bps (V.110 or X.31 flag stuffing) #define RIL_SPEED_9600_V120 (0x00000012) // @constdefine 9600 bps (V.120) #define RIL_SPEED_14400_V34 (0x00000013) // @constdefine 14400 bps (V.34) #define RIL_SPEED_14400_V110 (0x00000014) // @constdefine 14400 bps (V.100 or X.31 flag stuffing) #define RIL_SPEED_14400_V120 (0x00000015) // @constdefine 14400 bps (V.120) #define RIL_SPEED_19200_V34 (0x00000016) // @constdefine 19200 bps (V.34) #define RIL_SPEED_19200_V110 (0x00000017) // @constdefine 19200 bps (V.110 or X.31 flag stuffing) #define RIL_SPEED_19200_V120 (0x00000018) // @constdefine 19200 bps (V.120) #define RIL_SPEED_28800_V34 (0x00000019) // @constdefine 28800 bps (V.34) #define RIL_SPEED_28800_V110 (0x0000001a) // @constdefine 28800 bps (V.110 or X.31 flag stuffing) #define RIL_SPEED_28800_V120 (0x0000001b) // @constdefine 28800 bps (V.120) #define RIL_SPEED_38400_V110 (0x0000001c) // @constdefine 38400 bps (V.110 or X.31 flag stuffing) #define RIL_SPEED_38400_V120 (0x0000001d) // @constdefine 38400 bps (V.120) #define RIL_SPEED_48000_V110 (0x0000001e) // @constdefine 48000 bps (V.110 or X.31 flag stuffing) #define RIL_SPEED_48000_V120 (0x0000001f) // @constdefine 48000 bps (V.120) #define RIL_SPEED_56000_V110 (0x00000020) // @constdefine 56000 bps (V.110 or X.31 flag stuffing) #define RIL_SPEED_56000_V120 (0x00000021) // @constdefine 56000 bps (V.120) #define RIL_SPEED_56000_TRANSP (0x00000022) // @constdefine 56000 bps (bit transparent) #define RIL_SPEED_64000_TRANSP (0x00000023) // @constdefine 64000 bps (bit transparent) // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Telephony Service | Telephony service types // // @comm None // // ----------------------------------------------------------------------------- #define RIL_SERVICE_UNKNOWN (0x00000000) // @constdefine Unknown service #define RIL_SERVICE_MODEM_ASYNC (0x00000001) // @constdefine Asynchronous modem #define RIL_SERVICE_MODEM_SYNC (0x00000002) // @constdefine Synchronous modem #define RIL_SERVICE_PADACCESS_ASYNC (0x00000003) // @constdefine PAD Access (asynchronous) #define RIL_SERVICE_PACKETACCESS_SYNC (0x00000004) // @constdefine Packet Access (synchronous) #define RIL_SERVICE_VOICE (0x00000005) // @constdefine Voice #define RIL_SERVICE_FAX (0x00000006) // @constdefine Fax // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants ITC | Information trasnfer capability types // // @comm None // // ----------------------------------------------------------------------------- #define RIL_ITC_31KHZ (0x00000001) // @constdefine 3.1 kHz #define RIL_ITC_UDI (0x00000002) // @constdefine Unrestricted Digital Information // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Operator Name | Operator name formats // // @comm None // // ----------------------------------------------------------------------------- #define RIL_OPFORMAT_LONG (0x00000001) // @constdefine Long alphanumeric name #define RIL_OPFORMAT_SHORT (0x00000002) // @constdefine Short alphanumeric name #define RIL_OPFORMAT_NUM (0x00000003) // @constdefine Numeric name // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Operator Status | Operator status values // // @comm None // // ----------------------------------------------------------------------------- #define RIL_OPSTATUS_UNKNOWN (0x00000000) // @constdefine Unknown status #define RIL_OPSTATUS_AVAILABLE (0x00000001) // @constdefine Operator is available #define RIL_OPSTATUS_CURRENT (0x00000002) // @constdefine Operator is current #define RIL_OPSTATUS_FORBIDDEN (0x00000003) // @constdefine Operator is forbidden // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Operator Selection | Operator selection modes // // @comm None // // ----------------------------------------------------------------------------- #define RIL_OPSELMODE_AUTOMATIC (0x00000001) // @constdefine Automatic operator selection #define RIL_OPSELMODE_MANUAL (0x00000002) // @constdefine Manual operator selection #define RIL_OPSELMODE_MANUALAUTOMATIC (0x00000003) // @constdefine Manual/automatic operator selection // (if manual selection fails, automatic selection mode is entered) // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Operator Special | Special preferred operator index value // // @comm None // // ----------------------------------------------------------------------------- #define RIL_PREFOPINDEX_FIRSTAVAILABLE (0xffffffff) // @constdefine Used to specify that a preferred operator is // to be stored at the first available index // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Information Class | Telephony information classes // // @comm None // // ----------------------------------------------------------------------------- #define RIL_INFOCLASS_NONE (0x00000000) // @constdefine None #define RIL_INFOCLASS_VOICE (0x00000001) // @constdefine Voice #define RIL_INFOCLASS_DATA (0x00000002) // @constdefine Data #define RIL_INFOCLASS_FAX (0x00000004) // @constdefine Fax #define RIL_INFOCLASS_SMS (0x00000008) // @constdefine SMS #define RIL_INFOCLASS_DATACIRCUITSYNC (0x00000010) // @constdefine Data Circuit synchronous #define RIL_INFOCLASS_DATACIRCUITASYNC (0x00000020) // @constdefine Data Circuit asynchronous #define RIL_INFOCLASS_PACKETACCESS (0x00000040) // @constdefine Dedicated Packet Access #define RIL_INFOCLASS_PADACCESS (0x00000080) // @constdefine Dedicated PAD Access #define RIL_INFOCLASS_ALL (0x000000ff) // @constdefine All information classes // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Supplemental Activation | Supplementary service status values // // @comm None // // ----------------------------------------------------------------------------- #define RIL_SVCSTAT_UNKNOWN (0x00000000) // @constdefine Unknown status #define RIL_SVCSTAT_DISABLED (0x00000001) // @constdefine Service is disabled #define RIL_SVCSTAT_ENABLED (0x00000002) // @constdefine Service is enabled #define RIL_SVCSTAT_DEFAULT (0x00000003) // @constdefine Default status // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Supplementary Service Provisioning | Supplementary service provisioning values // // @comm None // // ----------------------------------------------------------------------------- #define RIL_SVCPROV_UNKNOWN (0x00000000) // @constdefine Unknown provisioning #define RIL_SVCPROV_NOTPROVISIONED (0x00000001) // @constdefine Service isn't provisioned #define RIL_SVCPROV_PROVISIONED (0x00000002) // @constdefine Service is provisioned #define RIL_SVCPROV_TEMPMODERESTRICTED (0x00000003) // @constdefine Service temporary mode is restricted #define RIL_SVCPROV_TEMPMODEALLOWED (0x00000004) // @constdefine Service temporary mode is allowed // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants CUG Special | Closed User Group special index value // // @comm None // // ----------------------------------------------------------------------------- #define RIL_CUGINDEX_NONE (0xffffffff) // @constdefine Used to identify the absence of CUG index // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants CUG Info Level | Closed User Group information levels // // @comm This feature is not used and is untested. // // ----------------------------------------------------------------------------- #define RIL_CUGINFO_NONE (0x00000000) // @constdefine TBD #define RIL_CUGINFO_SUPPRESSOA (0x00000001) // @constdefine TBD #define RIL_CUGINFO_SUPRESSPREF (0x00000002) // @constdefine TBD #define RIL_CUGINFO_SUPPRESSOAANDPREF (0x00000003) // @constdefine TBD // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Forwarding Reason | Forwarding reasons // // @comm None // // ----------------------------------------------------------------------------- #define RIL_FWDREASON_UNCONDITIONAL (0x00000001) // @constdefine Always forward #define RIL_FWDREASON_MOBILEBUSY (0x00000002) // @constdefine Forward when device busy #define RIL_FWDREASON_NOREPLY (0x00000003) // @constdefine Forward when no answer #define RIL_FWDREASON_UNREACHABLE (0x00000004) // @constdefine Forward device out of service #define RIL_FWDREASON_ALLFORWARDING (0x00000005) // @constdefine TBD #define RIL_FWDREASON_ALLCONDITIONAL (0x00000006) // @constdefine TBD // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Call Type | Call types // // @comm None // // ----------------------------------------------------------------------------- #define RIL_CALLTYPE_UNKNOWN (0x00000000) // @constdefine Unknown #define RIL_CALLTYPE_VOICE (0x00000001) // @constdefine Voice call #define RIL_CALLTYPE_DATA (0x00000002) // @constdefine Data call #define RIL_CALLTYPE_FAX (0x00000003) // @constdefine Fax call // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Dialing Option | Dialing options // // @comm None // // ----------------------------------------------------------------------------- #define RIL_DIALOPT_NONE (0x00000000) // @constdefine No options #define RIL_DIALOPT_RESTRICTID (0x00000001) // @constdefine Restrict CLI presentation #define RIL_DIALOPT_PRESENTID (0x00000002) // @constdefine Allow CLI presentation #define RIL_DIALOPT_CLOSEDGROUP (0x00000004) // @constdefine Closed User Group dialing #define RIL_DIALOPT_ALL (0x00000007) // @constdefine All options // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Call Option | Call options defaults // // @comm None // // ----------------------------------------------------------------------------- #define RIL_DIALTONEWAIT_DEFAULT (0x00000000) // @constdefine TBD #define RIL_DIALTIMEOUT_DEFAULT (0x00000000) // @constdefine TBD #define RIL_COMMAPAUSE_DEFAULT (0x00000000) // @constdefine TBD #define RIL_DISCONNECTTIMEOUT_DEFAULT (0x00000000) // @constdefine TBD // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants DTMF Duration | DTMF tone duration default // // @comm None // // ----------------------------------------------------------------------------- // #define RIL_DTMFDURATION_DEFAULT (0x00000000) // @constdefine TBD // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Number of Calls to Track | Number of Calls to Track // // @comm None // // ----------------------------------------------------------------------------- #define RIL_MAX_TRACKED_CALL_ID 10 // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Call Direction | Call direction // // @comm None // // ----------------------------------------------------------------------------- #define RIL_CALLDIR_INCOMING (0x00000001) // @constdefine Incoming call #define RIL_CALLDIR_OUTGOING (0x00000002) // @constdefine Outgoing call // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Call Status | Call status values // // @comm None // // ----------------------------------------------------------------------------- #define RIL_CALLSTAT_ACTIVE (0x00000001) // @constdefine Active call #define RIL_CALLSTAT_ONHOLD (0x00000002) // @constdefine Call on hold #define RIL_CALLSTAT_DIALING (0x00000003) // @constdefine In the process of dialing #define RIL_CALLSTAT_ALERTING (0x00000004) // @constdefine In the process of ringing #define RIL_CALLSTAT_INCOMING (0x00000005) // @constdefine Incoming (unanswered) call #define RIL_CALLSTAT_WAITING (0x00000006) // @constdefine Incoming call waiting call // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants CPI Status | CPI status values // // @comm None // // ----------------------------------------------------------------------------- #define RIL_CPISTAT_UNKNOWN (0x00000000) // @constdefine #define RIL_CPISTAT_NEW_OUTGOING (0x00000001) // @constdefine #define RIL_CPISTAT_NEW_INCOMING (0x00000002) // @constdefine #define RIL_CPISTAT_CONNECTED (0x00000003) // @constdefine #define RIL_CPISTAT_DISCONNECTED (0x00000004) // @constdefine // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Intermediate Supplementary Service | Intermediate Supplementary Service Codes // // @comm None // // ----------------------------------------------------------------------------- #define RIL_INTSSCODE_UNCONDITIONALCFACTIVE (0x00000000) // @constdefine Unconditional call forwarding is active #define RIL_INTSSCODE_SOMECONDITIONALCFACTIVE (0x00000001) // @constdefine Some of the conditional call forwarding settings are active #define RIL_INTSSCODE_CALLWASFORWARDED (0x00000002) // @constdefine Call has been forwarded #define RIL_INTSSCODE_CALLISWAITING (0x00000003) // @constdefine Call is waiting #define RIL_INTSSCODE_CUGCALL (0x00000004) // @constdefine This is a CUG call (also present) #define RIL_INTSSCODE_OUTGOINGCALLSBARRED (0x00000005) // @constdefine Outgoing calls are barred #define RIL_INTSSCODE_INCOMINGCALLSBARRED (0x00000006) // @constdefine Incoming calls are barred #define RIL_INTSSCODE_CLIRSUPPRESSREJECT (0x00000007) // @constdefine CLIR suppression rejected #define RIL_INTSSCODE_CALLWASDEFLECTED (0x00000008) // @constdefine Call has been deflected #define RIL_INTSSCODE_MAX RIL_INTSSCODE_CALLWASDEFLECTED // @constdefine Maximum valid value // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Unsolicited Supplementary Service | Unsolicited Supplementary Service Codes // // @comm None // // ----------------------------------------------------------------------------- #define RIL_UNSSSCODE_FORWARDEDCALL (0x00000000) // @constdefine This is a forwarded call (MT call setup) #define RIL_UNSSSCODE_CUGCALL (0x00000001) // @constdefine This is a CUG call (also present) (MT call setup) #define RIL_UNSSSCODE_CALLPUTONHOLD (0x00000002) // @constdefine Call has been put on hold (during a voice call) #define RIL_UNSSSCODE_CALLRETRIEVED (0x00000003) // @constdefine Call has been retrieved (during a voice call) #define RIL_UNSSSCODE_ENTEREDMULTIPARTY (0x00000004) // @constdefine Multiparty call entered (during a voice call) #define RIL_UNSSSCODE_HELDCALLRELEASED (0x00000005) // @constdefine Call on hold has been released (this is not a SS notification) (during a voice call) #define RIL_UNSSSCODE_FORWARDCHECKSS (0x00000006) // @constdefine Forward check SS message received (can be received whenever) #define RIL_UNSSSCODE_ALERTINGEXPLICITCALLXFER (0x00000007) // @constdefine Call is being connected (alerting) with the remote party in alerting state in explicit call transfer operation (during a voice call) #define RIL_UNSSSCODE_CONNECTEDEXPLICITCALLXFER (0x00000008) // @constdefine Call has been connected with the other remote party in explicit call transfer operation (also number and subaddress parameters may be present) (during a voice call or MT call setup) #define RIL_UNSSSCODE_DEFLECTEDCALL (0x00000009) // @constdefine This is a deflected call (MT call setup) #define RIL_UNSSSCODE_ADDITIONALINCOMINGCF (0x0000000a) // @constdefine Additional incoming call forwarded #define RIL_UNSSSCODE_MAX RIL_UNSSSCODE_ADDITIONALINCOMINGCF // @constdefine Maximum valid value // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Call Multiparty | Call multiparty status values // // @comm None // // ----------------------------------------------------------------------------- #define RIL_CALL_SINGLEPARTY (0x00000000) // @constdefine Not in a conference #define RIL_CALL_MULTIPARTY (0x00000001) // @constdefine Participating in a conference // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Call Management | Call management commands // // @comm None // // ----------------------------------------------------------------------------- #define RIL_CALLCMD_RELEASEHELD (0x00000001) // @constdefine Release all held calls or sets "busy" to a waiting call #define RIL_CALLCMD_RELEASEACTIVE_ACCEPTHELD (0x00000002) // @constdefine Release all active calls and accepts a waiting/held call #define RIL_CALLCMD_RELEASECALL (0x00000003) // @constdefine Release the specified call #define RIL_CALLCMD_HOLDACTIVE_ACCEPTHELD (0x00000004) // @constdefine Hold all active calls and accepts a waiting/held call #define RIL_CALLCMD_HOLDALLBUTONE (0x00000005) // @constdefine Hold all active calls, except for the specified call #define RIL_CALLCMD_ADDHELDTOCONF (0x00000006) // @constdefine Add all held calls to a conference #define RIL_CALLCMD_ADDHELDTOCONF_DISCONNECT (0x00000007) // @constdefine Connect held calls to a conference and disconnect the user #define RIL_CALLCMD_INVOKECCBS (0x00000008) // @constdefine Invokes completion of calls to busy subscribers // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Line Status | Line status values // // @comm None // // ----------------------------------------------------------------------------- #define RIL_LINESTAT_UNKNOWN (0x00000000) // @constdefine Unknown #define RIL_LINESTAT_READY (0x00000001) // @constdefine Line is ready #define RIL_LINESTAT_UNAVAILABLE (0x00000002) // @constdefine Line is unavailable #define RIL_LINESTAT_RINGING (0x00000003) // @constdefine Incoming call on the line #define RIL_LINESTAT_CALLINPROGRESS (0x00000004) // @constdefine Call in progress #define RIL_LINESTAT_ASLEEP (0x00000005) // @constdefine Line is asleep #define RIL_LINESTAT_CONNECTING (0x00000006) // @constdefine The phone is connecting to a call, but the call is not in progress yet // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Line Registration | Line registration status values // // @comm None // // ----------------------------------------------------------------------------- #define RIL_REGSTAT_UNKNOWN (0x00000000) // @constdefine Registration unknown #define RIL_REGSTAT_UNREGISTERED (0x00000001) // @constdefine Unregistered #define RIL_REGSTAT_HOME (0x00000002) // @constdefine Registered on home network #define RIL_REGSTAT_ATTEMPTING (0x00000003) // @constdefine Attempting to register #define RIL_REGSTAT_DENIED (0x00000004) // @constdefine Registration denied #define RIL_REGSTAT_ROAMING (0x00000005) // @constdefine Registered on roaming network // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants Audio Device | Audio devices // // @comm None // // ----------------------------------------------------------------------------- #define RIL_AUDIO_NONE (0x00000000) // @constdefine No audio devices #define RIL_AUDIO_HANDSET (0x00000001) // @constdefine Handset #define RIL_AUDIO_SPEAKERPHONE (0x00000002) // @constdefine Speakerphone #define RIL_AUDIO_HEADSET (0x00000003) // @constdefine Headset #define RIL_AUDIO_CARKIT (0x00000004) // @constdefine Carkit // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants HSCSD Traffic Channel | HSCSD traffic channel codings // // @comm None // // ----------------------------------------------------------------------------- #define RIL_HSCSDCODING_UNKNOWN (0x00000000) // @constdefine Unknown channel coding #define RIL_HSCSDCODING_4800_FULLRATE (0x00000001) // @constdefine 4800 bits per second #define RIL_HSCSDCODING_9600_FULLRATE (0x00000002) // @constdefine 9600 bits per second #define RIL_HSCSDCODING_14400_FULLRATE (0x00000004) // @constdefine 14400 bits per second #define RIL_HSCSDCODING_ALL (0x00000007) // @constdefine All channel codings valid // ----------------------------------------------------------------------------- // // @doc EXTERNAL // // @constants HSCSD Air Interface | HSCSD air interface user rates // // @comm None // // ----------------------------------------------------------------------------- #define RIL_HSCSDAIURATE_UNKNOWN (0x00000000) // @constdefine Air interface rate #define RIL_HSCSDAIURATE_9600 (0x00000001) // @constdefine 9600 bits per second #define RIL_HSCSDAIURATE_14400 (0x00000002) // @constdefine 14400 bits per second #define RIL_HSCSDAIURATE_19200 (0x00000003) // @constdefine 19200 bits per second #define RIL_HSCSDAIURATE_28800 (0x00000004) // @constdefine 28800 bits per second #define RIL_HSCSDAIURATE_38400 (0x00000005) // @constdefine 38400 bits per second #define RIL_HSCSDAIURATE_43200 (0x00000006) // @constdefine 43200 bits per second #define RIL_HSCSDAIURATE_57600