# Common

**Detailed Description**

This section contains APIs related to Logger, Command Callbacks, Error Codes and Version information.
Also contains Macros to print message at different log level.

- *group* Telematics\_common

    - Typedefs

- using SubsystemTypes = uint32\_t

    - Bitmask of subsystems from [telux::common::Subsystem](https://docs.qualcomm.com/doc/80-PF458-8/topic/enum_a00023_1ga2073a18e4e65c09df730e5b8b51e6235.html#a00023_1ga2073a18e4e65c09df730e5b8b51e6235). Multiple values can be OR’ed together, for example; (APSS | MPSS).

Enums

- enum Status

    - Defines all the status codes that all Telematics SDK APIs can return

*Values:*

- enumerator SUCCESS

    - API processing is successful, returned parameters are valid

- enumerator FAILED

    - API processing failure.

- enumerator NOCONNECTION

    - Connection to Socket server has not been established

- enumerator NOSUBSCRIPTION

    - Subscription not available

- enumerator INVALIDPARAM

    - Input parameters are invalid

- enumerator INVALIDSTATE

    - Invalid State

- enumerator NOTREADY

    - Subsystem is not ready

- enumerator NOTALLOWED

    - Operation not allowed

- enumerator NOTIMPLEMENTED

    - Functionality not implemented

- enumerator CONNECTIONLOST

    - Connection to Socket server lost

- enumerator EXPIRED

    - Expired

- enumerator ALREADY

    - Already registered handler

- enumerator NOSUCH

    - No such object

- enumerator NOTSUPPORTED

    - Not supported on target platform

- enumerator NOMEMORY

    - Not sufficient memory to process the request

- enumerator ACCESSDENIED

    - Permission denied

- enumerator PARTIAL

    - Partially successful; some operations succeeded while others failed

- enum ErrorCode

    - Generic Error code for each API responses

*Values:*

- enumerator SUCCESS

    - No error

- enumerator RADIO\_NOT\_AVAILABLE

    - If radio did not start or is resetting

- enumerator GENERIC\_FAILURE

    - Generic Failure

- enumerator PASSWORD\_INCORRECT

    - For PIN/PIN2 methods only

- enumerator SIM\_PIN2

    - Operation requires SIM PIN2 to be entered

- enumerator SIM\_PUK2

    - Operation requires SIM PIN2 to be entered

- enumerator REQUEST\_NOT\_SUPPORTED

    - Not Supported request

- enumerator CANCELLED

    - Cancelled

- enumerator OP\_NOT\_ALLOWED\_DURING\_VOICE\_CALL

    - Data operation are not allowed during voice call on a Class C GPRS device

- enumerator OP\_NOT\_ALLOWED\_BEFORE\_REG\_TO\_NW

    - Data operation are not allowed before device registers in network

- enumerator SMS\_SEND\_FAIL\_RETRY

    - Fail to send SMS and need retry

- enumerator SIM\_ABSENT

    - Fail to set the location where CDMA subscription
    Copy to clipboard

 shall be retrieved because of SIM or RUIM are absent

- enumerator SUBSCRIPTION\_NOT\_AVAILABLE

    - Fail to find CDMA subscription from specified location

- enumerator MODE\_NOT\_SUPPORTED

    - Hardware does not support preferred network type

- enumerator FDN\_CHECK\_FAILURE

    - Command failed because recipient is not on FDN list

- enumerator ILLEGAL\_SIM\_OR\_ME

    - Network selection failed due to illegal SIM or ME

- enumerator MISSING\_RESOURCE

    - No logical channel available

- enumerator NO\_SUCH\_ELEMENT

    - Application not found on SIM

- enumerator DIAL\_MODIFIED\_TO\_USSD

    - DIAL request modified to USSD

- enumerator DIAL\_MODIFIED\_TO\_SS

    - DIAL request modified to SS

- enumerator DIAL\_MODIFIED\_TO\_DIAL

    - DIAL request modified to DIAL with different data

- enumerator USSD\_MODIFIED\_TO\_DIAL

    - USSD request modified to DIAL

- enumerator USSD\_MODIFIED\_TO\_SS

    - USSD request modified to SS

- enumerator USSD\_MODIFIED\_TO\_USSD

    - USSD request modified to different USSD request

- enumerator SS\_MODIFIED\_TO\_DIAL

    - SS request modified to DIAL

- enumerator SS\_MODIFIED\_TO\_USSD

    - SS request modified to USSD

- enumerator SUBSCRIPTION\_NOT\_SUPPORTED

    - Subscription not supported

- enumerator SS\_MODIFIED\_TO\_SS

    - SS request modified to different SS request

- enumerator LCE\_NOT\_SUPPORTED

    - LCE service not supported

- enumerator NO\_MEMORY

    - Not sufficient memory to process the request

- enumerator INTERNAL\_ERR

    - Hit unexpected vendor internal error scenario

- enumerator SYSTEM\_ERR

    - Hit platform or system error

- enumerator MODEM\_ERR

    - Hit unexpected modem error

- enumerator INVALID\_STATE

    - Unexpected request for the current state

- enumerator NO\_RESOURCES

    - Not sufficient resource to process the request

- enumerator SIM\_ERR

    - Received error from SIM card

- enumerator INVALID\_ARGUMENTS

    - Received invalid arguments in request

- enumerator INVALID\_SIM\_STATE

    - Cannot process the request in current SIM state

- enumerator INVALID\_MODEM\_STATE

    - Cannot process the request in current Modem state

- enumerator INVALID\_CALL\_ID

    - Received invalid call id in request

- enumerator NO\_SMS\_TO\_ACK

    - ACK received when there is no SMS to ack

- enumerator NETWORK\_ERR

    - Received error from network

- enumerator REQUEST\_RATE\_LIMITED

    - Operation denied due to overly-frequent requests

- enumerator SIM\_BUSY

    - SIM is busy

- enumerator SIM\_FULL

    - The target EF is full

- enumerator NETWORK\_REJECT

    - Request is rejected by network

- enumerator OPERATION\_NOT\_ALLOWED

    - Not allowed the request now

- enumerator EMPTY\_RECORD

    - The request record is empty

- enumerator INVALID\_SMS\_FORMAT

    - Invalid SMS format

- enumerator ENCODING\_ERR

    - Message not encoded properly

- enumerator INVALID\_SMSC\_ADDRESS

    - SMSC address specified is invalid

- enumerator NO\_SUCH\_ENTRY

    - No such entry present to perform the request

- enumerator NETWORK\_NOT\_READY

    - Network is not ready to perform the request

- enumerator NOT\_PROVISIONED

    - Device does not have this value provisioned

- enumerator NO\_SUBSCRIPTION

    - Device does not have subscription

- enumerator NO\_NETWORK\_FOUND

    - Network cannot be found

- enumerator DEVICE\_IN\_USE

    - Operation cannot be performed because the device is currently in use

- enumerator ABORTED

    - Operation aborted

- enumerator ALREADY

    - Already registered handler

- enumerator INCOMPATIBLE\_STATE

    - Operation cannot be performed because the device is in incompatible state

- enumerator NO\_EFFECT

    - Given request had to no effect

- enumerator DEVICE\_NOT\_READY

    - Device not ready

- enumerator MISSING\_ARGUMENTS

    - Missing one or more arguments

- enumerator FILE\_NOT\_FOUND

    - Required configuration file is missing

- enumerator PIN\_PERM\_BLOCKED

    - PIN is permanently blocked. The SIM is unusable.

- enumerator PIN\_BLOCKED

    - PIN is blocked. Unblock operation must be issued.

- enumerator MALFORMED\_MSG

    - Message was not formulated correctly by the control point or the message was corrupted during transmission

- enumerator INTERNAL

    - Internal error

- enumerator CLIENT\_IDS\_EXHAUSTED

    - Client IDs exhausted

- enumerator UNABORTABLE\_TRANSACTION

    - The specified transaction could not be aborted

- enumerator INVALID\_CLIENT\_ID

    - Could not find client’s request

- enumerator NO\_THRESHOLDS

    - No thresholds specified in enable signal strength

- enumerator INVALID\_HANDLE

    - Invalid client handle was received

- enumerator INVALID\_PROFILE

    - Invalid profile index specified

- enumerator INVALID\_PINID

    - PIN in the request is invalid.

- enumerator INCORRECT\_PIN

    - PIN in the request is incorrect.

- enumerator CALL\_FAILED

    - Call origination failed in the lower layers

- enumerator OUT\_OF\_CALL

    - Request issued when packet data session disconnected

- enumerator MISSING\_ARG

    - TLV was missing in the request.

- enumerator ARG\_TOO\_LONG

    - Path in the request was too long.

- enumerator INVALID\_TX\_ID

    - The transaction ID supplied in the request does not match any pending transaction i.e. either the transaction was not received or it is already executed by the device

- enumerator OP\_NETWORK\_UNSUPPORTED

    - Selected operation is not supported by the network

- enumerator OP\_DEVICE\_UNSUPPORTED

    - Operation is not supported by device or SIM card

- enumerator NO\_FREE\_PROFILE

    - Maximum number of profiles are stored in the device and there is no more storage available to create a new profile

- enumerator INVALID\_PDP\_TYPE

    - PDP type specified is not supported

- enumerator INVALID\_TECH\_PREF

    - Invalid technology preference

- enumerator INVALID\_PROFILE\_TYPE

    - Invalid profile type is specified

- enumerator INVALID\_SERVICE\_TYPE

    - Invalid service type

- enumerator INVALID\_REGISTER\_ACTION

    - Invalid register action value specified in request

- enumerator INVALID\_PS\_ATTACH\_ACTION

    - Invalid PS attach action value specified in request

- enumerator AUTHENTICATION\_FAILED

    - Authentication error.

- enumerator SIM\_NOT\_INITIALIZED

    - PIN is not yet initialized because the SIM initialization has not finished. Try the PIN operation later.

- enumerator MAX\_QOS\_REQUESTS\_IN\_USE

    - Maximum QoS requests in use

- enumerator INCORRECT\_FLOW\_FILTER

    - Incorrect flow filter

- enumerator NETWORK\_QOS\_UNAWARE

    - Network QoS unaware

- enumerator INVALID\_ID

    - Invalid call ID was sent in the request

- enumerator REQUESTED\_NUM\_UNSUPPORTED

    - Requested message ID is not supported by the currently running software

- enumerator INTERFACE\_NOT\_FOUND

    - Cannot retrieve the FMC interface

- enumerator FLOW\_SUSPENDED

    - Flow suspended

- enumerator INVALID\_DATA\_FORMAT

    - Invalid data format

- enumerator GENERAL

    - General error

- enumerator UNKNOWN

    - Unknown error

- enumerator INVALID\_ARG

    - Parameters passed as input were invalid

- enumerator INVALID\_INDEX

    - MIP profile index is not within the valid range

- enumerator NO\_ENTRY

    - No message exists at the specified memory storage
    Copy to clipboard

 designation

- enumerator DEVICE\_STORAGE\_FULL

    - Memory storage specified in the request is full

- enumerator CAUSE\_CODE

    - There was an error in the request

- enumerator MESSAGE\_NOT\_SENT

    - Message could not be sent

- enumerator MESSAGE\_DELIVERY\_FAILURE

    - Message could not be delivered

- enumerator INVALID\_MESSAGE\_ID

    - Message ID specified for the message is invalid

- enumerator ENCODING

    - Message is not encoded properly

- enumerator AUTHENTICATION\_LOCK

    - Maximum number of authentication failures has been reached

- enumerator INVALID\_TRANSITION

    - Selected operating mode transition from the current operating mode is invalid

- enumerator NOT\_A\_MCAST\_IFACE

    - Not a MCAST interface

- enumerator MAX\_MCAST\_REQUESTS\_IN\_USE

    - MCAST request in use

- enumerator INVALID\_MCAST\_HANDLE

    - An invalid MCAST handle

- enumerator INVALID\_IP\_FAMILY\_PREF

    - IP family preference is invalid

- enumerator SESSION\_INACTIVE

    - Session inactive

- enumerator SESSION\_INVALID

    - Session not valid

- enumerator SESSION\_OWNERSHIP

    - Session ownership error

- enumerator INSUFFICIENT\_RESOURCES

    - Response is longer than the maximum supported size

- enumerator DISABLED

    - Disabled

- enumerator INVALID\_OPERATION

    - Device is not expecting the request.

- enumerator INVALID\_QMI\_CMD

    - Invalid QMI command

- enumerator TPDU\_TYPE

    - Message in memory contains a TPDU type that cannot
    Copy to clipboard

 be read

- enumerator SMSC\_ADDR

    - SMSC address specified is invalid

- enumerator INFO\_UNAVAILABLE

    - Information is not available

- enumerator SEGMENT\_TOO\_LONG

    - PRL segment size is too large

- enumerator SEGMENT\_ORDER

    - PRL segment order is incorrect

- enumerator BUNDLING\_NOT\_SUPPORTED

    - Bundling not supported

- enumerator OP\_PARTIAL\_FAILURE

    - Some personalization codes were set but an error prevented

- enumerator POLICY\_MISMATCH

    - Network policy does not match a valid NAT

- enumerator SIM\_FILE\_NOT\_FOUND

    - File is not present on the card.

- enumerator EXTENDED\_INTERNAL

    - Error from the the DS profile module, the extended error

- enumerator ACCESS\_DENIED

    - Access to the requested file is denied. This can occur when there is an attempt to access a PIN-protected file.

- enumerator HARDWARE\_RESTRICTED

    - Selected operating mode is invalid with the current wireless disable setting

- enumerator ACK\_NOT\_SENT

    - ACK could not be sent

- enumerator INJECT\_TIMEOUT

    - Inject timeout

- enumerator FDN\_RESTRICT

    - FDN restriction

- enumerator SUPS\_FAILURE\_CAUSE

    - Indicates supplementary services failure information;

- enumerator NO\_RADIO

    - Radio is not available

- enumerator NOT\_SUPPORTED

    - Operation is not supported

- enumerator CARD\_CALL\_CONTROL\_FAILED

    - SIM/R-UIM call control failed

- enumerator NETWORK\_ABORTED

    - Operation was released abruptly by the network

- enumerator MSG\_BLOCKED

    - Message blocked

- enumerator INVALID\_SESSION\_TYPE

    - Invalid session type

- enumerator INVALID\_PB\_TYPE

    - Invalid Phone Book type

- enumerator NO\_SIM

    - Action is being performed on a SIM that is not
    Copy to clipboard

 initialized.

- enumerator PB\_NOT\_READY

    - Phone Book not ready

- enumerator PIN\_RESTRICTION

    - PIN restriction

- enumerator PIN2\_RESTRICTION

    - PIN2 restriction

- enumerator PUK\_RESTRICTION

    - PUK restriction

- enumerator PUK2\_RESTRICTION

    - PUK2 restriction

- enumerator PB\_ACCESS\_RESTRICTED

    - Phone Book access restricted

- enumerator PB\_DELETE\_IN\_PROG

    - Phone Book delete in progress

- enumerator PB\_TEXT\_TOO\_LONG

    - Phone Book text too long

- enumerator PB\_NUMBER\_TOO\_LONG

    - Phone Book number too long

- enumerator PB\_HIDDEN\_KEY\_RESTRICTION

    - Phone Book hidden key restriction

- enumerator PB\_NOT\_AVAILABLE

    - Phone Book not available

- enumerator DEVICE\_MEMORY\_ERROR

    - Device memory error

- enumerator NO\_PERMISSION

    - No permission

- enumerator TOO\_SOON

    - Too soon

- enumerator TIME\_NOT\_ACQUIRED

    - Time not acquired

- enumerator OP\_IN\_PROGRESS

    - Operation is in progress

- enumerator DS\_PROFILE\_REG\_RESULT\_FAIL

    - General failure

- enumerator DS\_PROFILE\_REG\_RESULT\_ERR\_INVAL\_HNDL

    - Request contains an invalid profile handle

- enumerator DS\_PROFILE\_REG\_RESULT\_ERR\_INVAL\_OP

    - Invalid operation was requested

- enumerator DS\_PROFILE\_REG\_RESULT\_ERR\_INVAL\_PROFILE\_TYPE

    - Request contains an invalid technology type

- enumerator DS\_PROFILE\_REG\_RESULT\_ERR\_INVAL\_PROFILE\_NUM

    - Request contains an invalid profile number

- enumerator DS\_PROFILE\_REG\_RESULT\_ERR\_INVAL\_IDENT

    - Request contains an invalid profile identifier

- enumerator DS\_PROFILE\_REG\_RESULT\_ERR\_INVAL

    - Request contains an invalid argument other than profile number and profile identifier received

- enumerator DS\_PROFILE\_REG\_RESULT\_ERR\_LIB\_NOT\_INITED

    - Profile registry has not been initialized yet

- enumerator DS\_PROFILE\_REG\_RESULT\_ERR\_LEN\_INVALID

    - Request contains a parameter with invalid length

- enumerator DS\_PROFILE\_REG\_RESULT\_LIST\_END

    - End of the profile list was reached while searching for the requested profile

- enumerator DS\_PROFILE\_REG\_RESULT\_ERR\_INVAL\_SUBS\_ID

    - Request contains an invalid subscription identifier

- enumerator DS\_PROFILE\_REG\_INVAL\_PROFILE\_FAMILY

    - Request contains an invalid profile family

- enumerator DS\_PROFILE\_REG\_PROFILE\_VERSION\_MISMATCH

    - [Version](https://docs.qualcomm.com/doc/80-PF458-8/topic/common.html#a00285) mismatch

- enumerator REG\_RESULT\_ERR\_OUT\_OF\_MEMORY

    - Out of memory

- enumerator DS\_PROFILE\_REG\_RESULT\_ERR\_FILE\_ACCESS

    - File access error

- enumerator DS\_PROFILE\_REG\_RESULT\_ERR\_EOF

    - End of field

- enumerator REG\_RESULT\_ERR\_VALID\_FLAG\_NOT\_SET

    - A valid flag is not set

- enumerator REG\_RESULT\_ERR\_OUT\_OF\_PROFILES

    - Out of profiles

- enumerator REG\_RESULT\_NO\_EMERGENCY\_PDN\_SUPPORT

    - No emergency PDN support

- enumerator REG\_RESULT\_PROFILE\_ALREADY\_PRESENT

    - Profile already present

- enumerator V2X\_ERR\_EXCEED\_MAX

    - Exceed max allowed number

- enumerator V2X\_ERR\_V2X\_DISABLED

    - V2x mode was not enabled

- enumerator V2X\_ERR\_UNKNOWN\_SERVICE\_ID

    - The service id unknown

- enumerator V2X\_ERR\_SRV\_ID\_L2\_ADDRS\_NOT\_COMPATIBLE

    - The service Id mismatch with L2 addr

- enumerator V2X\_ERR\_PORT\_UNAVAIL

    - The port was occupied by others

- enumerator DS\_PROFILE\_3GPP\_INVAL\_PROFILE\_FAMILY

    - Request contains an invalid 3GPP profile family

- enumerator DS\_PROFILE\_3GPP\_ACCESS\_ERR

    - Error was encountered while accessing the 3GPP profiles

- enumerator DS\_PROFILE\_3GPP\_CONTEXT\_NOT\_DEFINED

    - Specified 3GPP profile does not have a valid context

- enumerator DS\_PROFILE\_3GPP\_VALID\_FLAG\_NOT\_SET

    - Specified 3GPP profile is marked invalid

- enumerator DS\_PROFILE\_3GPP\_READ\_ONLY\_FLAG\_SET

    - Specified 3GPP profile is marked read-only

- enumerator DS\_PROFILE\_3GPP\_ERR\_OUT\_OF\_PROFILES

    - Creation of a new 3GPP profile failed because the limit of 16 profiles has already been reached

- enumerator DS\_PROFILE\_3GPP2\_ERR\_INVALID\_IDENT\_FOR\_PROFILE

    - Invalid profile identifier was received as part of the 3GPP2 profile modification request

- enumerator DS\_PROFILE\_3GPP2\_ERR\_OUT\_OF\_PROFILE

    - Creation of a new 3GPP2 profile failed because the limit has already been reached

- enumerator INTERNAL\_ERROR

    - Internal error

- enumerator SERVICE\_ERROR

    - Service error

- enumerator TIMEOUT\_ERROR

    - Timeout error

- enumerator EXTENDED\_ERROR

    - Extended error

- enumerator PORT\_NOT\_OPEN\_ERROR

    - Port not open

- enumerator MEMCOPY\_ERROR

    - Memory copy error

- enumerator INVALID\_TRANSACTION

    - Invalid transaction

- enumerator ALLOCATION\_FAILURE

    - Allocation failure

- enumerator TRANSPORT\_ERROR

    - Transport error

- enumerator PARAM\_ERROR

    - Parameter error

- enumerator INVALID\_CLIENT

    - Invalid client

- enumerator FRAMEWORK\_NOT\_READY

    - Framework not ready

- enumerator INVALID\_SIGNAL

    - Invalid signal

- enumerator TRANSPORT\_BUSY\_ERROR

    - Transport busy error

- enumerator SUBSYSTEM\_UNAVAILABLE

    - Underlying service currently unavailable

- enumerator OPERATION\_TIMEOUT

    - Timeout error

- enumerator ROLLBACK\_FAILED

    - Rollback to initial state failed

- enumerator ROT\_ALREADY\_SET

    - Root of trust already configured

- enumerator UNSUPPORTED\_PURPOSE

    - Unsupported use of the key

- enumerator INCOMPATIBLE\_PURPOSE

    - Incompatible purpose

- enumerator UNSUPPORTED\_ALGO

    - Unsupported algorithm

- enumerator INCOMPATIBLE\_ALGO

    - Incompatible algorithm

- enumerator UNSUPPORTED\_KEY\_SIZE

    - Unsupported key size

- enumerator UNSUPPORTED\_BLOCK\_MODE

    - Unsupported block mode

- enumerator INCOMPATIBLE\_BLOCK\_MODE

    - Incompatible block mode

- enumerator UNSUPPORTED\_MAC\_LEN

    - Unsupported MAC length

- enumerator UNSUPPORTED\_PADDING\_MODE

    - Unsupported padding mode

- enumerator UNSUPPORTED\_DIGEST

    - Unsupported digest

- enumerator INCOMPATIBLE\_DIGEST

    - Incompatible digest

- enumerator INVAL\_EXP\_TIME

    - Invalid expiration time

- enumerator INVAL\_USR\_ID

    - Invalid user ID

- enumerator INVAL\_AUTH\_TIMEOUT

    - Invalid authorization timeout

- enumerator UNSUPPORTED\_KEY\_FMT

    - Unsupported key format

- enumerator INCOMPATIBLE\_KEY\_FMT

    - Incompatible key format

- enumerator UNSUPPORTED\_KEY\_ENC\_ALGO

    - Unsupported key encryption algorithm (for PKCS8 & PKCS12)

- enumerator UNSUPPORTED\_KEY\_VRFY\_ALGO

    - Unsupported key verification algorithm (for PKCS8 & PKCS12)

- enumerator INVAL\_IN\_LEN

    - Invalid input length

- enumerator INVAL\_KEY\_EXPRT\_OPTNS

    - Invalid oprions for key export

- enumerator DELEGATION\_NOT\_ALLOWED

    - Delegation not allowed

- enumerator KEY\_NOT\_YET\_VALID

    - Key still not valid

- enumerator KEY\_EXPIRED

    - Key has expired

- enumerator KEY\_USR\_NOT\_AUTHENTICATED

    - Key user not authenticated

- enumerator OUT\_PARAMETER\_NULL

    - Null output argument

- enumerator INVAL\_OPERATION\_HNDL

    - Invalid operation handle

- enumerator INSUFFICIENT\_BUF\_SPACE

    - Insufficient buffer space

- enumerator VERIFICATION\_FAILED

    - Verifcation failed

- enumerator TOO\_MANY\_OPS

    - Too many operations

- enumerator UNEXPECTED\_NULL\_PTR

    - Unexpected null pointer

- enumerator INVAL\_KEY\_BLOB

    - Invalid key blob

- enumerator IMPORTED\_KEY\_NOT\_ENC

    - Imported key not encrypted

- enumerator IMPORTED\_KEY\_DEC\_FAIL

    - Imported key decryption failed

- enumerator IMPORTED\_KEY\_NOT\_SIGNED

    - Imported key not signed

- enumerator IMPORTED\_KEY\_VRFY\_FAIL

    - Imported key verification failed

- enumerator UNSUPPORTED\_TAG

    - Unsupported tag

- enumerator INVAL\_TAG

    - Invalid TAG

- enumerator IMPORT\_PARAM\_MISMATCH

    - Mismatch in import parameters

- enumerator SEC\_HW\_ACCESS\_DENIED

    - Secure hardware access denied

- enumerator CONCUR\_ACCESS\_CONFLICT

    - Concurrent access conflict

- enumerator SEC\_HW\_BUSY

    - Secure hardware busy

- enumerator SEC\_HW\_COM\_FAIL

    - Secure hardware communication failed

- enumerator UNSUPPORTED\_EC\_FIELD

    - Unsupported EC field

- enumerator MISSING\_NONCE

    - Missing nonce

- enumerator INVAL\_NONCE

    - Invalid nonce

- enumerator MISSING\_MAC\_LEN

    - Missing MAC length

- enumerator KEY\_RATE\_LIMIT\_EXCEEDED

    - Key limit exceeded

- enumerator CALLER\_NONCE\_PROHIBITED

    - Caller nonce proibited

- enumerator KEY\_MAX\_OPS\_EXCEEDED

    - Key maximum operations exceeded

- enumerator INVAL\_MAC\_LEN

    - Invalid MAC length

- enumerator MISSING\_MIN\_MAC\_LEN

    - Missing minimum MAC length

- enumerator UNSUPPORTED\_MIN\_MAC\_LEN

    - Unsupported minimum MAC length

- enumerator UNSUPPORTED\_KDF

    - Unsupported KDF

- enumerator UNSUPPORTED\_EC\_CURVE

    - Unsupported EC curve

- enumerator KEY\_REQ\_UPGRADE

    - Key requires upgrade

- enumerator ATTESTATION\_CHLNG\_MIS

    - Attestation challenge missing

- enumerator KM\_NOT\_CONFGRD

    - Keymaster not configured

- enumerator ATTESTATION\_APPID\_MIS

    - Attestation app ID missing

- enumerator CANNOT\_ATTEST\_IDS

    - Can not attest IDs

- enumerator UNIMPLEMENTED

    - Unimplemented

- enumerator VER\_MISMATCH

    - [Version](https://docs.qualcomm.com/doc/80-PF458-8/topic/common.html#a00285) mismatch

- enumerator SOTER\_ERR

    - Soter error

- enumerator DMA\_ERR

    - HSDMA error

- enumerator DIV\_ERR

    - Divided by error

- enumerator OVERFLOW\_UNDERFLOW

    - Arithmetic overflow or underflow

- enumerator RNG\_UNSEEDED

    - Read from unseeded ring

- enumerator MEM\_ERR

    - Memory read

- enumerator MODULUS\_ERR

    - Modulus error

- enumerator DECODING\_ERR

    - Decode error

- enumerator INVALID\_LENGTH

    - Invalid length of data

- enum ServiceStatus

    - Service status.

*Values:*

- enumerator SERVICE\_UNAVAILABLE

    - 

- enumerator SERVICE\_AVAILABLE

    - 

- enumerator SERVICE\_FAILED

    -

- enum ProcType

    - This applies in system architectures where the modem is attached to an External Application Processor(EAP). The operations associated with the ProcType can be performed by SDK either on EAP or the modem’s Internal Application Processor(IAP). This type specifies where the operation is carried out.

*Values:*

- enumerator LOCAL\_PROC

    - Perform the operation on the processor where the API is invoked.

- enumerator REMOTE\_PROC

    - Perform the operation on the application processor other than where the API is invoked.

- enum Subsystem

    - Subsystem

*Values:*

- enumerator NONE

    - No subsystem.

- enumerator APSS

    - Application Processor Sub System; runs high-level operating system like Linux.

- enumerator MPSS

    - Modem Peripheral Sub System; provides access to the cellular network.

- enum OperationalStatus

    - Functional status. Please refer to the documentation where it is used to interpret its contextual meaning.

*Values:*

- enumerator UNKNOWN

    - Current status is unknown.

- enumerator OPERATIONAL

    - Operational; can perform expected tasks.

- enumerator UNAVAILABLE

    - Unavailable; crashed or booting.

- enum BoolValue

    - Defines boolean type

*Values:*

- enumerator STATE\_FALSE

    - Status: FALSE

- enumerator STATE\_TRUE

    - Status: TRUE

- enumerator STATE\_UNKNOWN

    - Status: UNKNOWN

- enum EndReasonType

    - Data call end/termination due to reason type.

*Values:*

- enumerator CE\_UNKNOWN

    - 

- enumerator CE\_MOBILE\_IP

    - 

- enumerator CE\_INTERNAL

    - 

- enumerator CE\_CALL\_MANAGER\_DEFINED

    - 

- enumerator CE\_3GPP\_SPEC\_DEFINED

    - 

- enumerator CE\_PPP

    - 

- enumerator CE\_EHRPD

    - 

- enumerator CE\_IPV6

    - 

- enumerator CE\_HANDOFF

    -

- enum MobileIpReasonCode

    - Data call end/termination reason code for EndReasonType::CE\_MOBILE\_IP

*Values:*

- enumerator CE\_MIP\_FA\_ERR\_REASON\_UNSPECIFIED

    - 

- enumerator CE\_MIP\_FA\_ERR\_ADMINISTRATIVELY\_PROHIBITED

    - 

- enumerator CE\_MIP\_FA\_ERR\_INSUFFICIENT\_RESOURCES

    - 

- enumerator CE\_MIP\_FA\_ERR\_MOBILE\_NODE\_AUTHENTICATION\_FAILURE

    - 

- enumerator CE\_MIP\_FA\_ERR\_HA\_AUTHENTICATION\_FAILURE

    - 

- enumerator CE\_MIP\_FA\_ERR\_REQUESTED\_LIFETIME\_TOO\_LONG

    - 

- enumerator CE\_MIP\_FA\_ERR\_MALFORMED\_REQUEST

    - 

- enumerator CE\_MIP\_FA\_ERR\_MALFORMED\_REPLY

    - 

- enumerator CE\_MIP\_FA\_ERR\_ENCAPSULATION\_UNAVAILABLE

    - 

- enumerator CE\_MIP\_FA\_ERR\_VJHC\_UNAVAILABLE

    - 

- enumerator CE\_MIP\_FA\_ERR\_REVERSE\_TUNNEL\_UNAVAILABLE

    - 

- enumerator CE\_MIP\_FA\_ERR\_REVERSE\_TUNNEL\_IS\_MANDATORY\_AND\_T\_BIT\_NOT\_SET

    - 

- enumerator CE\_MIP\_FA\_ERR\_DELIVERY\_STYLE\_NOT\_SUPPORTED

    - 

- enumerator CE\_MIP\_FA\_ERR\_MISSING\_NAI

    - 

- enumerator CE\_MIP\_FA\_ERR\_MISSING\_HA

    - 

- enumerator CE\_MIP\_FA\_ERR\_MISSING\_HOME\_ADDR

    - 

- enumerator CE\_MIP\_FA\_ERR\_UNKNOWN\_CHALLENGE

    - 

- enumerator CE\_MIP\_FA\_ERR\_MISSING\_CHALLENGE

    - 

- enumerator CE\_MIP\_FA\_ERR\_STALE\_CHALLENGE

    - 

- enumerator CE\_MIP\_HA\_ERR\_REASON\_UNSPECIFIED

    - 

- enumerator CE\_MIP\_HA\_ERR\_ADMINISTRATIVELY\_PROHIBITED

    - 

- enumerator CE\_MIP\_HA\_ERR\_INSUFFICIENT\_RESOURCES

    - 

- enumerator CE\_MIP\_HA\_ERR\_MOBILE\_NODE\_AUTHENTICATION\_FAILURE

    - 

- enumerator CE\_MIP\_HA\_ERR\_FA\_AUTHENTICATION\_FAILURE

    - 

- enumerator CE\_MIP\_HA\_ERR\_REGISTRATION\_ID\_MISMATCH

    - 

- enumerator CE\_MIP\_HA\_ERR\_MALFORMED\_REQUEST

    - 

- enumerator CE\_MIP\_HA\_ERR\_UNKNOWN\_HA\_ADDR

    - 

- enumerator CE\_MIP\_HA\_ERR\_REVERSE\_TUNNEL\_UNAVAILABLE

    - 

- enumerator CE\_MIP\_HA\_ERR\_REVERSE\_TUNNEL\_IS\_MANDATORY\_AND\_T\_BIT\_NOT\_SET

    - 

- enumerator CE\_MIP\_HA\_ERR\_ENCAPSULATION\_UNAVAILABLE

    - 

- enumerator CE\_MIP\_ERR\_REASON\_UNKNOWN

    -

- enum InternalReasonCode

    - Data call end/termination reason code for EndReasonType::CE\_INTERNAL

*Values:*

- enumerator CE\_RETRY

    - 

- enumerator CE\_INTERNAL\_ERROR

    - 

- enumerator CE\_CALL\_ENDED

    - 

- enumerator CE\_INTERNAL\_UNKNOWN\_CAUSE\_CODE

    - 

- enumerator CE\_UNKNOWN\_CAUSE\_CODE

    - 

- enumerator CE\_CLOSE\_IN\_PROGRESS

    - 

- enumerator CE\_NW\_INITIATED\_TERMINATION

    - 

- enumerator CE\_APP\_PREEMPTED

    - 

- enumerator CE\_ERR\_PDN\_IPV4\_CALL\_DISALLOWED

    - 

- enumerator CE\_ERR\_PDN\_IPV4\_CALL\_THROTTLED

    - 

- enumerator CE\_ERR\_PDN\_IPV6\_CALL\_DISALLOWED

    - 

- enumerator CE\_ERR\_PDN\_IPV6\_CALL\_THROTTLED

    - 

- enumerator CE\_MODEM\_RESTART

    - 

- enumerator CE\_PDP\_PPP\_NOT\_SUPPORTED

    - 

- enumerator CE\_UNPREFERRED\_RAT

    - 

- enumerator CE\_PHYS\_LINK\_CLOSE\_IN\_PROGRESS

    - 

- enumerator CE\_APN\_PENDING\_HANDOVER

    - 

- enumerator CE\_PROFILE\_BEARER\_INCOMPATIBLE

    - 

- enumerator CE\_MMGSDI\_CARD\_EVT

    - 

- enumerator CE\_LPM\_OR\_PWR\_DOWN

    - 

- enumerator CE\_APN\_DISABLED

    - 

- enumerator CE\_MPIT\_EXPIRED

    - 

- enumerator CE\_IPV6\_ADDR\_TRANSFER\_FAILED

    - 

- enumerator CE\_TRAT\_SWAP\_FAILED

    - 

- enumerator CE\_EHRPD\_TO\_HRPD\_FALLBACK

    - 

- enumerator CE\_MANDATORY\_APN\_DISABLED

    - 

- enumerator CE\_MIP\_CONFIG\_FAILURE

    - 

- enumerator CE\_INTERNAL\_PDN\_INACTIVITY\_TIMER\_EXPIRED

    - 

- enumerator CE\_MAX\_V4\_CONNECTIONS

    - 

- enumerator CE\_MAX\_V6\_CONNECTIONS

    - 

- enumerator CE\_APN\_MISMATCH

    - 

- enumerator CE\_IP\_VERSION\_MISMATCH

    - 

- enumerator CE\_DUN\_CALL\_DISALLOWED

    - 

- enumerator CE\_INVALID\_PROFILE

    - 

- enumerator CE\_INTERNAL\_EPC\_NONEPC\_TRANSITION

    - 

- enumerator CE\_INVALID\_PROFILE\_ID

    - 

- enumerator CE\_INTERNAL\_CALL\_ALREADY\_PRESENT

    - 

- enumerator CE\_IFACE\_IN\_USE

    - 

- enumerator CE\_IP\_PDP\_MISMATCH

    - 

- enumerator CE\_APN\_DISALLOWED\_ON\_ROAMING

    - 

- enumerator CE\_APN\_PARAM\_CHANGE

    - 

- enumerator CE\_IFACE\_IN\_USE\_CFG\_MATCH

    - 

- enumerator CE\_NULL\_APN\_DISALLOWED

    - 

- enumerator CE\_THERMAL\_MITIGATION

    - 

- enumerator CE\_SUBS\_ID\_MISMATCH

    - 

- enumerator CE\_DATA\_SETTINGS\_DISABLED

    - 

- enumerator CE\_DATA\_ROAMING\_SETTINGS\_DISABLED

    - 

- enumerator CE\_APN\_FORMAT\_INVALID

    - 

- enumerator CE\_DDS\_CALL\_ABORT

    - 

- enumerator CE\_VALIDATION\_FAILURE

    - 

- enumerator CE\_PROFILES\_NOT\_COMPATIBLE

    - 

- enumerator CE\_NULL\_RESOLVED\_APN\_NO\_MATCH

    - 

- enumerator CE\_INVALID\_APN\_NAME

    -

- enum CallManagerReasonCode

    - Data call end/termination reason code for EndReasonType::CE\_CALL\_MANAGER\_DEFINED

*Values:*

- enumerator CE\_CDMA\_LOCK

    - 

- enumerator CE\_INTERCEPT

    - 

- enumerator CE\_REORDER

    - 

- enumerator CE\_REL\_SO\_REJ

    - 

- enumerator CE\_INCOM\_CALL

    - 

- enumerator CE\_ALERT\_STOP

    - 

- enumerator CE\_ACTIVATION

    - 

- enumerator CE\_MAX\_ACCESS\_PROBE

    - 

- enumerator CE\_CCS\_NOT\_SUPPORTED\_BY\_BS

    - 

- enumerator CE\_NO\_RESPONSE\_FROM\_BS

    - 

- enumerator CE\_REJECTED\_BY\_BS

    - 

- enumerator CE\_INCOMPATIBLE

    - 

- enumerator CE\_ALREADY\_IN\_TC

    - 

- enumerator CE\_USER\_CALL\_ORIG\_DURING\_GPS

    - 

- enumerator CE\_USER\_CALL\_ORIG\_DURING\_SMS

    - 

- enumerator CE\_NO\_CDMA\_SRV

    - 

- enumerator CE\_MC\_ABORT

    - 

- enumerator CE\_PSIST\_NG

    - 

- enumerator CE\_UIM\_NOT\_PRESENT

    - 

- enumerator CE\_RETRY\_ORDER

    - 

- enumerator CE\_ACCESS\_BLOCK

    - 

- enumerator CEACCESS\_BLOCK\_ALL

    - 

- enumerator CE\_IS707B\_MAX\_ACC

    - 

- enumerator CE\_THERMAL\_EMERGENCY

    - 

- enumerator CE\_CALL\_ORIG\_THROTTLED

    - 

- enumerator CE\_USER\_CALL\_ORIG\_DURING\_VOICE\_CALL

    - 

- enumerator CE\_CONF\_FAILED

    - 

- enumerator CE\_INCOM\_REJ

    - 

- enumerator CE\_NEW\_NO\_GW\_SRV

    - 

- enumerator CE\_NEW\_NO\_GPRS\_CONTEXT

    - 

- enumerator CE\_NEW\_ILLEGAL\_MS

    - 

- enumerator CE\_NEW\_ILLEGAL\_ME

    - 

- enumerator CE\_NEW\_GPRS\_SERVICES\_AND\_NON\_GPRS\_SERVICES\_NOT\_ALLOWED

    - 

- enumerator CE\_NEW\_GPRS\_SERVICES\_NOT\_ALLOWED

    - 

- enumerator CE\_NEW\_MS\_IDENTITY\_CANNOT\_BE\_DERIVED\_BY\_THE\_NETWORK

    - 

- enumerator CE\_NEW\_IMPLICITLY\_DETACHED

    - 

- enumerator CE\_NEW\_PLMN\_NOT\_ALLOWED

    - 

- enumerator CE\_NEW\_LA\_NOT\_ALLOWED

    - 

- enumerator CE\_NEW\_GPRS\_SERVICES\_NOT\_ALLOWED\_IN\_THIS\_PLMN

    - 

- enumerator CE\_NEW\_PDP\_DUPLICATE

    - 

- enumerator CE\_NEW\_UE\_RAT\_CHANGE

    - 

- enumerator CE\_NEW\_CONGESTION

    - 

- enumerator CE\_NEW\_NO\_PDP\_CONTEXT\_ACTIVATED

    - 

- enumerator CE\_NEW\_ACCESS\_CLASS\_DSAC\_REJECTION

    - 

- enumerator CE\_PDP\_ACTIVATE\_MAX\_RETRY\_FAILED

    - 

- enumerator CE\_RAB\_FAILURE

    - 

- enumerator CE\_ESM\_UNKNOWN\_EPS\_BEARER\_CONTEXT

    - 

- enumerator CE\_DRB\_RELEASED\_AT\_RRC

    - 

- enumerator CE\_NAS\_SIG\_CONN\_RELEASED

    - 

- enumerator CE\_REASON\_EMM\_DETACHED

    - 

- enumerator CE\_EMM\_ATTACH\_FAILED

    - 

- enumerator CE\_EMM\_ATTACH\_STARTED

    - 

- enumerator CE\_LTE\_NAS\_SERVICE\_REQ\_FAILED

    - 

- enumerator CE\_ESM\_ACTIVE\_DEDICATED\_BEARER\_REACTIVATED\_BY\_NW

    - 

- enumerator CE\_ESM\_LOWER\_LAYER\_FAILURE

    - 

- enumerator CE\_ESM\_SYNC\_UP\_WITH\_NW

    - 

- enumerator CE\_ESM\_NW\_ACTIVATED\_DED\_BEARER\_WITH\_ID\_OF\_DEF\_BEARER

    - 

- enumerator CE\_ESM\_BAD\_OTA\_MESSAGE

    - 

- enumerator CE\_ESM\_DS\_REJECTED\_THE\_CALL

    - 

- enumerator CE\_ESM\_CONTEXT\_TRANSFERED\_DUE\_TO\_IRAT

    - 

- enumerator CE\_DS\_EXPLICIT\_DEACT

    - 

- enumerator CE\_ESM\_LOCAL\_CAUSE\_NONE

    - 

- enumerator CE\_LTE\_NAS\_SERVICE\_REQ\_FAILED\_NO\_THROTTLE

    - 

- enumerator CE\_ACL\_FAILURE

    - 

- enumerator CE\_LTE\_NAS\_SERVICE\_REQ\_FAILED\_DS\_DISALLOW

    - 

- enumerator CE\_EMM\_T3417\_EXPIRED

    - 

- enumerator CE\_EMM\_T3417\_EXT\_EXPIRED

    - 

- enumerator CE\_LRRC\_UL\_DATA\_CNF\_FAILURE\_TXN

    - 

- enumerator CE\_LRRC\_UL\_DATA\_CNF\_FAILURE\_HO

    - 

- enumerator CE\_LRRC\_UL\_DATA\_CNF\_FAILURE\_CONN\_REL

    - 

- enumerator CE\_LRRC\_UL\_DATA\_CNF\_FAILURE\_RLF

    - 

- enumerator CE\_LRRC\_UL\_DATA\_CNF\_FAILURE\_CTRL\_NOT\_CONN

    - 

- enumerator CE\_LRRC\_CONN\_EST\_FAILURE

    - 

- enumerator CE\_LRRC\_CONN\_EST\_FAILURE\_ABORTED

    - 

- enumerator CE\_LRRC\_CONN\_EST\_FAILURE\_ACCESS\_BARRED

    - 

- enumerator CE\_LRRC\_CONN\_EST\_FAILURE\_CELL\_RESEL

    - 

- enumerator CE\_LRRC\_CONN\_EST\_FAILURE\_CONFIG\_FAILURE

    - 

- enumerator CE\_LRRC\_CONN\_EST\_FAILURE\_TIMER\_EXPIRED

    - 

- enumerator CE\_LRRC\_CONN\_EST\_FAILURE\_LINK\_FAILURE

    - 

- enumerator CE\_LRRC\_CONN\_EST\_FAILURE\_NOT\_CAMPED

    - 

- enumerator CE\_LRRC\_CONN\_EST\_FAILURE\_SI\_FAILURE

    - 

- enumerator CE\_LRRC\_CONN\_EST\_FAILURE\_CONN\_REJECT

    - 

- enumerator CE\_LRRC\_CONN\_REL\_NORMAL

    - 

- enumerator CE\_LRRC\_CONN\_REL\_RLF

    - 

- enumerator CE\_LRRC\_CONN\_REL\_CRE\_FAILURE

    - 

- enumerator CE\_LRRC\_CONN\_REL\_OOS\_DURING\_CRE

    - 

- enumerator CE\_LRRC\_CONN\_REL\_ABORTED

    - 

- enumerator CE\_LRRC\_CONN\_REL\_SIB\_READ\_ERROR

    - 

- enumerator CE\_DETACH\_WITH\_REATTACH\_LTE\_NW\_DETACH

    - 

- enumerator CE\_DETACH\_WITH\_OUT\_REATTACH\_LTE\_NW\_DETACH

    - 

- enumerator CE\_ESM\_PROC\_TIME\_OUT

    - 

- enumerator CE\_INVALID\_CONNECTION\_ID

    - 

- enumerator CE\_INVALID\_NSAPI

    - 

- enumerator CE\_INVALID\_PRI\_NSAPI

    - 

- enumerator CE\_INVALID\_FIELD

    - 

- enumerator CE\_RAB\_SETUP\_FAILURE

    - 

- enumerator CE\_PDP\_ESTABLISH\_MAX\_TIMEOUT

    - 

- enumerator CE\_PDP\_MODIFY\_MAX\_TIMEOUT

    - 

- enumerator CE\_PDP\_INACTIVE\_MAX\_TIMEOUT

    - 

- enumerator CE\_PDP\_LOWERLAYER\_ERROR

    - 

- enumerator CE\_PPD\_UNKNOWN\_REASON

    - 

- enumerator CE\_PDP\_MODIFY\_COLLISION

    - 

- enumerator CE\_PDP\_MBMS\_REQUEST\_COLLISION

    - 

- enumerator CE\_MBMS\_DUPLICATE

    - 

- enumerator CE\_SM\_PS\_DETACHED

    - 

- enumerator CE\_SM\_NO\_RADIO\_AVAILABLE

    - 

- enumerator CE\_SM\_ABORT\_SERVICE\_NOT\_AVAILABLE

    - 

- enumerator CE\_MESSAGE\_EXCEED\_MAX\_L2\_LIMIT

    - 

- enumerator CE\_SM\_NAS\_SRV\_REQ\_FAILURE

    - 

- enumerator CE\_RRC\_CONN\_EST\_FAILURE\_REQ\_ERROR

    - 

- enumerator CE\_RRC\_CONN\_EST\_FAILURE\_TAI\_CHANGE

    - 

- enumerator CE\_RRC\_CONN\_EST\_FAILURE\_RF\_UNAVAILABLE

    - 

- enumerator CE\_RRC\_CONN\_REL\_ABORTED\_IRAT\_SUCCESS

    - 

- enumerator CE\_RRC\_CONN\_REL\_RLF\_SEC\_NOT\_ACTIVE

    - 

- enumerator CE\_RRC\_CONN\_REL\_IRAT\_TO\_LTE\_ABORTED

    - 

- enumerator CE\_RRC\_CONN\_REL\_IRAT\_FROM\_LTE\_TO\_G\_CCO\_SUCCESS

    - 

- enumerator CE\_RRC\_CONN\_REL\_IRAT\_FROM\_LTE\_TO\_G\_CCO\_ABORTED

    - 

- enumerator CE\_IMSI\_UNKNOWN\_IN\_HSS

    - 

- enumerator CE\_IMEI\_NOT\_ACCEPTED

    - 

- enumerator CE\_EPS\_SERVICES\_AND\_NON\_EPS\_SERVICES\_NOT\_ALLOWED

    - 

- enumerator CE\_EPS\_SERVICES\_NOT\_ALLOWED\_IN\_PLMN

    - 

- enumerator CE\_MSC\_TEMPORARILY\_NOT\_REACHABLE

    - 

- enumerator CE\_CS\_DOMAIN\_NOT\_AVAILABLE

    - 

- enumerator CE\_ESM\_FAILURE

    - 

- enumerator CE\_MAC\_FAILURE

    - 

- enumerator CE\_SYNCH\_FAILURE

    - 

- enumerator CE\_UE\_SECURITY\_CAPABILITIES\_MISMATCH

    - 

- enumerator CE\_SECURITY\_MODE\_REJ\_UNSPECIFIED

    - 

- enumerator CE\_NON\_EPS\_AUTH\_UNACCEPTABLE

    - 

- enumerator CE\_CS\_FALLBACK\_CALL\_EST\_NOT\_ALLOWED

    - 

- enumerator CE\_NO\_EPS\_BEARER\_CONTEXT\_ACTIVATED

    - 

- enumerator CE\_EMM\_INVALID\_STATE

    - 

- enumerator CE\_NAS\_LAYER\_FAILURE

    - 

- enumerator CE\_MULTI\_PDN\_NOT\_ALLOWED

    - 

- enumerator CE\_EMBMS\_NOT\_ENABLED

    - 

- enumerator CE\_PENDING\_REDIAL\_CALL\_CLEANUP

    - 

- enumerator CE\_EMBMS\_REGULAR\_DEACTIVATION

    - 

- enumerator CE\_TLB\_REGULAR\_DEACTIVATION

    - 

- enumerator CE\_LOWER\_LAYER\_REGISTRATION\_FAILURE

    - 

- enumerator CE\_DETACH\_EPS\_SERVICES\_NOT\_ALLOWED

    - 

- enumerator CE\_SM\_INTERNAL\_PDP\_DEACTIVATION

    - 

- enumerator CE\_UNSUPPORTED\_1X\_PREV

    - 

- enumerator CE\_CD\_GEN\_OR\_BUSY

    - 

- enumerator CE\_CD\_BILL\_OR\_AUTH

    - 

- enumerator CE\_CHG\_HDR

    - 

- enumerator CE\_EXIT\_HDR

    - 

- enumerator CE\_HDR\_NO\_SESSION

    - 

- enumerator CE\_HDR\_ORIG\_DURING\_GPS\_FIX

    - 

- enumerator CE\_HDR\_CS\_TIMEOUT

    - 

- enumerator CE\_HDR\_RELEASED\_BY\_CM

    - 

- enumerator CE\_COLLOC\_ACQ\_FAIL

    - 

- enumerator CE\_OTASP\_COMMIT\_IN\_PROG

    - 

- enumerator CE\_NO\_HYBR\_HDR\_SRV

    - 

- enumerator CE\_HDR\_NO\_LOCK\_GRANTED

    - 

- enumerator CE\_HOLD\_OTHER\_IN\_PROG

    - 

- enumerator CE\_HDR\_FADE

    - 

- enumerator CE\_HDR\_ACC\_FAIL

    - 

- enumerator CE\_CLIENT\_END

    - 

- enumerator CE\_NO\_SRV

    - 

- enumerator CE\_FADE

    - 

- enumerator CE\_REL\_NORMAL

    - 

- enumerator CE\_ACC\_IN\_PROG

    - 

- enumerator CE\_ACC\_FAIL

    - 

- enumerator CE\_REDIR\_OR\_HANDOFF

    - 

- enumerator CE\_CM\_UNKNOWN\_ERROR

    - 

- enumerator CE\_OFFLINE

    - 

- enumerator CE\_EMERGENCY\_MODE

    - 

- enumerator CE\_PHONE\_IN\_USE

    - 

- enumerator CE\_INVALID\_MODE

    - 

- enumerator CE\_INVALID\_SIM\_STATE

    - 

- enumerator CE\_NO\_COLLOC\_HDR

    - 

- enumerator CE\_CALL\_CONTROL\_REJECTED

    - 

- enumerator CE\_UNKNOWN

    -

- enum SpecReasonCode

    - Data call end/termination reason code for EndReasonType::CE\_3GPP\_SPEC\_DEFINED

*Values:*

- enumerator CE\_OPERATOR\_DETERMINED\_BARRING

    - 

- enumerator CE\_NAS\_SIGNALLING\_ERROR

    - 

- enumerator CE\_LLC\_SNDCP\_FAILURE

    - 

- enumerator CE\_INSUFFICIENT\_RESOURCES

    - 

- enumerator CE\_UNKNOWN\_APN

    - 

- enumerator CE\_UNKNOWN\_PDP

    - 

- enumerator CE\_AUTH\_FAILED

    - 

- enumerator CE\_GGSN\_REJECT

    - 

- enumerator CE\_ACTIVATION\_REJECT

    - 

- enumerator CE\_OPTION\_NOT\_SUPPORTED

    - 

- enumerator CE\_OPTION\_UNSUBSCRIBED

    - 

- enumerator CE\_OPTION\_TEMP\_OOO

    - 

- enumerator CE\_NSAPI\_ALREADY\_USED

    - 

- enumerator CE\_REGULAR\_DEACTIVATION

    - 

- enumerator CE\_QOS\_NOT\_ACCEPTED

    - 

- enumerator CE\_NETWORK\_FAILURE

    - 

- enumerator CE\_UMTS\_REACTIVATION\_REQ

    - 

- enumerator CE\_FEATURE\_NOT\_SUPPORTED

    - 

- enumerator CE\_TFT\_SEMANTIC\_ERROR

    - 

- enumerator CE\_TFT\_SYNTAX\_ERROR

    - 

- enumerator CE\_UNKNOWN\_PDP\_CONTEXT

    - 

- enumerator CE\_FILTER\_SEMANTIC\_ERROR

    - 

- enumerator CE\_FILTER\_SYNTAX\_ERROR

    - 

- enumerator CE\_PDP\_WITHOUT\_ACTIVE\_TFT

    - 

- enumerator CE\_IP\_V4\_ONLY\_ALLOWED

    - 

- enumerator CE\_IP\_V6\_ONLY\_ALLOWED

    - 

- enumerator CE\_SINGLE\_ADDR\_BEARER\_ONLY

    - 

- enumerator CE\_ESM\_INFO\_NOT\_RECEIVED

    - 

- enumerator CE\_PDN\_CONN\_DOES\_NOT\_EXIST

    - 

- enumerator CE\_MULTI\_CONN\_TO\_SAME\_PDN\_NOT\_ALLOWED

    - 

- enumerator CE\_MAX\_ACTIVE\_PDP\_CONTEXT\_REACHED

    - 

- enumerator CE\_UNSUPPORTED\_APN\_IN\_CURRENT\_PLMN

    - 

- enumerator CE\_INVALID\_TRANSACTION\_ID

    - 

- enumerator CE\_MESSAGE\_INCORRECT\_SEMANTIC

    - 

- enumerator CE\_INVALID\_MANDATORY\_INFO

    - 

- enumerator CE\_MESSAGE\_TYPE\_UNSUPPORTED

    - 

- enumerator CE\_MSG\_TYPE\_NONCOMPATIBLE\_STATE

    - 

- enumerator CE\_UNKNOWN\_INFO\_ELEMENT

    - 

- enumerator CE\_CONDITIONAL\_IE\_ERROR

    - 

- enumerator CE\_MSG\_AND\_PROTOCOL\_STATE\_UNCOMPATIBLE

    - 

- enumerator CE\_PROTOCOL\_ERROR

    - 

- enumerator CE\_APN\_TYPE\_CONFLICT

    - 

- enumerator CE\_INVALID\_PCSCF\_ADDRESS

    - 

- enumerator CE\_INTERNAL\_CALL\_PREEMPT\_BY\_HIGH\_PRIO\_APN

    - 

- enumerator CE\_EMM\_ACCESS\_BARRED

    - 

- enumerator CE\_EMERGENCY\_IFACE\_ONLY

    - 

- enumerator CE\_IFACE\_MISMATCH

    - 

- enumerator CE\_COMPANION\_IFACE\_IN\_USE

    - 

- enumerator CE\_IP\_ADDRESS\_MISMATCH

    - 

- enumerator CE\_IFACE\_AND\_POL\_FAMILY\_MISMATCH

    - 

- enumerator CE\_EMM\_ACCESS\_BARRED\_INFINITE\_RETRY

    - 

- enumerator CE\_AUTH\_FAILURE\_ON\_EMERGENCY\_CALL

    - 

- enumerator CE\_INVALID\_DNS\_ADDR

    - 

- enumerator CE\_INVALID\_PCSCF\_DNS\_ADDR

    - 

- enumerator CE\_TEST\_LOOPBACK\_MODE\_A\_OR\_B\_ENABLED

    - 

- enumerator CE\_UNKNOWN

    -

- enum PPPReasonCode

    - Data call end/termination reason code for EndReasonType::CE\_PPP

*Values:*

- enumerator CE\_PPP\_TIMEOUT

    - 

- enumerator CE\_PPP\_AUTH\_FAILURE

    - 

- enumerator CE\_PPP\_OPTION\_MISMATCH

    - 

- enumerator CE\_PPP\_PAP\_FAILURE

    - 

- enumerator CE\_PPP\_CHAP\_FAILURE

    - 

- enumerator CE\_PPP\_CLOSE\_IN\_PROGRESS

    - 

- enumerator CE\_PPP\_NV\_REFRESH\_IN\_PROGRESS

    - 

- enumerator CE\_PPP\_UNKNOWN

    -

- enum EHRPDReasonCode

    - Data call end/termination reason code for EndReasonType::CE\_EHRPD

*Values:*

- enumerator CE\_EHRPD\_SUBS\_LIMITED\_TO\_V4

    - 

- enumerator CE\_EHRPD\_SUBS\_LIMITED\_TO\_V6

    - 

- enumerator CE\_EHRPD\_VSNCP\_TIMEOUT

    - 

- enumerator CE\_EHRPD\_VSNCP\_FAILURE

    - 

- enumerator CE\_EHRPD\_VSNCP\_3GPP2I\_GEN\_ERROR

    - 

- enumerator CE\_EHRPD\_VSNCP\_3GPP2I\_UNAUTH\_APN

    - 

- enumerator CE\_EHRPD\_VSNCP\_3GPP2I\_PDN\_LIMIT\_EXCEED

    - 

- enumerator CE\_EHRPD\_VSNCP\_3GPP2I\_NO\_PDN\_GW

    - 

- enumerator CE\_EHRPD\_VSNCP\_3GPP2I\_PDN\_GW\_UNREACH

    - 

- enumerator CE\_EHRPD\_VSNCP\_3GPP2I\_PDN\_GW\_REJ

    - 

- enumerator CE\_EHRPD\_VSNCP\_3GPP2I\_INSUFF\_PARAM

    - 

- enumerator CE\_EHRPD\_VSNCP\_3GPP2I\_RESOURCE\_UNAVAIL

    - 

- enumerator CE\_EHRPD\_VSNCP\_3GPP2I\_ADMIN\_PROHIBIT

    - 

- enumerator CE\_EHRPD\_VSNCP\_3GPP2I\_PDN\_ID\_IN\_USE

    - 

- enumerator CE\_EHRPD\_VSNCP\_3GPP2I\_SUBSCR\_LIMITATION

    - 

- enumerator CE\_EHRPD\_VSNCP\_3GPP2I\_PDN\_EXISTS\_FOR\_THIS\_APN

    - 

- enumerator CE\_EHRPD\_VSNCP\_3GPP2I\_RECONNECT\_NOT\_ALLOWED

    - 

- enumerator CE\_EHRPD\_UNKNOWN

    -

- enum Ipv6ReasonCode

    - Data call end/termination reason code for EndReasonType::CE\_IPV6

*Values:*

- enumerator CE\_PREFIX\_UNAVAILABLE

    - 

- enumerator CE\_IPV6\_ERR\_HRPD\_IPV6\_DISABLED

    - 

- enumerator CE\_IPV6\_DISABLED

    -

- enum HandoffReasonCode

    - Data call end/termination reason code for EndReasonType::CE\_HANDOFF

*Values:*

- enumerator CE\_VCER\_HANDOFF\_PREF\_SYS\_BACK\_TO\_SRAT

    -

- enum LogLevel

    - Indicates supported logging levels.

*Values:*

- enumerator LEVEL\_NONE

    - 

- enumerator LEVEL\_PERF

    - Prints messages with nanoseconds precision timestamp

- enumerator LEVEL\_ERROR

    - Prints perf and error messages only

- enumerator LEVEL\_WARNING

    - Prints perf, error and warning messages

- enumerator LEVEL\_INFO

    - Prints perf, errors, warning and information messages

- enumerator LEVEL\_DEBUG

    - Full logging including debug messages

- struct SubsystemInfo

    - Defines a subsystem.

Public Members

- telux::common::[ProcType](https://docs.qualcomm.com/doc/80-PF458-8/topic/enum_a00023_1gac0611885856c28dedfac20b47bcd93e2.html#_CPPv4N5telux6common8ProcTypeE) location

    - Location of the subsystem w.r.t. where the client is running. ProcType::LOCAL\_PROC if both client and the subsystem are located on the same system-on-chip (SoC), otherwise ProcType::REMOTE\_PROC.

- telux::common::[SubsystemTypes](https://docs.qualcomm.com/doc/80-PF458-8/topic/typedef_a00023_1ga65bd51a3658043560a5687fcabe684ed.html#_CPPv4N5telux6common14SubsystemTypesE) subsystems

    - Subsystem. Refer [telux::common::SubsystemTypes](https://docs.qualcomm.com/doc/80-PF458-8/topic/common.html#a00023_1ga65bd51a3658043560a5687fcabe684ed) for details.

- class ICommandCallback

    - Base command callback class is responsible for single shot asynchronous callback. This callback will be invoked only once when the operation succeeds or fails.

Subclassed by [telux::common::ICommandResponseCallback](https://docs.qualcomm.com/doc/80-PF458-8/topic/common.html#a00280), [telux::data::IDataCreateProfileCallback](https://docs.qualcomm.com/doc/80-PF458-8/topic/class_a00426.html#a00426), [telux::data::IDataProfileCallback](https://docs.qualcomm.com/doc/80-PF458-8/topic/class_a00428.html#a00428), [telux::data::IDataProfileListCallback](https://docs.qualcomm.com/doc/80-PF458-8/topic/class_a00427.html#a00427), [telux::tel::IAtrResponseCallback](https://docs.qualcomm.com/doc/80-PF458-8/topic/sim_card_services.html#a00741), [telux::tel::ICardChannelCallback](https://docs.qualcomm.com/doc/80-PF458-8/topic/sim_card_services.html#a00653), [telux::tel::ICardCommandCallback](https://docs.qualcomm.com/doc/80-PF458-8/topic/sim_card_services.html#a00654), [telux::tel::ICardReaderCallback](https://docs.qualcomm.com/doc/80-PF458-8/topic/sim_card_services.html#a00743), [telux::tel::ICellularCapabilityCallback](https://docs.qualcomm.com/doc/80-PF458-8/topic/phone.html#a00735), [telux::tel::IMakeCallCallback](https://docs.qualcomm.com/doc/80-PF458-8/topic/call.html#a00644), [telux::tel::IOperatingModeCallback](https://docs.qualcomm.com/doc/80-PF458-8/topic/phone.html#a00736), [telux::tel::ISapCardCommandCallback](https://docs.qualcomm.com/doc/80-PF458-8/topic/sim_card_services.html#a00742), [telux::tel::ISignalStrengthCallback](https://docs.qualcomm.com/doc/80-PF458-8/topic/phone.html#a00723), [telux::tel::ISmscAddressCallback](https://docs.qualcomm.com/doc/80-PF458-8/topic/sms.html#a00756), [telux::tel::IVoiceServiceStateCallback](https://docs.qualcomm.com/doc/80-PF458-8/topic/phone.html#a00724)

Public Functions

- inline virtual ~ICommandCallback()

    -

- class ICommandResponseCallback : public telux::common::[ICommandCallback](https://docs.qualcomm.com/doc/80-PF458-8/topic/class_a00279.html#_CPPv4N5telux6common16ICommandCallbackE)

    - General command response callback for most of the requests, client needs to implement this interface to get single shot response.

The methods in callback can be invoked from multiple different threads. The implementation should be thread safe.

Public Functions

- virtual void commandResponse([ErrorCode](https://docs.qualcomm.com/doc/80-PF458-8/topic/enum_a00023_1ga84acdb74b7d34616b1ca497c7369810d.html#_CPPv4N5telux6common9ErrorCodeE) error) = 0

    - This function is called with the response to the command operation.

- Parameters:

    - **error** – **[in]** - [ErrorCode](https://docs.qualcomm.com/doc/80-PF458-8/topic/enum_a00023_1ga84acdb74b7d34616b1ca497c7369810d.html#a00023_1ga84acdb74b7d34616b1ca497c7369810d)

- inline virtual ~ICommandResponseCallback()

    -

- struct DataCallEndReason

    - Structure represents data call failure reason type and code.

Public Members

- [EndReasonType](https://docs.qualcomm.com/doc/80-PF458-8/topic/enum_a00023_1gace5f24dd5c143f7d273e7d3dead7ec42.html#_CPPv4N5telux6common13EndReasonTypeE) type = [EndReasonType](https://docs.qualcomm.com/doc/80-PF458-8/topic/enum_a00023_1gace5f24dd5c143f7d273e7d3dead7ec42.html#_CPPv4N5telux6common13EndReasonTypeE)::[CE\_UNKNOWN](https://docs.qualcomm.com/doc/80-PF458-8/topic/enum_a00023_1gace5f24dd5c143f7d273e7d3dead7ec42.html#_CPPv4N5telux6common13EndReasonType10CE_UNKNOWNE)

    - Data call terminated due to reason type, default is CE\_UNKNOWN

- union telux::common::[DataCallEndReason](https://docs.qualcomm.com/doc/80-PF458-8/topic/common.html#_CPPv4N5telux6common17DataCallEndReasonE)::[anonymous] [anonymous]

    -

- class DeviceConfig

    - Public Static Functions

- static bool isMultiSimSupported()

    - Check whether multi SIM support available.

- Returns:

    - bool to determine multi SIM support

- class Log

    - Public Static Functions

- template&lt;typename ...MessageArgs&gt;  
static inline void logMessage([LogLevel](https://docs.qualcomm.com/doc/80-PF458-8/topic/enum_a00023_1ga2daea9a44cf388b7f06d1fc93615c38d.html#_CPPv4N5telux6common8LogLevelE) logLevel, const std::string &fileName, const std::string &lineNo, const int &component, [MessageArgs](https://docs.qualcomm.com/doc/80-PF458-8/topic/class_a00283.html#_CPPv4IDpEN5telux6common3Log10logMessageEv8LogLevelRKNSt6stringERKNSt6stringERKiDp11MessageArgs)... params)

    - Public API to log a message

- Parameters:

    - - **logLevel** – **[in]** [Log](https://docs.qualcomm.com/doc/80-PF458-8/topic/common.html#a00283) level [LogLevel](https://docs.qualcomm.com/doc/80-PF458-8/topic/enum_a00023_1ga2daea9a44cf388b7f06d1fc93615c38d.html#a00023_1ga2daea9a44cf388b7f06d1fc93615c38d)
- **fileName** – **[in]** File name from where log is getting printed
- **lineNo** – **[in]** Line number from where log is getting printed
- **component** – **[in]** Identifier, as listed in SDK configuration
- **params** – **[in]** Additional parameters to be logged

- static void logStream(std::ostringstream &outputStream, [LogLevel](https://docs.qualcomm.com/doc/80-PF458-8/topic/enum_a00023_1ga2daea9a44cf388b7f06d1fc93615c38d.html#_CPPv4N5telux6common8LogLevelE) logLevel, const std::string &fileName, const std::string &lineNo, const int &component)

    - Public API to log a string stream

- Parameters:

    - - **outputStream** – **[in]** String stream which will be logged
- **logLevel** – **[in]** [Log](https://docs.qualcomm.com/doc/80-PF458-8/topic/common.html#a00283) level [LogLevel](https://docs.qualcomm.com/doc/80-PF458-8/topic/enum_a00023_1ga2daea9a44cf388b7f06d1fc93615c38d.html#a00023_1ga2daea9a44cf388b7f06d1fc93615c38d)
- **fileName** – **[in]** File name from where log is getting printed
- **lineNo** – **[in]** Line number from where log is getting printed
- **component** – **[in]** Identifier, as listed in SDK configuration

Private Static Functions

- template&lt;typename K, typename T&gt;  
static inline void constructMessage([K](https://docs.qualcomm.com/doc/80-PF458-8/topic/class_a00283.html#_CPPv4I00EN5telux6common3Log16constructMessageEvR1K1T) &os, [T](https://docs.qualcomm.com/doc/80-PF458-8/topic/class_a00283.html#_CPPv4I00EN5telux6common3Log16constructMessageEvR1K1T) param)

    - 

- template&lt;typename K, typename T, typename ...MessageArgs&gt;  
static inline void constructMessage([K](https://docs.qualcomm.com/doc/80-PF458-8/topic/class_a00283.html#_CPPv4I00DpEN5telux6common3Log16constructMessageEvR1K1TDp11MessageArgs) &os, [T](https://docs.qualcomm.com/doc/80-PF458-8/topic/class_a00283.html#_CPPv4I00DpEN5telux6common3Log16constructMessageEvR1K1TDp11MessageArgs) param, [MessageArgs](https://docs.qualcomm.com/doc/80-PF458-8/topic/class_a00283.html#_CPPv4I00DpEN5telux6common3Log16constructMessageEvR1K1TDp11MessageArgs)... params)

    - 

- static bool isLoggingEnabled([LogLevel](https://docs.qualcomm.com/doc/80-PF458-8/topic/enum_a00023_1ga2daea9a44cf388b7f06d1fc93615c38d.html#_CPPv4N5telux6common8LogLevelE) logLevel, const int &component)

    -

- struct SdkVersion

    - Structure of major, minor and patch version

Public Members

- int major = DEFAULT\_VALUE

    - Major [Version](https://docs.qualcomm.com/doc/80-PF458-8/topic/common.html#a00285): This number will be incremented whenever significant changes or features are introduced

- int minor = DEFAULT\_VALUE

    - Minor [Version](https://docs.qualcomm.com/doc/80-PF458-8/topic/common.html#a00285): This number will be incremented when smaller features with some new APIs are introduced.

- int patch = DEFAULT\_VALUE

    - Patch [Version](https://docs.qualcomm.com/doc/80-PF458-8/topic/common.html#a00285): If the release only contains bug fixes, but no API change then the patch version would be incremented.

- class Version

    - Provides version of SDK.

Public Static Functions

- static std::string getReleaseName()

    - Get the release name.

- Returns:

    - String contains release name

- static [SdkVersion](https://docs.qualcomm.com/doc/80-PF458-8/topic/common.html#_CPPv4N5telux6common10SdkVersionE) getSdkVersion()

    - Get the Telematics SDK version, for example: 01.00.00

- Returns:

    - [SdkVersion](https://docs.qualcomm.com/doc/80-PF458-8/topic/struct_a00284.html#a00284) structure of major, minor and patch version

- telux::common::DataCallEndReason.\_\_unnamed\_\_

    - Public Members

- [MobileIpReasonCode](https://docs.qualcomm.com/doc/80-PF458-8/topic/common.html#_CPPv418MobileIpReasonCode) IpCode

    - 

- [InternalReasonCode](https://docs.qualcomm.com/doc/80-PF458-8/topic/common.html#_CPPv418InternalReasonCode) internalCode

    - 

- [CallManagerReasonCode](https://docs.qualcomm.com/doc/80-PF458-8/topic/common.html#_CPPv421CallManagerReasonCode) cmCode

    - 

- [SpecReasonCode](https://docs.qualcomm.com/doc/80-PF458-8/topic/common.html#_CPPv414SpecReasonCode) specCode

    - 

- [PPPReasonCode](https://docs.qualcomm.com/doc/80-PF458-8/topic/common.html#_CPPv413PPPReasonCode) pppCode

    - 

- [EHRPDReasonCode](https://docs.qualcomm.com/doc/80-PF458-8/topic/common.html#_CPPv415EHRPDReasonCode) ehrpdCode

    - 

- [Ipv6ReasonCode](https://docs.qualcomm.com/doc/80-PF458-8/topic/common.html#_CPPv414Ipv6ReasonCode) ipv6Code

    - 

- [HandoffReasonCode](https://docs.qualcomm.com/doc/80-PF458-8/topic/common.html#_CPPv417HandoffReasonCode) handOffCode

    -

Last Published: May 20, 2026

[Previous Topic
Modules](https://docs.qualcomm.com/bundle/publicresource/80-PF458-8/topics/modules.md) [Next Topic
Audio](https://docs.qualcomm.com/bundle/publicresource/80-PF458-8/topics/audio.md)