libpack  SLQS03.03.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations | Functions
sms.h File Reference

Go to the source code of this file.

Data Structures

struct  pack_sms_SLQSGetSMS_t
 
struct  unpack_sms_SLQSGetSMS_t
 
struct  pack_sms_SLQSGetSMSList_t
 
struct  qmiSmsMessageList
 
struct  unpack_sms_SLQSGetSMSList_t
 
struct  pack_sms_SLQSModifySMSStatus_t
 
struct  unpack_sms_SLQSModifySMSStatus_t
 
struct  pack_sms_SLQSDeleteSMS_t
 
struct  unpack_sms_SLQSDeleteSMS_t
 
struct  pack_sms_SendSMS_t
 
struct  unpack_sms_SendSMS_t
 
struct  pack_sms_SetNewSMSCallback_t
 
struct  unpack_sms_SetNewSMSCallback_t
 
struct  sMSMTMessage
 
struct  newMTMessageTlv
 
struct  sMSTransferRouteMTMessage
 
struct  transferRouteMessageTlv
 
struct  sMSMessageMode
 
struct  messageModeTlv
 
struct  sMSEtwsMessage
 
struct  sMSEtwsMessageTlv
 
struct  sMSEtwsPlmn
 
struct  eTWSPLMNInfoTlv
 
struct  sMSCAddress
 
struct  sMSCAddressTlv
 
struct  sMSOnIMS
 
struct  sMSOnIMSTlv
 
struct  unpack_sms_SetNewSMSCallback_ind_t
 
struct  unpack_sms_SLQSWmsMemoryFullCallBack_ind_t
 

Macros

#define MAX_SMS_MESSAGE_SIZE   255
 
#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
 

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
}
 

Functions

int pack_sms_SLQSGetSMS (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_sms_SLQSGetSMS_t *reqParam)
 
int unpack_sms_SLQSGetSMS (uint8_t *pResp, uint16_t respLen, unpack_sms_SLQSGetSMS_t *pOutput)
 
int pack_sms_SLQSGetSMSList (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_sms_SLQSGetSMSList_t *reqParam)
 
int unpack_sms_SLQSGetSMSList (uint8_t *pResp, uint16_t respLen, unpack_sms_SLQSGetSMSList_t *pOutput)
 
int pack_sms_SLQSModifySMSStatus (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_sms_SLQSModifySMSStatus_t *reqParam)
 
int unpack_sms_SLQSModifySMSStatus (uint8_t *pResp, uint16_t respLen, unpack_sms_SLQSModifySMSStatus_t *pOutput)
 
int pack_sms_SLQSDeleteSMS (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_sms_SLQSDeleteSMS_t *reqParam)
 
int unpack_sms_SLQSDeleteSMS (uint8_t *pResp, uint16_t respLen, unpack_sms_SLQSDeleteSMS_t *pOutput)
 
int pack_sms_SendSMS (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_sms_SendSMS_t *reqParam)
 
int unpack_sms_SendSMS (uint8_t *pResp, uint16_t respLen, unpack_sms_SendSMS_t *pOutput)
 
int pack_sms_SetNewSMSCallback (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_sms_SetNewSMSCallback_t reqParam)
 
int unpack_sms_SetNewSMSCallback (uint8_t *pResp, uint16_t respLen, unpack_sms_SetNewSMSCallback_t *Output)
 
int unpack_sms_SetNewSMSCallback_ind (uint8_t *pResp, uint16_t respLen, unpack_sms_SetNewSMSCallback_ind_t *pOutput)
 
int unpack_sms_SLQSWmsMemoryFullCallBack_ind (uint8_t *pResp, uint16_t respLen, unpack_sms_SLQSWmsMemoryFullCallBack_ind_t *pOutput)
 

Macro Definition Documentation

#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   255

Typedef Documentation

typedef struct sMSCAddress sMSCAddressInfo
Parameters
length
  • Number of sets of following element
data
  • SMSC address
Parameters
notificationType
  • Message mode 0x00 - Primary 0x01 - Secondary GSM 0x02 - Secondary UMTS
length
  • Number of sets of following elements
data
  • Raw message data
typedef struct sMSEtwsPlmn sMSEtwsPlmnInfo
Parameters
mobileCountryCode
  • 16 bit representation of MCC value range : 0 -999
mobileNetworkCode
  • 16 bit representation of MNC value range : 0 -999
Parameters
messageModeMessage Mode
Parameters
storageTypememory storage 0x00-UIM 0x01-NV
messageIndexMT Message index
typedef struct sMSOnIMS sMSOnIMSInfo
Parameters
smsOnIMSSMS on IMS
Parameters
ackIndicator
  • Parameter to indicate if ACK must be sent by the control point 0x00 - Send ACK 0x01 - Do not send ACK
transactionID
  • Transaction ID of the message
format
  • Message format 0x00 - CDMA 0x02 - 0x05 - Reserved 0x06 - GW_PP 0x07 - GW_BC
length
  • Length of the raw message. This length should not exceed the maximum WMS payload length of 256 bytes
