LinuxQMISDK-Lite  SLQS04.00.23
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
cat.h File Reference

Go to the source code of this file.

Data Structures

struct  pack_cat_SetCATEventCallback_t
 
struct  unpack_cat_SetCATEventCallback_t
 
struct  cat_EventIDDataTlv
 
struct  cat_AlPhaIdentifierTlv
 
struct  cat_EventListTlv
 
struct  cat_RefreshTlv
 
struct  cat_EndProactiveSessionTlv
 
union  cat_currentCatEvent
 
struct  cat_commonEventTlv
 
struct  unpack_cat_SetCatEventCallback_ind_t
 
struct  pack_cat_CATSendEnvelopeCommand_t
 
struct  pack_cat_CATSendTerminalResponse_t
 

Macros

#define CAT_EVENT_DATA_MAX_LENGTH   255
 
#define CAN_COMMON_EVENT_TLV_NUMBER   11
 

Typedefs

typedef unpack_result_t unpack_cat_CATSendEnvelopeCommand_t
 
typedef unpack_result_t unpack_cat_CATSendTerminalResponse_t
 

Functions

int pack_cat_SetCATEventCallback (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_cat_SetCATEventCallback_t *reqArg)
 
int unpack_cat_SetCATEventCallback (uint8_t *pResp, uint16_t respLen, unpack_cat_SetCATEventCallback_t *pOutput)
 
int unpack_cat_SetCatEventCallback_ind (uint8_t *pResp, uint16_t respLen, unpack_cat_SetCatEventCallback_ind_t *pOutput)
 
int pack_cat_CATSendEnvelopeCommand (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_cat_CATSendEnvelopeCommand_t *reqArg)
 
int unpack_cat_CATSendEnvelopeCommand (uint8_t *pResp, uint16_t respLen, unpack_cat_CATSendEnvelopeCommand_t *pOutput)
 
int pack_cat_CATSendTerminalResponse (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_cat_CATSendTerminalResponse_t *reqArg)
 
int unpack_cat_CATSendTerminalResponse (uint8_t *pResp, uint16_t respLen, unpack_cat_CATSendTerminalResponse_t *pOutput)
 

Macro Definition Documentation

#define CAN_COMMON_EVENT_TLV_NUMBER   11
#define CAT_EVENT_DATA_MAX_LENGTH   255

Typedef Documentation

Function Documentation

int pack_cat_CATSendEnvelopeCommand ( pack_qmi_t pCtx,
uint8_t *  pReqBuf,
uint16_t *  pLen,
pack_cat_CATSendEnvelopeCommand_t reqArg 
)

Sends the envelope command to the device pack

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

Sends the terminal response to the device pack

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

Enables/disables the CAT event callback pack

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

Sends the envelope command to the device unpack

Parameters
[in]pRespqmi response from modem
[in]respLenqmi response length
[out]pOutputresponse unpacked
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
int unpack_cat_CATSendTerminalResponse ( uint8_t *  pResp,
uint16_t  respLen,
unpack_cat_CATSendTerminalResponse_t pOutput 
)

Sends the terminal response to the device unpack

Parameters
[in]pRespqmi response from modem
[in]respLenqmi response length
[out]pOutputresponse unpacked
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
int unpack_cat_SetCATEventCallback ( uint8_t *  pResp,
uint16_t  respLen,
unpack_cat_SetCATEventCallback_t pOutput 
)

Enables/disables the CAT event callback unpack

Parameters
[in]pRespqmi response
[in]respLenqmi 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_cat_SetCatEventCallback_ind ( uint8_t *  pResp,
uint16_t  respLen,
unpack_cat_SetCatEventCallback_ind_t pOutput 
)

CAT event indication unpack

Parameters
[in]pRespqmi response from modem
[in]respLenqmi response length
[out]pOutputresponse unpacked
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