|
LinuxQMISDK-Lite
SLQS04.00.04
|
Go to the source code of this file.
Macros | |
| #define | MAX_SMS_MESSAGE_SIZE 2048 |
| #define | MAX_SMS_LIST_SIZE 255 |
| #define | MAX_MS_TRANSFER_ROUTE_MSG 256 |
| #define | MAX_MSE_TWS_MSG 1254 |
| #define | MAX_MSC_ADDRESS_SIZE 256 |
| #define | MAX_CDMA_ENC_MO_TXT_MSG_SIZE 255 |
| #define | SMSC_TYPE_LEN 0x03 |
| #define | SMS_CONFIG_LEN 0x05 |
| #define | SMS_MAX_SMS_ROUTES 0x0A |
| #define | SMS_NUM_OF_SET 0xFF |
Typedefs | |
| typedef struct sMSMTMessage | sMSMTMessageInfo |
| typedef struct sMSTransferRouteMTMessage | sMSTransferRouteMTMessageInfo |
| typedef struct sMSMessageMode | sMSMessageModeInfo |
| typedef struct sMSEtwsMessage | sMSEtwsMessageInfo |
| typedef struct sMSEtwsPlmn | sMSEtwsPlmnInfo |
| typedef struct sMSCAddress | sMSCAddressInfo |
| typedef struct sMSOnIMS | sMSOnIMSInfo |
Enumerations | |
| enum | eqmiCbkSetStatus { LIBPACK_QMI_CBK_PARAM_RESET = 0, LIBPACK_QMI_CBK_PARAM_SET = 1, LIBPACK_QMI_CBK_PARAM_NOCHANGE } |
| #define MAX_CDMA_ENC_MO_TXT_MSG_SIZE 255 |
| #define MAX_MS_TRANSFER_ROUTE_MSG 256 |
| #define MAX_MSC_ADDRESS_SIZE 256 |
| #define MAX_MSE_TWS_MSG 1254 |
| #define MAX_SMS_LIST_SIZE 255 |
| #define MAX_SMS_MESSAGE_SIZE 2048 |
| #define SMS_CONFIG_LEN 0x05 |
| #define SMS_MAX_SMS_ROUTES 0x0A |
| #define SMS_NUM_OF_SET 0xFF |
| #define SMSC_TYPE_LEN 0x03 |
| typedef struct sMSCAddress sMSCAddressInfo |
| length |
|
| data |
|
| typedef struct sMSEtwsMessage sMSEtwsMessageInfo |
| notificationType |
|
| length |
|
| data |
|
| typedef struct sMSEtwsPlmn sMSEtwsPlmnInfo |
| mobileCountryCode |
|
| mobileNetworkCode |
|
| typedef struct sMSMessageMode sMSMessageModeInfo |
| messageMode | Message Mode |
| typedef struct sMSMTMessage sMSMTMessageInfo |
| storageType | memory storage 0x00-UIM 0x01-NV |
| messageIndex | MT Message index |
| typedef struct sMSOnIMS sMSOnIMSInfo |
| smsOnIMS | SMS on IMS |
| typedef struct sMSTransferRouteMTMessage sMSTransferRouteMTMessageInfo |
| ackIndicator |
|
| transactionID |
|
| format |
|
| length |
|
| data |
|
| enum eqmiCbkSetStatus |
| int pack_sms_GetSMSCAddress | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen | ||
| ) |
Gets the SMS center address pack.
| [in,out] | pCtx | qmi request context |
| [out] | pReqBuf | qmi request buffer |
| [out] | pLen | qmi request length |
| int pack_sms_SaveSMS | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen, | ||
| pack_sms_SaveSMS_t * | reqParam | ||
| ) |
Saves an SMS message to device memory pack.
| [in,out] | pCtx | qmi request context |
| [out] | pReqBuf | qmi request buffer |
| [out] | pLen | qmi request length |
| reqParam | packed request |
| int pack_sms_SendSMS | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen, | ||
| pack_sms_SendSMS_t * | reqParam | ||
| ) |
send sms list pack
| [in,out] | pCtx | qmi request context |
| [out] | pReqBuf | qmi request buffer |
| [out] | pLen | qmi request length |
| reqParam | packed request |
| int pack_sms_SetNewSMSCallback | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen, | ||
| pack_sms_SetNewSMSCallback_t | reqParam | ||
| ) |
set new sms callback pack
| [in,out] | pCtx | qmi request context |
| [out] | pReqBuf | qmi request buffer |
| [out] | pLen | qmi request length |
| reqParam | packed request |
| int pack_sms_SetSMSCAddress | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen, | ||
| pack_sms_SetSMSCAddress_t * | reqParam | ||
| ) |
Set the SMS center address pack.
| [in,out] | pCtx | qmi request context |
| [out] | pReqBuf | qmi request buffer |
| [out] | pLen | qmi request length |
| reqParam | packed request |
| int pack_sms_SLQSDeleteSMS | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen, | ||
| pack_sms_SLQSDeleteSMS_t * | reqParam | ||
| ) |
delete sms pack
| [in,out] | pCtx | qmi request context |
| [out] | pReqBuf | qmi request buffer |
| [out] | pLen | qmi request length |
| reqParam | packed request |
| int pack_sms_SLQSGetIndicationRegister | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen | ||
| ) |
Gets registration state of different WMS indications pack.
| [in,out] | pCtx | qmi request context |
| [out] | pReqBuf | qmi request buffer |
| [out] | pLen | qmi request length |
| int pack_sms_SLQSGetMessageWaiting | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen | ||
| ) |
Gets the message waiting information pack.
| [in,out] | pCtx | qmi request context |
| [out] | pReqBuf | qmi request buffer |
| [out] | pLen | qmi request length |
| int pack_sms_SLQSGetSMS | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen, | ||
| pack_sms_SLQSGetSMS_t * | reqParam | ||
| ) |
get sms pack
| [in,out] | pCtx | qmi request context |
| [out] | pReqBuf | qmi request buffer |
| [out] | pLen | qmi request length |
| reqParam | packed request |
| int pack_sms_SLQSGetSmsBroadcastConfig | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen, | ||
| pack_sms_SLQSGetSmsBroadcastConfig_t * | reqParam | ||
| ) |
Provides Information about the SMS BroadcastConfiguration pack.
| [in,out] | pCtx | qmi request context |
| [out] | pReqBuf | qmi request buffer |
| [out] | pLen | qmi request length |
| reqParam | packed request |
| int pack_sms_SLQSGetSMSList | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen, | ||
| pack_sms_SLQSGetSMSList_t * | reqParam | ||
| ) |
get sms list pack
| [in,out] | pCtx | qmi request context |
| [out] | pReqBuf | qmi request buffer |
| [out] | pLen | qmi request length |
| reqParam | packed request |
| int pack_sms_SLQSGetTransLayerInfo | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen | ||
| ) |
Gets information about the transport layer pack.
| [in,out] | pCtx | qmi request context |
| [out] | pReqBuf | qmi request buffer |
| [out] | pLen | qmi request length |
| int pack_sms_SLQSGetTransNWRegInfo | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen | ||
| ) |
Gets transport layer network registration info pack.
| [in,out] | pCtx | qmi request context |
| [out] | pReqBuf | qmi request buffer |
| [out] | pLen | qmi request length |
| int pack_sms_SLQSModifySMSStatus | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen, | ||
| pack_sms_SLQSModifySMSStatus_t * | reqParam | ||
| ) |
modify sms status pack
| [in,out] | pCtx | qmi request context |
| [out] | pReqBuf | qmi request buffer |
| [out] | pLen | qmi request length |
| reqParam | packed request |
| int pack_sms_SLQSSendAsyncSMS | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen, | ||
| pack_sms_SLQSSendAsyncSMS_t * | reqParam | ||
| ) |
Sends an SMS message for immediate over-the-air transmission pack.
| [in,out] | pCtx | qmi request context |
| [out] | pReqBuf | qmi request buffer |
| [out] | pLen | qmi request length |
| reqParam | packed request |
| int pack_sms_SLQSSetIndicationRegister | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen, | ||
| pack_sms_SLQSSetIndicationRegister_t * | reqParam | ||
| ) |
Sets the registration state of different WMS indications pack.
| [in,out] | pCtx | qmi request context |
| [out] | pReqBuf | qmi request buffer |
| [out] | pLen | qmi request length |
| reqParam | packed request |
| int pack_sms_SLQSSetSmsBroadcastActivation | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen, | ||
| pack_sms_SLQSSetSmsBroadcastActivation_t * | reqParam | ||
| ) |
Enables or disables the reception of broadcast SMS messages pack.
| [in,out] | pCtx | qmi request context |
| [out] | pReqBuf | qmi request buffer |
| [out] | pLen | qmi request length |
| reqParam | packed request |
| int pack_sms_SLQSSetSmsBroadcastConfig | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen, | ||
| pack_sms_SLQSSetSmsBroadcastConfig_t * | reqParam | ||
| ) |
Sets the information about the SMS BroadcastConfiguration pack.
| [in,out] | pCtx | qmi request context |
| [out] | pReqBuf | qmi request buffer |
| [out] | pLen | qmi request length |
| reqParam | packed request |
| int pack_sms_SLQSSetSmsStorage | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen, | ||
| pack_sms_SLQSSetSmsStorage_t * | reqParam | ||
| ) |
Sets the SMS Storage on the device pack.
| [in,out] | pCtx | qmi request context |
| [out] | pReqBuf | qmi request buffer |
| [out] | pLen | qmi request length |
| reqParam | packed request |
| int pack_sms_SLQSSmsGetMaxStorageSize | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen, | ||
| pack_sms_SLQSSmsGetMaxStorageSize_t * | reqParam | ||
| ) |
Get the maximum number of messages that can be stored in the specified memory storage. Also it provides the number of slots currently available pack.
| [in,out] | pCtx | qmi request context |
| [out] | pReqBuf | qmi request buffer |
| [out] | pLen | qmi request length |
| reqParam | packed request |
| int pack_sms_SLQSSmsGetMessageProtocol | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen | ||
| ) |
Gets the message protocol currently in use for the WMS client pack.
| [in,out] | pCtx | qmi request context |
| [out] | pReqBuf | qmi request buffer |
| [out] | pLen | qmi request length |
| int pack_sms_SLQSSmsSetRoutes | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen, | ||
| pack_sms_SLQSSmsSetRoutes_t * | reqParam | ||
| ) |
Sets the action performed on SMS message receipt for specified message routes. It also specifies the action performed on SMS receipt of status reports pack.
| [in,out] | pCtx | qmi request context |
| [out] | pReqBuf | qmi request buffer |
| [out] | pLen | qmi request length |
| reqParam | packed request |
| int pack_sms_SLQSSwiGetSMSStorage | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen | ||
| ) |
Gets the current SMS configuration that is applied to all incoming and outgoing messages pack.
| [in,out] | pCtx | qmi request context |
| [out] | pReqBuf | qmi request buffer |
| [out] | pLen | qmi request length |
| int unpack_sms_GetSMSCAddress | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_sms_GetSMSCAddress_t * | pOutput | ||
| ) |
Gets the SMS center address unpack.
| [in] | pResp | qmi response |
| [in] | pespLen | qmi response length |
| [out] | pOutput | unpacked response |
| int unpack_sms_SaveSMS | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_sms_SaveSMS_t * | pOutput | ||
| ) |
Saves an SMS message to device memory unpack.
| [in] | pResp | qmi response |
| [in] | pespLen | qmi response length |
| [out] | pOutput | unpacked response |
| int unpack_sms_SendSMS | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_sms_SendSMS_t * | pOutput | ||
| ) |
send sms unpack
| [in] | pResp | qmi response |
| [in] | pespLen | qmi response length |
| [out] | pOutput | unpacked response |
| int unpack_sms_SetNewSMSCallback | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_sms_SetNewSMSCallback_t * | Output | ||
| ) |
set new sms callback unpack
| [in] | pResp | qmi response |
| [in] | pespLen | qmi response length |
| int unpack_sms_SetNewSMSCallback_ind | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_sms_SetNewSMSCallback_ind_t * | pOutput | ||
| ) |
set new sms callback indication unpack
| [in] | pResp | qmi response |
| [in] | pespLen | qmi response length |
| [out] | pOutput | unpacked response |
| int unpack_sms_SetSMSCAddress | ( | uint8_t * | pResp, |
| uint16_t | respLen | ||
| ) |
Set the SMS center address unpack.
| [in] | pResp | qmi response |
| [in] | pespLen | qmi response length |
| int unpack_sms_SLQSDeleteSMS | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_sms_SLQSDeleteSMS_t * | pOutput | ||
| ) |
delete sms unpack
| [in] | pResp | qmi response |
| [in] | pespLen | qmi response length |
| int unpack_sms_SLQSGetIndicationRegister | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_sms_SLQSGetIndicationRegister_t * | pOutput | ||
| ) |
Gets registration state of different WMS indications unpack.
| [in] | pResp | qmi response |
| [in] | pespLen | qmi response length |
| [out] | pOutput | unpacked response |
| int unpack_sms_SLQSGetMessageWaiting | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_sms_SLQSGetMessageWaiting_t * | pOutput | ||
| ) |
Gets the message waiting information unpack.
| [in] | pResp | qmi response |
| [in] | pespLen | qmi response length |
| [out] | pOutput | unpacked response |
| int unpack_sms_SLQSGetSMS | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_sms_SLQSGetSMS_t * | pOutput | ||
| ) |
get sms unpack
| [in] | pResp | qmi response |
| [in] | pespLen | qmi response length |
| [out] | pOutput | unpacked response |
| int unpack_sms_SLQSGetSmsBroadcastConfig | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_sms_SLQSGetSmsBroadcastConfig_t * | pOutput | ||
| ) |
Provides Information about the SMS BroadcastConfiguration unpack.
| [in] | pResp | qmi response |
| [in] | pespLen | qmi response length |
| [out] | pOutput | unpacked response |
| int unpack_sms_SLQSGetSMSList | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_sms_SLQSGetSMSList_t * | pOutput | ||
| ) |
get sms list unpack
| [in] | pResp | qmi response |
| [in] | pespLen | qmi response length |
| [out] | pOutput | unpacked response |
| int unpack_sms_SLQSGetTransLayerInfo | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_sms_SLQSGetTransLayerInfo_t * | pOutput | ||
| ) |
Gets information about the transport layer unpack.
| [in] | pResp | qmi response |
| [in] | pespLen | qmi response length |
| [out] | pOutput | unpacked response |
| int unpack_sms_SLQSGetTransNWRegInfo | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_sms_SLQSGetTransNWRegInfo_t * | pOutput | ||
| ) |
Gets transport layer network registration info unpack.
| [in] | pResp | qmi response |
| [in] | pespLen | qmi response length |
| [out] | pOutput | unpacked response |
| int unpack_sms_SLQSModifySMSStatus | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_sms_SLQSModifySMSStatus_t * | pOutput | ||
| ) |
modify sms status unpack
| [in] | pResp | qmi response |
| [in] | pespLen | qmi response length |
| int unpack_sms_SLQSSendAsyncSMS | ( | uint8_t * | pResp, |
| uint16_t | respLen | ||
| ) |
Sends an SMS message for immediate over-the-air transmission unpack.
| [in] | pResp | qmi response |
| [in] | pespLen | qmi response length |
| int unpack_sms_SLQSSetIndicationRegister | ( | uint8_t * | pResp, |
| uint16_t | respLen | ||
| ) |
Sets the registration state of different WMS indications unpack.
| [in] | pResp | qmi response |
| [in] | pespLen | qmi response length |
| int unpack_sms_SLQSSetSmsBroadcastActivation | ( | uint8_t * | pResp, |
| uint16_t | respLen | ||
| ) |
Enables or disables the reception of broadcast SMS messages unpack.
| [in] | pResp | qmi response |
| [in] | pespLen | qmi response length |
| int unpack_sms_SLQSSetSmsBroadcastConfig | ( | uint8_t * | pResp, |
| uint16_t | respLen | ||
| ) |
Sets the information about the SMS BroadcastConfiguration unpack.
| [in] | pResp | qmi response |
| [in] | pespLen | qmi response length |
| int unpack_sms_SLQSSetSmsStorage | ( | uint8_t * | pResp, |
| uint16_t | respLen | ||
| ) |
Sets the SMS Storage on the device unpack.
| [in] | pResp | qmi response |
| [in] | pespLen | qmi response length |
| int unpack_sms_SLQSSmsGetMaxStorageSize | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_sms_SLQSSmsGetMaxStorageSize_t * | pOutput | ||
| ) |
Get the maximum number of messages that can be stored in the specified memory storage. Also it provides the number of slots currently available unpack.
| [in] | pResp | qmi response |
| [in] | pespLen | qmi response length |
| [out] | pOutput | unpacked response |
| int unpack_sms_SLQSSmsGetMessageProtocol | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_sms_SLQSSmsGetMessageProtocol_t * | pOutput | ||
| ) |
Gets the message protocol currently in use for the WMS client unpack.
| [in] | pResp | qmi response |
| [in] | pespLen | qmi response length |
| [out] | pOutput | unpacked response |
| int unpack_sms_SLQSSmsSetRoutes | ( | uint8_t * | pResp, |
| uint16_t | respLen | ||
| ) |
Sets the action performed on SMS message receipt for specified message routes. It also specifies the action performed on SMS receipt of status reports unpack.
| [in] | pResp | qmi response |
| [in] | pespLen | qmi response length |
| int unpack_sms_SLQSSwiGetSMSStorage | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_sms_SLQSSwiGetSMSStorage_t * | pOutput | ||
| ) |
Gets the current SMS configuration that is applied to all incoming and outgoing messages unpack.
| [in] | pResp | qmi response |
| [in] | pespLen | qmi response length |
| [out] | pOutput | unpacked response |
| int unpack_sms_SLQSWmsMemoryFullCallBack_ind | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_sms_SLQSWmsMemoryFullCallBack_ind_t * | pOutput | ||
| ) |
sms full callback indication unpack
| [in] | pResp | qmi response |
| [in] | pespLen | qmi response length |
| [out] | pOutput | unpacked response |