|
libpack
SLQS03.03.10
|
Short Message Service API function prototypes. More...
Go to the source code of this file.
Data Structures | |
| struct | slqssendsmsparams_s |
| struct | BroadcastConfig |
| struct | _qaQmi3GPPBroadcastCfgInfo |
| struct | CDMABroadcastConfig |
| struct | _qaQmi3GPP2BroadcastCfgInfo |
| struct | cdmaMsgEncodingParams |
| struct | cdmaMsgDecodingParams |
| struct | wcdmaMsgEncodingParams |
| struct | wcdmaMsgDecodingParams |
| struct | wcdmaLongMsgDecodingParams |
| struct | _transLayerinfo |
| struct | _getTransLayerInfoResp |
| struct | _getTransNWRegInfoResp |
| struct | _getIndicationRegResp |
| struct | _setIndicationRegReq |
| struct | smsRouteEntry |
| struct | smsSetRoutesReq |
| struct | smsMsgprotocolResp |
| struct | smsMaxStorageSizeReq |
| struct | smsMaxStorageSizeResp |
| struct | messageWaitingInfoContent |
| struct | getMsgWaitingInfo |
| struct | slqssendasyncsmsparams_s |
Macros | |
| #define | CONFIG_LEN 0x05 |
| #define | TIME_STAMP_BUF 0x08 |
| #define | ABSOLUTE_VALIDITY 0x08 |
| #define | TIME_DATE_BUF 0x09 |
| #define | MAX_SMS_ROUTES 0x0A |
| #define | NUM_OF_SET 0xFF |
Typedefs | |
| typedef struct _qaQmi3GPPBroadcastCfgInfo | qaQmi3GPPBroadcastCfgInfo |
| typedef struct _qaQmi3GPP2BroadcastCfgInfo | qaQmi3GPP2BroadcastCfgInfo |
| typedef struct _transLayerinfo | transLayerInfo |
| typedef struct _getTransLayerInfoResp | getTransLayerInfoResp |
| typedef struct _getTransNWRegInfoResp | getTransNWRegInfoResp |
| typedef struct _getIndicationRegResp | getIndicationRegResp |
| typedef struct _setIndicationRegReq | setIndicationRegReq |
Short Message Service API function prototypes.
| #define ABSOLUTE_VALIDITY 0x08 |
| #define CONFIG_LEN 0x05 |
| #define MAX_SMS_ROUTES 0x0A |
| #define NUM_OF_SET 0xFF |
| #define TIME_DATE_BUF 0x09 |
| #define TIME_STAMP_BUF 0x08 |
| typedef struct _getIndicationRegResp getIndicationRegResp |
This structure contains Get Indication Register Response parameters
| pRegTransLayerInfoEvt | -
|
| pRegTransNWRegInfoEvt | -
|
| pRegCallStatInfoEvt | -
|
| typedef struct _getTransLayerInfoResp getTransLayerInfoResp |
This structure contains Get Transport Layer Info Response parameters
| pRegInd | -
|
| pTransLayerInfo |
|
| typedef struct _getTransNWRegInfoResp getTransNWRegInfoResp |
This structure contains transport network registration info parameter
| pRegStatus | -
|
| typedef struct _qaQmi3GPP2BroadcastCfgInfo qaQmi3GPP2BroadcastCfgInfo |
This structure contains the 3GPP2 Broadcast Configuration Information parameters
| activated_ind |
|
| num_instances |
|
| broadcastConfig |
|
| typedef struct _qaQmi3GPPBroadcastCfgInfo qaQmi3GPPBroadcastCfgInfo |
This structure contains the 3GPP Broadcast Configuration Information parameters
| activated_ind |
|
| num_instances |
|
| broadcastConfig |
|
| typedef struct _setIndicationRegReq setIndicationRegReq |
This structure contains Indication Register request parameters
| pRegTransLayerInfoEvt | -
|
| pRegTransNWRegInfoEvt | -
|
| pRegCallStatInfoEvt | -
|
| typedef struct _transLayerinfo transLayerInfo |
This structure contains Transport Layer Information
| TransType |
|
| TransCap |
|
Gets the SMS center address.
| addressSize |
|
| pSMSCAddress[0UT] |
|
| typeSize |
|
| pSMSCType[0UT] |
|
| ULONG SaveSMS | ( | ULONG | storageType, |
| ULONG | messageFormat, | ||
| ULONG | messageSize, | ||
| BYTE * | pMessage, | ||
| ULONG * | pMessageIndex | ||
| ) |
Saves an SMS message to device memory
| storageType[IN] |
|
| messageFormat[IN] |
|
| messageSize |
|
| pMessage[IN] |
|
| pMessageIndex[OUT] |
|
| ULONG SendSMS | ( | ULONG | messageFormat, |
| ULONG | messageSize, | ||
| BYTE * | pMessage, | ||
| ULONG * | pMessageFailureCode, | ||
| BYTE * | pSmsOnIms | ||
| ) |
Sends an SMS message for immediate over-the-air transmission
| messageFormat[IN] |
|
| messageSize[IN] |
|
| pMessage[IN] |
|
| pSmsOnIms[IN] |
|
| pMessageFailureCode[OUT] |
|
Sets the SMS center address.
| pSMSCAddress[IN] |
|
| pSMSCType[IN] |
|
| ULONG SLQSCDMADecodeMTTextMsg | ( | struct cdmaMsgDecodingParams * | pCdmaMsgDecodingParams | ) |
Decodes text message to CDMA PDU message
| pMsgToBeEncodedCDMA[IN/OUT] |
|
| ULONG SLQSCDMAEncodeMOTextMsg | ( | struct cdmaMsgEncodingParams * | pCdmaMsgEncodingParams | ) |
Encodes text message to CDMA PDU message.
| pMsgToBeEncodedCDMA[IN/OUT] |
|
| ULONG SLQSDeleteSMS | ( | ULONG | storageType, |
| ULONG * | pMessageIndex, | ||
| ULONG * | pMessageTag, | ||
| BYTE * | pMessageMode | ||
| ) |
Deletes one or more SMSs from device memory. If both of the optional parameters, messageIndex and messageTag, are NULL, all messages are deleted from the storage location specified in the mandatory storageType parameter. The optional index and tag parameters narrow the range of messages being deleted. If an index is specified, the single message with the index from the specified memory store will be deleted. If a tag is specified, all messages in the specified memory store whose tag matches that specified will be deleted.
There are three ways to use this message:
| storageType |
|
| pMessageIndex[IN] |
|
| pMessageTag[IN] |
|
| pMessageMode[IN] |
|
| ULONG SLQSGetIndicationRegister | ( | getIndicationRegResp * | pGetIndicationRegInfo | ) |
This API provides registration state of different WMS indications.
| pGetIndicationRegInfo | [OUT]
|
| ULONG SLQSGetMessageWaiting | ( | getMsgWaitingInfo * | pGetMsgWaitingInfoResp | ) |
This API provides information about the message waiting information.
| pGetMsgWaitingInfoResp | [OUT]
|
| ULONG SLQSGetSMS | ( | ULONG | storageType, |
| ULONG | messageIndex, | ||
| ULONG * | pMessageTag, | ||
| ULONG * | pMessageFormat, | ||
| ULONG * | pMessageSize, | ||
| BYTE * | pMessage, | ||
| BYTE * | pMessageMode | ||
| ) |
Returns an SMS from device memory.
| storageType |
|
| messageIndex |
|
| pMessageTag[OUT] |
|
| pMessageFormat[OUT] |
|
| pMessageSize[IN/OUT] |
|
| pMessage[OUT] |
|
| pMessageMode[IN] |
|
| ULONG SLQSGetSmsBroadcastConfig | ( | BYTE | mode, |
| qaQmi3GPPBroadcastCfgInfo * | pBroadcastConfig, | ||
| qaQmi3GPP2BroadcastCfgInfo * | pCDMABroadcastConfig | ||
| ) |
Provides Information about the SMS BroadcastConfiguration
| mode[IN] |
|
| pBroadcastConfig[OUT] |
|
| pCDMABroadcastConfig[OUT] |
|
| ULONG SLQSGetSMSList | ( | ULONG | storageType, |
| ULONG * | pRequestedTag, | ||
| ULONG * | pMessageListSize, | ||
| BYTE * | pMessageList, | ||
| BYTE * | pMessageMode | ||
| ) |
Returns the list of SMS messages stored on the device.
| storageType[IN] |
|
| pRequestedTag[IN] |
|
| pMessageListSize[IN/OUT] |
|
| pMessageList[OUT] |
|
| pMessageMode[IN] |
|
| ULONG SLQSGetTransLayerInfo | ( | getTransLayerInfoResp * | pGetTransLayerInfoResp | ) |
This API provides information about the transport layer.
| pGetTransLayerInfoResp | [OUT]
|
| ULONG SLQSGetTransNWRegInfo | ( | getTransNWRegInfoResp * | pGetTransNWRegInfoResp | ) |
This API provides transport layer network registration info.
| pGetTransNWRegInfoResp | [OUT]
|
| ULONG SLQSModifySMSStatus | ( | ULONG | storageType, |
| ULONG | messageIndex, | ||
| ULONG | messageTag, | ||
| BYTE * | pMessageMode | ||
| ) |
Modifies the status of an SMS message saved in storage on the device.
| storageType[IN] |
|
| messageIndex[IN] |
|
| messageTag[IN] |
|
| pMessageMode[IN] |
|
| ULONG SLQSSendAsyncSMS | ( | slqssendasyncsmsparams_s * | pSendSmsParams | ) |
Sends an SMS message for immediate over-the-air transmission
| pSendSmsParams |
|
| ULONG SLQSSendLongSMS | ( | ULONG | messageFormat, |
| ULONG | messageSize, | ||
| CHAR * | pMessage, | ||
| BYTE | encodingScheme, | ||
| ULONG * | pMessageFailureCode, | ||
| CHAR * | pMobileNum, | ||
| BYTE * | pSmsOnIMS | ||
| ) |
Sends a long SMS message for immediate over-the-air transmission, a short SMS can be sent by this API as well, the input message is text string without any encoding
| messageFormat[IN] |
|
| messageSize[IN] |
|
| pMessage[IN] |
|
| encodingScheme[IN] |
|
| pMessageFailureCode[OUT] |
|
| pMobileNum[IN] |
|
| ULONG SLQSSendSMS | ( | slqssendsmsparams_s * | pSendSmsParams | ) |
Sends an SMS message for immediate over-the-air transmission
| pSendSmsParams |
|
| ULONG SLQSSetIndicationRegister | ( | setIndicationRegReq * | pSetIndicationRegReq | ) |
This API sets the registration state of different WMS indications.
| pSetIndicationRegReq | [IN]
|
Enables or disables the reception of broadcast SMS messages.
| Mode[IN] |
|
| broadcastActivate[IN] |
|
| ULONG SLQSSetSmsBroadcastConfig | ( | BYTE | mode, |
| qaQmi3GPPBroadcastCfgInfo * | pBroadcastConfig, | ||
| qaQmi3GPP2BroadcastCfgInfo * | pCDMABroadcastConfig | ||
| ) |
Sets the information about the SMS BroadcastConfiguration
| mode[IN] |
|
| pBroadcastConfig[IN] |
|
| pCDMABroadcastConfig[IN] |
|
Sets the SMS Storage on the device
| smsStorage[IN] |
|
| ULONG SLQSSmsGetMaxStorageSize | ( | smsMaxStorageSizeReq * | pMaxStorageSizeReq, |
| smsMaxStorageSizeResp * | pMaxStorageSizeResp | ||
| ) |
This API provides the maximum number of messages that can be stored in the specified memory storage. Also it provides the number of slots currently available
| pMaxStorageSizeReq[IN] |
|
| pMaxStorageSizeResp[OUT] |
|
| ULONG SLQSSmsGetMessageProtocol | ( | smsMsgprotocolResp * | pMessageProtocol | ) |
This API queries the message protocol currently in use for the WMS client.
| pMessageProtocol | [OUT}
|
| ULONG SLQSSmsSetRoutes | ( | smsSetRoutesReq * | pSetRoutesReq | ) |
This API sets the action performed on SMS message receipt for specified message routes. It also specifies the action performed on SMS receipt of status reports.
| pSetRoutesReq | [IN]
|
This API queries the device to return current SMS configuration that is applied to all incoming and outgoing messages.
| pSmsStorage[OUT] |
|
| ULONG SLQSWCDMADecodeLongTextMsg | ( | struct wcdmaLongMsgDecodingParams * | pWcdmaLongMsgDecodingParams | ) |
Decodes WCDMA Long SMS PDU message, returns structure filled with decoded parameters
| pwcdmaMsgDecodingParams[IN/OUT] |
|
| ULONG SLQSWCDMADecodeMTTextMsg | ( | struct wcdmaMsgDecodingParams * | pWcdmaMsgDecodingParams | ) |
Decodes WCDMA PDU message, returns structure filled with decoded parameters
| pwcdmaMsgDecodingParams[IN/OUT] |
|
| ULONG SLQSWCDMAEncodeMOTextMsg | ( | struct wcdmaMsgEncodingParams * | pWcdmaMsgEncodingParams | ) |
Returns the encoded WCDMA PDU message.
| pwcdmaMsgEncodingParams[IN/OUT] |
|