Linux SDK (lite-qmi)  MBPL_SDK_R25_ENG3
sms.h
Go to the documentation of this file.
1 
6 #ifndef __LITEQMI_SMS_H__
7 #define __LITEQMI_SMS_H__
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 #include "common.h"
14 #include <stdint.h>
15 
16 #define MAX_SMS_MESSAGE_SIZE 2048
17 #define MAX_SMS_LIST_SIZE 255
18 #define MAX_MS_TRANSFER_ROUTE_MSG 256
19 #define MAX_MSE_TWS_MSG 1254
20 #define MAX_MSC_ADDRESS_SIZE 256
21 #define MAX_CDMA_ENC_MO_TXT_MSG_SIZE 255
22 #define SMSC_TYPE_LEN 0x03
23 #define SMS_CONFIG_LEN 0x05
24 #define SMS_MAX_SMS_ROUTES 0x0A
25 #define SMS_NUM_OF_SET 0xFF
26 
27 
46 typedef struct{
47  uint32_t storageType;
48  uint32_t messageIndex;
49  uint8_t *pMessageMode;
51 
84 typedef struct {
85  uint32_t messageTag;
86  uint32_t messageFormat;
87  uint32_t messageSize;
88  uint8_t message[MAX_SMS_MESSAGE_SIZE];
89  swi_uint256_t ParamPresenceMask;
91 
106  pack_qmi_t *pCtx,
107  uint8_t *pReqBuf,
108  uint16_t *pLen,
109  pack_sms_SLQSGetSMS_t *reqParam
110  );
111 
125  uint8_t *pResp,
126  uint16_t respLen,
127  unpack_sms_SLQSGetSMS_t *pOutput
128  );
129 
151 typedef struct{
152  uint32_t storageType;
153  uint32_t *pRequestedTag;
154  uint8_t *pMessageMode;
156 
166 typedef struct
167 {
168  uint32_t messageIndex;
169  uint32_t messageTag;
171 
191 typedef struct{
192  uint32_t messageListSize;
193  qmiSmsMessageList messageList[MAX_SMS_LIST_SIZE];
194  swi_uint256_t ParamPresenceMask;
196 
212  pack_qmi_t *pCtx,
213  uint8_t *pReqBuf,
214  uint16_t *pLen,
215  pack_sms_SLQSGetSMSList_t *reqParam
216  );
217 
232  uint8_t *pResp,
233  uint16_t respLen,
235  );
236 
260 typedef struct{
261  uint32_t storageType;
262  uint32_t messageIndex;
263  uint32_t messageTag;
264  uint8_t *pMessageMode;
266 
282  pack_qmi_t *pCtx,
283  uint8_t *pReqBuf,
284  uint16_t *pLen,
286  );
287 
296 typedef struct{
297  swi_uint256_t ParamPresenceMask;
299 
314  uint8_t *pResp,
315  uint16_t respLen,
317  );
318 
347 typedef struct{
348  uint32_t storageType;
349  uint32_t *pMessageIndex;
350  uint32_t *pMessageTag;
351  uint8_t *pMessageMode;
353 
369  pack_qmi_t *pCtx,
370  uint8_t *pReqBuf,
371  uint16_t *pLen,
372  pack_sms_SLQSDeleteSMS_t *reqParam
373  );
374 
383 typedef struct{
384  swi_uint256_t ParamPresenceMask;
386 
401  uint8_t *pResp,
402  uint16_t respLen,
404  );
405 
426 typedef struct{
427  uint32_t messageFormat;
428  uint32_t messageSize;
429  uint8_t *pMessage;
430  uint8_t *pLinktimer;
432 
449 typedef struct{
450  uint16_t messageID;
451  uint32_t messageFailureCode;
452  swi_uint256_t ParamPresenceMask;
454 
469 int pack_sms_SendSMS(
470  pack_qmi_t *pCtx,
471  uint8_t *pReqBuf,
472  uint16_t *pLen,
473  pack_sms_SendSMS_t *reqParam
474  );
475 
490  uint8_t *pResp,
491  uint16_t respLen,
492  unpack_sms_SendSMS_t *pOutput
493  );
494 
495 enum eqmiCbkSetStatus{
496  LITEQMI_QMI_CBK_PARAM_RESET = 0,
497  LITEQMI_QMI_CBK_PARAM_SET = 1,
498  LITEQMI_QMI_CBK_PARAM_NOCHANGE
499 };
500 
507 typedef struct{
508  enum eqmiCbkSetStatus status;
510 
526  pack_qmi_t *pCtx,
527  uint8_t *pReqBuf,
528  uint16_t *pLen,
530  );
531 
539 typedef struct{
540  swi_uint256_t ParamPresenceMask;
542 
557  uint8_t *pResp,
558  uint16_t respLen,
560  );
568 typedef struct
569 {
570  uint32_t storageType;
571  uint32_t messageIndex;
573 
583 typedef struct
584 {
585  sMSMTMessageInfo MTMessageInfo;
613 typedef struct
614 {
615  uint8_t ackIndicator;
616  uint32_t transactionID;
617  uint8_t format;
618  uint16_t length;
619  uint8_t data[MAX_MS_TRANSFER_ROUTE_MSG];
621 
630 typedef struct
631 {
632  sMSTransferRouteMTMessageInfo TransferRouteMTMessageInfo;
634 
644 typedef struct
645 {
646  uint8_t messageMode;
648 
657 typedef struct
658 {
659  sMSMessageModeInfo MessageModeInfo;
661 
679 typedef struct
680 {
681  uint8_t notificationType;
682  uint16_t length;
683  uint8_t data[MAX_MSE_TWS_MSG];
685 
694 typedef struct
695 {
696  sMSEtwsMessageInfo EtwsMessageInfo;
698 
712 typedef struct
713 {
714  uint16_t mobileCountryCode;
715  uint16_t mobileNetworkCode;
717 
726 typedef struct
727 {
728  sMSEtwsPlmnInfo ETWSPLMNInfo;
730 
742 typedef struct
743 {
744  uint8_t length;
745  uint8_t data[MAX_MSC_ADDRESS_SIZE];
747 
756 typedef struct
757 {
758  sMSCAddressInfo SMSCInfo;
760 
767 typedef struct
768 {
769  uint8_t smsOnIMS;
770 }sMSOnIMSInfo;
771 
780 typedef struct
781 {
782  sMSOnIMSInfo IMSInfo;
783 }sMSOnIMSTlv;
784 
802 typedef struct
803 {
804  uint32_t notificationType;
805  uint8_t length;
806  uint8_t data[256];
808 
809 /*
810  * This structure contains call control result TLV Value.
811  *
812  * @param CallCtrlResult - Refer to CallCtrlResultInfo
813  */
814 typedef struct
815 {
818 
832 typedef struct
833 {
834  uint32_t bcSmsRatInfo;
836 
837 /*
838  * This structure contains broadcast SMS RAT information TLV Value.
839  *
840  * @param BroadcastSmsRat - Refer to BroadcastSmsRatInfo
841  */
842 typedef struct
843 {
846 
858 typedef struct
859 {
860  uint32_t imsSmsVerstatStatusInfo;
862 
863 /*
864  * This structure contains IMS SMS Verstat Status information TLV Value.
865  *
866  * @param ImsSmsVerstatStatus - Refer to ImsSmsVerstatStatusInfo
867  */
868 typedef struct
869 {
872 
884 typedef struct
885 {
886  uint16_t length;
887  uint8_t data[256];
889 
890 /*
891  * This structure contains broadcast SMS Warning Area Coordinate information TLV Value.
892  *
893  * @param BroadcastSmsWarningArea - Refer to BroadcastSmsWarningAreaInfo
894  */
895 typedef struct
896 {
899 
963 typedef struct{
964  newMTMessageTlv NewMMTlv;
965  transferRouteMessageTlv TRMessageTlv;
966  messageModeTlv MMTlv;
967  sMSEtwsMessageTlv ETWSTlv;
968  eTWSPLMNInfoTlv ETWSPLMNTlv;
969  sMSCAddressTlv SMSCTlv;
970  sMSOnIMSTlv IMSTlv;
971  sCallCtrlResultTlv CallCtrlResTlv;
972  sBroadcastSmsRatTlv SMSRATTlv;
973  sImsSmsVerstatStatusTlv IMSSMSTlv;
974  sBroadcastSmsWarningAreaTlv WarnAreaTlv;
975  swi_uint256_t ParamPresenceMask;
977 
992  uint8_t *pResp,
993  uint16_t respLen,
995  );
996 
1017 typedef struct{
1018  uint8_t storageType;
1019  uint8_t messageMode;
1020  swi_uint256_t ParamPresenceMask;
1022 
1037  uint8_t *pResp,
1038  uint16_t respLen,
1040  );
1041 
1070 typedef struct{
1071  uint8_t addressSize;
1072  uint8_t *pSMSCAddress;
1073  uint8_t typeSize;
1074  uint8_t *pSMSCType;
1075  swi_uint256_t ParamPresenceMask;
1077 
1092  pack_qmi_t *pCtx,
1093  uint8_t *pReqBuf,
1094  uint16_t *pLen
1095  );
1096 
1111  uint8_t *pResp,
1112  uint16_t respLen,
1114  );
1115 
1129 typedef struct{
1130  uint8_t *pSMSCAddress;
1131  uint8_t *pSMSCType;
1133 
1148  pack_qmi_t *pCtx,
1149  uint8_t *pReqBuf,
1150  uint16_t *pLen,
1151  pack_sms_SetSMSCAddress_t *reqParam
1152  );
1153 
1159 typedef struct{
1160  swi_uint256_t ParamPresenceMask;
1162 
1175  uint8_t *pResp,
1176  uint16_t respLen,
1178  );
1179 
1205 typedef struct{
1206  uint32_t storageType;
1207  uint32_t messageFormat;
1208  uint32_t messageSize;
1209  uint8_t *pMessage;
1211 
1220 typedef struct{
1221  uint32_t *pMessageIndex;
1222  swi_uint256_t ParamPresenceMask;
1224 
1238 int pack_sms_SaveSMS(
1239  pack_qmi_t *pCtx,
1240  uint8_t *pReqBuf,
1241  uint16_t *pLen,
1242  pack_sms_SaveSMS_t *reqParam
1243  );
1244 
1256 int unpack_sms_SaveSMS(
1257  uint8_t *pResp,
1258  uint16_t respLen,
1259  unpack_sms_SaveSMS_t *pOutput
1260  );
1261 
1280 typedef struct
1281 {
1282  uint16_t fromServiceId;
1283  uint16_t toServiceId;
1284  uint8_t selected;
1286 
1311 typedef struct {
1312  uint8_t activated_ind;
1313  uint16_t num_instances;
1314  sms_BroadcastConfig broadcastConfig[SMS_CONFIG_LEN];
1316 
1334 typedef struct{
1335  uint16_t serviceCategory;
1336  uint16_t language;
1337  uint8_t selected;
1339 
1364 typedef struct{
1365  uint8_t activated_ind;
1366  uint16_t num_instances;
1369 
1386 typedef struct{
1387  sms_qaQmi3GPPBroadcastCfgInfo *pBroadcastConfig;
1388  sms_qaQmi3GPP2BroadcastCfgInfo *pCDMABroadcastConfig;
1389  swi_uint256_t ParamPresenceMask;
1391 
1401 typedef struct{
1402  uint8_t mode;
1404 
1419  pack_qmi_t *pCtx,
1420  uint8_t *pReqBuf,
1421  uint16_t *pLen,
1423  );
1424 
1439  uint8_t *pResp,
1440  uint16_t respLen,
1442  );
1443 
1461 typedef struct{
1462  uint8_t mode;
1463  sms_qaQmi3GPPBroadcastCfgInfo *pBroadcastConfig;
1464  sms_qaQmi3GPP2BroadcastCfgInfo *pCDMABroadcastConfig;
1466 
1481  pack_qmi_t *pCtx,
1482  uint8_t *pReqBuf,
1483  uint16_t *pLen,
1485  );
1486 
1496 typedef struct{
1497  swi_uint256_t ParamPresenceMask;
1499 
1512  uint8_t *pResp,
1513  uint16_t respLen,
1515  );
1516 
1532 typedef struct{
1533  uint8_t mode;
1534  uint8_t broadcastActivate;
1536 
1551  pack_qmi_t *pCtx,
1552  uint8_t *pReqBuf,
1553  uint16_t *pLen,
1555  );
1556 
1563 typedef struct{
1564  swi_uint256_t ParamPresenceMask;
1566 
1579  uint8_t *pResp,
1580  uint16_t respLen,
1582  );
1583 
1599 typedef struct
1600 {
1601  uint8_t TransType;
1602  uint8_t TransCap;
1604 
1626 typedef struct
1627 {
1628  uint8_t *pRegInd;
1629  sms_transLayerInfo *pTransLayerInfo;
1631 
1649 typedef struct
1650 {
1651  sms_getTransLayerInfo *pGetTransLayerInfo;
1652  swi_uint256_t ParamPresenceMask;
1654 
1669  pack_qmi_t *pCtx,
1670  uint8_t *pReqBuf,
1671  uint16_t *pLen
1672  );
1673 
1688  uint8_t *pResp,
1689  uint16_t respLen,
1691  );
1692 
1712 typedef struct
1713 {
1714  uint8_t *pRegStatus;
1716 
1731 typedef struct
1732 {
1733  sms_getTransNWRegInfo *pGetTransNWRegInfo;
1734  swi_uint256_t ParamPresenceMask;
1736 
1751  pack_qmi_t *pCtx,
1752  uint8_t *pReqBuf,
1753  uint16_t *pLen
1754  );
1755 
1770  uint8_t *pResp,
1771  uint16_t respLen,
1773  );
1774 
1802 typedef struct
1803 {
1804  uint8_t *pRegTransLayerInfoEvt;
1805  uint8_t *pRegTransNWRegInfoEvt;
1806  uint8_t *pRegCallStatInfoEvt;
1808 
1827 typedef struct
1828 {
1829  sms_getIndicationReg *pGetIndicationRegInfo;
1830  swi_uint256_t ParamPresenceMask;
1832 
1847  pack_qmi_t *pCtx,
1848  uint8_t *pReqBuf,
1849  uint16_t *pLen
1850  );
1851 
1866  uint8_t *pResp,
1867  uint16_t respLen,
1869  );
1870 
1871 
1908 typedef struct
1909 {
1910  uint8_t *pRegTransLayerInfoEvt;
1911  uint8_t *pRegTransNWRegInfoEvt;
1912  uint8_t *pRegCallStatInfoEvt;
1914 
1925 typedef struct
1926 {
1927  sms_setIndicationReg *pSetIndicationRegReq;
1929 
1944  pack_qmi_t *pCtx,
1945  uint8_t *pReqBuf,
1946  uint16_t *pLen,
1948  );
1949 
1958 typedef struct
1959 {
1960  swi_uint256_t ParamPresenceMask;
1962 
1975  uint8_t *pResp,
1976  uint16_t respLen,
1978  );
1979 
2019 typedef struct
2020 {
2021  uint8_t messageType;
2022  uint8_t messageClass;
2023  uint8_t routeStorage;
2024  uint8_t receiptAction;
2025 } sms_routeEntry;
2026 
2041 typedef struct
2042 {
2043  uint16_t numOfRoutes;
2044  sms_routeEntry routeList[SMS_MAX_SMS_ROUTES];
2045  uint8_t *pTransferStatusReport;
2047 
2060 typedef struct
2061 {
2062  sms_setRoutesReq *pSetRoutesReq;
2064 
2081  pack_qmi_t *pCtx,
2082  uint8_t *pReqBuf,
2083  uint16_t *pLen,
2084  pack_sms_SLQSSmsSetRoutes_t *reqParam
2085  );
2086 
2093 typedef struct
2094 {
2095  swi_uint256_t ParamPresenceMask;
2111  uint8_t *pResp,
2112  uint16_t respLen,
2114  );
2115 
2131  pack_qmi_t *pCtx,
2132  uint8_t *pReqBuf,
2133  uint16_t *pLen);
2134 
2147 typedef struct
2148 {
2149  uint16_t numOfRoutes;
2150  sms_routeEntry routeList[SMS_MAX_SMS_ROUTES];
2151  uint8_t *pTransferStatusReport;
2152  swi_uint256_t ParamPresenceMask;
2154 
2169  uint8_t *pResp,
2170  uint16_t respLen,
2172  );
2173 
2185 typedef struct
2186 {
2187  uint8_t msgProtocol;
2189 
2203 typedef struct
2204 {
2205  sms_msgProtocolResp *pMessageProtocol;
2206  swi_uint256_t ParamPresenceMask;
2208 
2223  pack_qmi_t *pCtx,
2224  uint8_t *pReqBuf,
2225  uint16_t *pLen
2226  );
2227 
2242  uint8_t *pResp,
2243  uint16_t respLen,
2245  );
2246 
2265 typedef struct
2266 {
2267  uint8_t storageType;
2268  uint8_t *pMessageMode;
2270 
2271 
2286 typedef struct
2287 {
2288  uint32_t maxStorageSize;
2289  uint32_t freeSlots;
2291 
2300 typedef struct
2301 {
2302  sms_maxStorageSizeReq *pMaxStorageSizeReq;
2304 
2323 typedef struct
2324 {
2325  sms_maxStorageSizeResp *pMaxStorageSizeResp;
2326  swi_uint256_t ParamPresenceMask;
2328 
2345  pack_qmi_t *pCtx,
2346  uint8_t *pReqBuf,
2347  uint16_t *pLen,
2349  );
2350 
2367  uint8_t *pResp,
2368  uint16_t respLen,
2370  );
2371 
2393 typedef struct
2394 {
2395  uint8_t msgType;
2396  uint8_t activeInd;
2397  uint8_t msgCount;
2399 
2413 typedef struct
2414 {
2415  uint8_t numInstances;
2416  sms_messageWaitingInfoContent msgWaitInfo[SMS_NUM_OF_SET];
2418 
2432 typedef struct
2433 {
2434  sms_getMsgWaitingInfo *pGetMsgWaitingInfoResp;
2435  swi_uint256_t ParamPresenceMask;
2437 
2452  pack_qmi_t *pCtx,
2453  uint8_t *pReqBuf,
2454  uint16_t *pLen
2455  );
2456 
2471  uint8_t *pResp,
2472  uint16_t respLen,
2474  );
2475 
2546 typedef struct
2547 {
2548  uint32_t messageFormat;
2549  uint32_t messageSize;
2550  uint8_t *pMessage;
2551  uint8_t *pForceOnDC;
2552  uint8_t *pServiceOption;
2553  uint8_t *pFollowOnDC;
2554  uint8_t *pLinktimer;
2555  uint8_t *pSmsOnIms;
2556  uint8_t *pRetryMessage;
2557  uint32_t *pRetryMessageId;
2558  uint32_t *pUserData;
2560 
2570 typedef struct
2571 {
2572  sms_sendAsyncsmsParams *pSendSmsParams;
2574 
2589  pack_qmi_t *pCtx,
2590  uint8_t *pReqBuf,
2591  uint16_t *pLen,
2592  pack_sms_SLQSSendAsyncSMS_t *reqParam
2593  );
2594 
2600 typedef struct
2601 {
2602  swi_uint256_t ParamPresenceMask;
2604 
2617  uint8_t *pResp,
2618  uint16_t respLen,
2620  );
2621 
2633 typedef struct
2634 {
2635  uint8_t smsStorage;
2637 
2654  pack_qmi_t *pCtx,
2655  uint8_t *pReqBuf,
2656  uint16_t *pLen,
2658  );
2659 
2674  pack_qmi_t *pCtx,
2675  uint8_t *pReqBuf,
2676  uint16_t *pLen,
2678  );
2679 
2685 typedef struct
2686 {
2687  swi_uint256_t ParamPresenceMask;
2689 
2704  uint8_t *pResp,
2705  uint16_t respLen,
2707  );
2708 
2721  uint8_t *pResp,
2722  uint16_t respLen,
2724  );
2725 
2741 typedef struct
2742 {
2743  uint32_t *pSmsStorage;
2744  swi_uint256_t ParamPresenceMask;
2746 
2762  pack_qmi_t *pCtx,
2763  uint8_t *pReqBuf,
2764  uint16_t *pLen
2765  );
2766 
2782  uint8_t *pResp,
2783  uint16_t respLen,
2785  );
2786 
2811 typedef struct
2812 {
2813  uint8_t regInd;
2814  sms_transLayerInfo *pTransLayerInfo;
2815  swi_uint256_t ParamPresenceMask;
2817 
2832  uint8_t *pResp,
2833  uint16_t respLen,
2835  );
2836 
2858 typedef struct
2859 {
2860  uint8_t NWRegStat;
2861  swi_uint256_t ParamPresenceMask;
2863 
2878  uint8_t *pResp,
2879  uint16_t respLen,
2881  );
2882 
2900 typedef struct
2901 {
2902  uint8_t numInstances;
2903  sms_messageWaitingInfoContent msgWaitInfo[SMS_NUM_OF_SET];
2904  swi_uint256_t ParamPresenceMask;
2906 
2921  uint8_t *pResp,
2922  uint16_t respLen,
2924  );
2925 
2992 typedef struct
2993 {
2994  uint16_t sendStatus;
2995  uint16_t messageID;
2996  uint16_t causeCode;
2997  uint8_t errorClass;
2998  uint16_t RPCause;
2999  uint8_t TPCause;
3000  uint8_t msgDelFailureType;
3001  uint8_t msgDelFailureCause;
3002  uint8_t alphaIDLen;
3003  uint8_t *pAlphaID;
3004  uint32_t userData;
3005  swi_uint256_t ParamPresenceMask;
3007 
3022  uint8_t *pResp,
3023  uint16_t respLen,
3025  );
3026 
3027 
3028 int sms_DecodePrimaryEtwstMsg(
3029  uint8_t* pdu,
3030  uint8_t pduLength,
3031  uint32_t* pSerialNumber,
3032  uint32_t* pMessageIdentifier,
3033  uint8_t* pWarningType,
3034  bool* pUserAlert,
3035  bool* pPopup
3036 );
3037 
3038 int sms_EncodeMOTextMsg(
3039  uint8_t* pMessageListSize,
3040  uint8_t* pMessageList,
3041  uint8_t messageRefNum,
3042  char* pDestAddr,
3043  uint32_t textMsgLength,
3044  wchar_t* pTextMsg,
3045  char* pScAddr,
3046  bool* pRejectDuplicates,
3047  bool* pStatusReportReq,
3048  bool* pReplyPath,
3049  uint8_t* pValidityFormat,
3050  uint8_t validityPeriod[7],
3051  uint8_t* pEncodingAlphabet,
3052  uint8_t nNationalLangId );
3053 
3054 int sms_EncodeMOTextMsgCdma(
3055  uint8_t* pMessageListSize,
3056  uint8_t* pMessage,
3057  uint8_t messageId,
3058  char* pDestAddr,
3059  char* pCallbackAddr,
3060  uint32_t textMsgLength,
3061  wchar_t* pTextMsg,
3062  uint8_t* pPriority,
3063  uint8_t* pEncodingAlphabet,
3064  uint8_t* pRelValidity,
3065  uint8_t* pDeliveryAck,
3066  uint8_t nNationalLangId);
3067 
3068 int sms_DecodeMTTextMsg(uint8_t* pMessage,
3069  uint8_t* pSenderAddrLength,
3070  char* pSenderAddr,
3071  uint8_t* pTextMsgLength,
3072  wchar_t* pTextMsg,
3073  uint8_t* pScAddrLength,
3074  char* pScAddr,
3075  bool* pMoreMsgSend,
3076  bool* pReplyPath,
3077  bool* pStatusReportInd,
3078  uint8_t scTimeStamp[7],
3079  bool* pConcatenatedMsg,
3080  uint32_t* pMsgRefNum,
3081  uint8_t* pTotalSegments,
3082  uint8_t* pSegmentNum,
3083  uint8_t* pEncodingAlphabet,
3084  uint8_t status);
3085 
3086 int sms_DecodeTransRouteMTTextMsg(uint8_t* pMessage,
3087  uint8_t* pduSCAddr,
3088  uint8_t nSCAddrLen,
3089  uint8_t* pSenderAddrLength,
3090  char* pSenderAddr,
3091  uint8_t* pTextMsgLength,
3092  wchar_t* pTextMsg,
3093  uint8_t* pScAddrLength,
3094  char* pScAddr,
3095  uint8_t scTimeStamp[7],
3096  bool* pConcatenatedMsg,
3097  uint32_t* pMsgRefNum,
3098  uint8_t* pTotalSegments,
3099  uint8_t* pSegmentNum,
3100  uint8_t* pEncodingAlphabet);
3101 
3102 int sms_DecodeClass0Msg (uint8_t* pdu,
3103  uint8_t* pMessageType,
3104  uint8_t* pSCNumberLength,
3105  wchar_t* pSCNumber,
3106  uint8_t* pMONumberLength,
3107  wchar_t* pMONumber,
3108  uint8_t* pProtocolID,
3109  uint8_t* pEncodingAlphabet,
3110  uint8_t scTimeStamp[7],
3111  uint16_t* pTextMsgLength,
3112  wchar_t* pTextMsg);
3113 
3114 int sms_DecodeCmasMsg ( uint8_t* pdu,
3115  uint8_t pduLength,
3116  uint32_t* pSerialNumber,
3117  uint32_t* pMessageIdentifier,
3118  uint32_t* pPageCount,
3119  uint32_t* pPageIndex,
3120  uint32_t* pEncodingAlphabet,
3121  uint8_t* pTextMsgLength,
3122  wchar_t* pTextMsg);
3123 
3124 int sms_DecodeSecondaryEtwstMsg(uint8_t* pdu,
3125  uint32_t pduLength,
3126  uint8_t* pMsgType,
3127  uint32_t* pMessageIdentifier,
3128  uint32_t* pSerialNumber,
3129  uint32_t* pEncodingAlphabet,
3130  uint8_t* pTextMsgLength,
3131  wchar_t* pTextMsg);
3132 
3133 
3134 #ifdef __cplusplus
3135 } /* extern "C" { */
3136 #endif
3137 
3138 #endif
3139 
Definition: sms.h:1070
Definition: sms.h:742
Definition: sms.h:191
Definition: sms.h:426
Definition: sms.h:2286
int unpack_sms_SetSMSCAddress(uint8_t *pResp, uint16_t respLen, unpack_sms_SetSMSCAddress_t *pOutput)
int unpack_sms_SLQSSetSmsBroadcastActivation(uint8_t *pResp, uint16_t respLen, unpack_sms_SLQSSetSmsBroadcastActivation_t *pOutput)
int pack_sms_SLQSSwiSetSmsStorage(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_sms_SLQSSetSmsStorage_t *reqParam)
int unpack_sms_SLQSDeleteSMS(uint8_t *pResp, uint16_t respLen, unpack_sms_SLQSDeleteSMS_t *pOutput)
int unpack_sms_SLQSSmsGetMaxStorageSize(uint8_t *pResp, uint16_t respLen, unpack_sms_SLQSSmsGetMaxStorageSize_t *pOutput)
int unpack_sms_SetNewSMSCallback(uint8_t *pResp, uint16_t respLen, unpack_sms_SetNewSMSCallback_t *Output)
int unpack_sms_SLQSSetIndicationRegister(uint8_t *pResp, uint16_t respLen, unpack_sms_SLQSSetIndicationRegister_t *pOutput)
Definition: sms.h:767
Definition: sms.h:2093
Definition: sms.h:1802
Definition: sms.h:1712
Definition: sms.h:756
Definition: sms.h:84
Definition: sms.h:583
Definition: sms.h:1334
Definition: sms.h:2265
int unpack_sms_SLQSGetSmsBroadcastConfig(uint8_t *pResp, uint16_t respLen, unpack_sms_SLQSGetSmsBroadcastConfig_t *pOutput)
Definition: sms.h:1159
Definition: sms.h:568
int unpack_sms_SLQSGetSMSList(uint8_t *pResp, uint16_t respLen, unpack_sms_SLQSGetSMSList_t *pOutput)
int unpack_sms_SLQSSwiSetSmsStorage(uint8_t *pResp, uint16_t respLen, unpack_sms_SLQSSetSmsStorage_t *pOutput)
int pack_sms_SetSMSCAddress(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_sms_SetSMSCAddress_t *reqParam)
Definition: sms.h:2185
Definition: sms.h:46
int unpack_sms_SLQSSendAsyncSMS(uint8_t *pResp, uint16_t respLen, unpack_sms_SLQSSendAsyncSMS_t *pOutput)
int unpack_sms_SLQSGetSMS(uint8_t *pResp, uint16_t respLen, unpack_sms_SLQSGetSMS_t *pOutput)
Definition: sms.h:858
Definition: sms.h:832
Definition: sms.h:630
int pack_sms_SLQSGetSMSList(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_sms_SLQSGetSMSList_t *reqParam)
Definition: sms.h:1626
Definition: sms.h:166
int pack_sms_GetSMSCAddress(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen)
Definition: sms.h:1311
int pack_sms_SLQSSmsGetMessageProtocol(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen)
Definition: sms.h:2147
int pack_sms_SLQSSmsGetMaxStorageSize(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_sms_SLQSSmsGetMaxStorageSize_t *reqParam)
int pack_sms_SLQSGetSmsBroadcastConfig(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_sms_SLQSGetSmsBroadcastConfig_t *reqParam)
int unpack_sms_SLQSWmsMessageWaitingCallBack_ind(uint8_t *pResp, uint16_t respLen, unpack_sms_SLQSWmsMessageWaitingCallBack_ind_t *pOutput)
Definition: sms.h:383
int pack_sms_SLQSSmsGetRoutes(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen)
Definition: sms.h:2546
Definition: sms.h:1908
Definition: sms.h:507
Definition: sms.h:1599
int unpack_sms_SendSMS(uint8_t *pResp, uint16_t respLen, unpack_sms_SendSMS_t *pOutput)
int pack_sms_SLQSModifySMSStatus(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_sms_SLQSModifySMSStatus_t *reqParam)
int unpack_sms_SLQSWmsAsyncRawSendCallBack_ind(uint8_t *pResp, uint16_t respLen, unpack_sms_SLQSWmsAsyncRawSendCallBack_ind_t *pOutput)
Definition: sms.h:2393
int unpack_sms_SLQSSmsSetRoutes(uint8_t *pResp, uint16_t respLen, unpack_sms_SLQSSmsSetRoutes_t *pOutput)
Definition: sms.h:1280
Definition: sms.h:868
Definition: sms.h:694
Definition: sms.h:613
int unpack_sms_SLQSGetTransNWRegInfo(uint8_t *pResp, uint16_t respLen, unpack_sms_SLQSGetTransNWRegInfo_t *pOutput)
int unpack_sms_SLQSGetIndicationRegister(uint8_t *pResp, uint16_t respLen, unpack_sms_SLQSGetIndicationRegister_t *pOutput)
int unpack_sms_SLQSTransLayerInfoCallback_ind(uint8_t *pResp, uint16_t respLen, unpack_sms_SLQSTransLayerInfoCallback_ind_t *pOutput)
Definition: sms.h:814
Definition: sms.h:726
Definition: qaGobiApiCbk.h:1233
int unpack_sms_SLQSGetMessageWaiting(uint8_t *pResp, uint16_t respLen, unpack_sms_SLQSGetMessageWaiting_t *pOutput)
Definition: qaGobiApiCbk.h:1269
Definition: sms.h:2060
Definition: sms.h:449
Definition: sms.h:679
Definition: sms.h:539
Definition: sms.h:2685
int unpack_sms_SLQSModifySMSStatus(uint8_t *pResp, uint16_t respLen, unpack_sms_SLQSModifySMSStatus_t *pOutput)
int pack_sms_SetNewSMSCallback(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_sms_SetNewSMSCallback_t *reqParam)
int pack_sms_SLQSSmsSetRoutes(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_sms_SLQSSmsSetRoutes_t *reqParam)
Definition: sms.h:780
Definition: sms.h:1129
int pack_sms_SLQSGetTransNWRegInfo(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen)
int pack_sms_SLQSGetIndicationRegister(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen)
int pack_sms_SLQSSetIndicationRegister(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_sms_SLQSSetIndicationRegister_t *reqParam)
int pack_sms_SLQSDeleteSMS(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_sms_SLQSDeleteSMS_t *reqParam)
Definition: sms.h:712
int unpack_sms_SaveSMS(uint8_t *pResp, uint16_t respLen, unpack_sms_SaveSMS_t *pOutput)
Definition: sms.h:1205
int unpack_sms_SLQSWmsMemoryFullCallBack_ind(uint8_t *pResp, uint16_t respLen, unpack_sms_SLQSWmsMemoryFullCallBack_ind_t *pOutput)
Definition: sms.h:2019
Definition: sms.h:151
Definition: sms.h:657
Definition: qaGobiApiSms.h:177
int pack_sms_SLQSSetSmsBroadcastActivation(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_sms_SLQSSetSmsBroadcastActivation_t *reqParam)
Definition: sms.h:260
Definition: sms.h:2741
Definition: sms.h:2413
int unpack_sms_SLQSSwiGetSMSStorage(uint8_t *pResp, uint16_t respLen, unpack_sms_SLQSSwiGetSMSStorage_t *pOutput)
int pack_sms_SLQSGetTransLayerInfo(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen)
int unpack_sms_SLQSSmsGetRoutes(uint8_t *pResp, uint16_t respLen, unpack_sms_SLQSSmsGetRoutes_t *pOutput)
int unpack_sms_SetNewSMSCallback_ind(uint8_t *pResp, uint16_t respLen, unpack_sms_SetNewSMSCallback_ind_t *pOutput)
int unpack_sms_SLQSSetSmsStorage(uint8_t *pResp, uint16_t respLen, unpack_sms_SLQSSetSmsStorage_t *pOutput)
int unpack_sms_GetSMSCAddress(uint8_t *pResp, uint16_t respLen, unpack_sms_GetSMSCAddress_t *pOutput)
Definition: qaGobiApiCbk.h:1251
Definition: sms.h:842
Definition: sms.h:644
Definition: sms.h:1220
int unpack_sms_SLQSSmsGetMessageProtocol(uint8_t *pResp, uint16_t respLen, unpack_sms_SLQSSmsGetMessageProtocol_t *pOutput)
Definition: sms.h:884
Definition: sms.h:347
int pack_sms_SendSMS(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_sms_SendSMS_t *reqParam)
int unpack_sms_SLQSSetSmsBroadcastConfig(uint8_t *pResp, uint16_t respLen, unpack_sms_SLQSSetSmsBroadcastConfig_t *pOutput)
int pack_sms_SLQSSendAsyncSMS(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_sms_SLQSSendAsyncSMS_t *reqParam)
int pack_sms_SLQSSetSmsBroadcastConfig(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_sms_SLQSSetSmsBroadcastConfig_t *reqParam)
Definition: common.h:139
int unpack_sms_SLQSGetTransLayerInfo(uint8_t *pResp, uint16_t respLen, unpack_sms_SLQSGetTransLayerInfo_t *pOutput)
Definition: sms.h:2041
int pack_sms_SaveSMS(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_sms_SaveSMS_t *reqParam)
Definition: qaGobiApiCbk.h:1211
int pack_sms_SLQSGetMessageWaiting(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen)
Definition: sms.h:2633
int pack_sms_SLQSSwiGetSMSStorage(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen)
int pack_sms_SLQSGetSMS(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_sms_SLQSGetSMS_t *reqParam)
Definition: sms.h:1364
Definition: sms.h:802
Definition: sms.h:895
int unpack_sms_SLQSNWRegInfoCallback_ind(uint8_t *pResp, uint16_t respLen, unpack_sms_SLQSNWRegInfoCallback_ind_t *pOutput)
Definition: sms.h:2600
int pack_sms_SLQSSetSmsStorage(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_sms_SLQSSetSmsStorage_t *reqParam)
Definition: sms.h:2570