data
  • Raw message data

Enumeration Type Documentation

Enumerator
LIBPACK_QMI_CBK_PARAM_RESET 
LIBPACK_QMI_CBK_PARAM_SET 
LIBPACK_QMI_CBK_PARAM_NOCHANGE 

Function Documentation

int pack_sms_SendSMS ( pack_qmi_t pCtx,
uint8_t *  pReqBuf,
uint16_t *  pLen,
pack_sms_SendSMS_t reqParam 
)

send sms list pack

Parameters
[in,out]pCtxqmi request context
[out]pReqBufqmi request buffer
[out]pLenqmi request length
reqParampacked request
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
int pack_sms_SetNewSMSCallback ( pack_qmi_t pCtx,
uint8_t *  pReqBuf,
uint16_t *  pLen,
pack_sms_SetNewSMSCallback_t  reqParam 
)

set new sms callback pack

Parameters
[in,out]pCtxqmi request context
[out]pReqBufqmi request buffer
[out]pLenqmi request length
reqParampacked request
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
int pack_sms_SLQSDeleteSMS ( pack_qmi_t pCtx,
uint8_t *  pReqBuf,
uint16_t *  pLen,
pack_sms_SLQSDeleteSMS_t reqParam 
)

delete sms pack

Parameters
[in,out]pCtxqmi request context
[out]pReqBufqmi request buffer
[out]pLenqmi request length
reqParampacked request
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
int pack_sms_SLQSGetSMS ( pack_qmi_t pCtx,
uint8_t *  pReqBuf,
uint16_t *  pLen,
pack_sms_SLQSGetSMS_t reqParam 
)

get sms pack

Parameters
[in,out]pCtxqmi request context
[out]pReqBufqmi request buffer
[out]pLenqmi request length
reqParampacked request
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
int pack_sms_SLQSGetSMSList ( pack_qmi_t pCtx,
uint8_t *  pReqBuf,
uint16_t *  pLen,
pack_sms_SLQSGetSMSList_t reqParam 
)

get sms list pack

Parameters
[in,out]pCtxqmi request context
[out]pReqBufqmi request buffer
[out]pLenqmi request length
reqParampacked request
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
int pack_sms_SLQSModifySMSStatus ( pack_qmi_t pCtx,
uint8_t *  pReqBuf,
uint16_t *  pLen,
pack_sms_SLQSModifySMSStatus_t reqParam 
)

modify sms status pack

Parameters
[in,out]pCtxqmi request context
[out]pReqBufqmi request buffer
[out]pLenqmi request length
reqParampacked request
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
int unpack_sms_SendSMS ( uint8_t *  pResp,
uint16_t  respLen,
unpack_sms_SendSMS_t pOutput 
)

send sms unpack

Parameters
[in]pRespqmi response
[in]pespLenqmi response length
[out]pOutputunpacked response
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
int unpack_sms_SetNewSMSCallback ( uint8_t *  pResp,
uint16_t  respLen,
unpack_sms_SetNewSMSCallback_t Output 
)

set new sms callback unpack

Parameters
[in]pRespqmi response
[in]pespLenqmi response length
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
int unpack_sms_SetNewSMSCallback_ind ( uint8_t *  pResp,
uint16_t  respLen,
unpack_sms_SetNewSMSCallback_ind_t pOutput 
)

set new sms callback indication unpack

Parameters
[in]pRespqmi response
[in]pespLenqmi response length
[out]pOutputunpacked response
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
int unpack_sms_SLQSDeleteSMS ( uint8_t *  pResp,
uint16_t  respLen,
unpack_sms_SLQSDeleteSMS_t pOutput 
)

delete sms unpack

Parameters
[in]pRespqmi response
[in]pespLenqmi response length
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
int unpack_sms_SLQSGetSMS ( uint8_t *  pResp,
uint16_t  respLen,
unpack_sms_SLQSGetSMS_t pOutput 
)

get sms unpack

Parameters
[in]pRespqmi response
[in]pespLenqmi response length
[out]pOutputunpacked response
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
int unpack_sms_SLQSGetSMSList ( uint8_t *  pResp,
uint16_t  respLen,
unpack_sms_SLQSGetSMSList_t pOutput 
)

get sms list unpack

Parameters
[in]pRespqmi response
[in]pespLenqmi response length
[out]pOutputunpacked response
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
int unpack_sms_SLQSModifySMSStatus ( uint8_t *  pResp,
uint16_t  respLen,
unpack_sms_SLQSModifySMSStatus_t pOutput 
)

modify sms status unpack

Parameters
[in]pRespqmi response
[in]pespLenqmi response length
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
int unpack_sms_SLQSWmsMemoryFullCallBack_ind ( uint8_t *  pResp,
uint16_t  respLen,
unpack_sms_SLQSWmsMemoryFullCallBack_ind_t pOutput 
)

sms full callback indication unpack

Parameters
[in]pRespqmi response
[in]pespLenqmi response length
[out]pOutputunpacked response
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values

Copyright (c) 2011-2015 Sierra Wireless, Inc. All rights reserved