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

Go to the source code of this file.

Data Structures

struct  pack_swiavms_SLQSAVMSStartSession_t
 
struct  unpack_swiavms_SLQSAVMSStartSession_t
 
struct  pack_swiavms_SLQSAVMSStopSession_t
 
struct  unpack_swiavms_SLQSAVMSStopSession_t
 
struct  PackSwiAvmsSetSettingsPeriodInfo
 
struct  PackSwiAvmsSetSettingsAPNInfo
 
struct  PackSwiAvmsSetSettingsConnectionRetryTimers
 
struct  pack_swiavms_SLQSAVMSSetSettings_t
 
struct  unpack_swiavms_SLQSAVMSSetSettings_t
 
struct  pack_swiavms_SLQSAVMSSetSettings_v2_t
 
struct  unpack_swiavms_SLQSAVMSSetSettings_v2_t
 
struct  PackSwiAVMSSettingsAPNInfo
 
struct  PackSwiAVMSSettingsConnectionRetryTimers
 
struct  PackSwiAVMSSettingsPeriodsInfo
 
struct  unpack_swiavms_SLQSAVMSGetSettings_t
 
struct  unpack_swiavms_SLQSAVMSGetSettings_v2_t
 
struct  pack_swiavms_SLQSAVMSSendSelection_t
 
struct  unpack_swiavms_SLQSAVMSSendSelection_t
 
struct  unpack_swiavms_SLQSAvmsSetEventReport_t
 
struct  UnpackSwiAvmsEventReportBinaryUpdateSessionInfo
 
struct  UnpackSwiAvmsEventReportConfig
 
struct  UnpackSwiAvmsEventReportNotification
 
struct  UnpackSwiAvmsEventReportConnectionRequest
 
struct  UnpackSwiAvmsEventReportWAMSParamChange
 
struct  UnpackSwiAvmsEventReportPackageID
 
struct  UnpackSwiAvmsEventReportRegStatus
 
struct  UnpackSwiAvmsEventReportDataSessionStatus
 
struct  UnpackSwiAvmsEventReportSessionType
 
struct  UnpackSwiAvmsEventReportHTTPStatus
 
struct  unpack_swiavms_SLQSAVMSSessionGetInfo_t
 
struct  unpack_swiavms_SLQSAVMSEventReportInd_t
 

Macros

#define LITEQMI_MAX_SWIOMA_STR_LEN   255
 
#define LITEQMI_MAX_GET_SETTINGS_AVMS_APN_STRING_LENGTH   49
 
#define LITEQMI_MAX_GET_SETTINGS_AVMS_UNAME_STRING_LENGTH   29
 
#define LITEQMI_MAX_GET_SETTINGS_AVMS_PWD_STRING_LENGTH   29
 
#define MAX_PACK_SWI_AVMS_SET_SETTING_APN_LENGTH   49
 
#define MAX_PACK_SWI_AVMS_SET_SETTING_UNAME_LENGTH   29
 
#define MAX_PACK_SWI_AVMS_SET_SETTING_PWD_LENGTH   29
 
#define MAX_PACK_SWI_AVMS_SET_SETTING_CONNECTION_RETRY_TIMMERS   8
 
#define MAX_AVMS_SETTINGS_RETRY_TIMER_NUMBER   8
 
#define MAX_PACK_SWI_AVMS_SESSIONGETINFO_BINARYUPDATESESSIONINFO_VERSION_LENGTH   128
 
#define MAX_PACK_SWI_AVMS_SESSIONGETINFO_BINARYUPDATESESSIONINFO_NAME_LENGTH   128
 
#define MAX_PACK_SWI_AVMS_SESSIONGETINFO_BINARYUPDATESESSIONINFO_DESC_LENGTH   1024
 
#define MAX_PACK_SWI_AVMS_SESSIONGETINFO_CONFIG_ALERT_MSG_LENGTH   200
 

Typedefs

typedef
unpack_swiavms_SLQSAVMSStopSession_t 
unpack_swiavms_SLQSAVMSStopSession_avc2_t
 

Functions

int pack_swiavms_SLQSAVMSStartSession (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_swiavms_SLQSAVMSStartSession_t reqParam)
 
int unpack_swiavms_SLQSAVMSStartSession (uint8_t *pResp, uint16_t respLen, unpack_swiavms_SLQSAVMSStartSession_t *pResponse)
 
int pack_swiavms_SLQSAVMSStopSession (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_swiavms_SLQSAVMSStopSession_t reqParam)
 
int unpack_swiavms_SLQSAVMSStopSession (uint8_t *pResp, uint16_t respLen, unpack_swiavms_SLQSAVMSStopSession_t *pResponse)
 
int unpack_swiavms_SLQSAVMSStopSession_avc2 (uint8_t *pResp, uint16_t respLen, unpack_swiavms_SLQSAVMSStopSession_t *pResponse)
 
int pack_swiavms_SLQSAVMSSetSettings (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_swiavms_SLQSAVMSSetSettings_t reqParam)
 
int unpack_swiavms_SLQSAVMSSetSettings (uint8_t *pResp, uint16_t respLen, unpack_swiavms_SLQSAVMSSetSettings_t *pResponse)
 
int pack_swiavms_SLQSAVMSSetSettings_v2 (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_swiavms_SLQSAVMSSetSettings_v2_t reqParam)
 
int unpack_swiavms_SLQSAVMSSetSettings_v2 (uint8_t *pResp, uint16_t respLen, unpack_swiavms_SLQSAVMSSetSettings_v2_t *pResponse)
 
int pack_swiavms_SLQSAVMSSetSettingsNoAutoRebootField (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_swiavms_SLQSAVMSSetSettings_t reqParam)
 
int pack_swiavms_SLQSAVMSGetSettings (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen)
 
int unpack_swiavms_SLQSAVMSGetSettings (uint8_t *pResp, uint16_t respLen, unpack_swiavms_SLQSAVMSGetSettings_t *pResponse)
 
int pack_swiavms_SLQSAVMSGetSettings_v2 (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen)
 
int unpack_swiavms_SLQSAVMSGetSettings_v2 (uint8_t *pResp, uint16_t respLen, unpack_swiavms_SLQSAVMSGetSettings_v2_t *pResponse)
 
int pack_swiavms_SLQSAVMSSendSelection (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_swiavms_SLQSAVMSSendSelection_t reqParam)
 
int unpack_swiavms_SLQSAVMSSendSelection (uint8_t *pResp, uint16_t respLen, unpack_swiavms_SLQSAVMSSendSelection_t *pResponse)
 
int pack_swiavms_SLQSAvmsSetEventReport (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen)
 
int unpack_swiavms_SLQSAvmsSetEventReport (uint8_t *pResp, uint16_t respLen, unpack_swiavms_SLQSAvmsSetEventReport_t *pResponse)
 
int pack_swiavms_SLQSAVMSSessionGetInfo (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen)
 
int unpack_swiavms_SLQSAVMSSessionGetInfo (uint8_t *pResp, uint16_t respLen, unpack_swiavms_SLQSAVMSSessionGetInfo_t *pResponse)
 
int unpack_swiavms_SLQSAVMSEventReportInd (uint8_t *pResp, uint16_t respLen, unpack_swiavms_SLQSAVMSEventReportInd_t *pResponse)
 

Macro Definition Documentation

#define LITEQMI_MAX_GET_SETTINGS_AVMS_APN_STRING_LENGTH   49
#define LITEQMI_MAX_GET_SETTINGS_AVMS_PWD_STRING_LENGTH   29
#define LITEQMI_MAX_GET_SETTINGS_AVMS_UNAME_STRING_LENGTH   29
#define LITEQMI_MAX_SWIOMA_STR_LEN   255
#define MAX_AVMS_SETTINGS_RETRY_TIMER_NUMBER   8
#define MAX_PACK_SWI_AVMS_SESSIONGETINFO_BINARYUPDATESESSIONINFO_DESC_LENGTH   1024
#define MAX_PACK_SWI_AVMS_SESSIONGETINFO_BINARYUPDATESESSIONINFO_NAME_LENGTH   128
#define MAX_PACK_SWI_AVMS_SESSIONGETINFO_BINARYUPDATESESSIONINFO_VERSION_LENGTH   128
#define MAX_PACK_SWI_AVMS_SESSIONGETINFO_CONFIG_ALERT_MSG_LENGTH   200
#define MAX_PACK_SWI_AVMS_SET_SETTING_APN_LENGTH   49
#define MAX_PACK_SWI_AVMS_SET_SETTING_CONNECTION_RETRY_TIMMERS   8
#define MAX_PACK_SWI_AVMS_SET_SETTING_PWD_LENGTH   29
#define MAX_PACK_SWI_AVMS_SET_SETTING_UNAME_LENGTH   29

Typedef Documentation

Function Documentation

int pack_swiavms_SLQSAVMSGetSettings ( pack_qmi_t pCtx,
uint8_t *  pReqBuf,
uint16_t *  pLen 
)

Function to pack AVMS Get settings command This maps to SLQSAVMSSetSettings

Parameters
[out]pCtx
[in,out]pReqBuf
  • Buffer for packed QMI command to be provided by the host application
  • Minimum expected size is 2048 bytes
[in,out]pLen
  • On input, size of pReqBuf
  • On ouptut, number of bytes actually packed
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
Note
Timeout: 2 seconds
int pack_swiavms_SLQSAVMSGetSettings_v2 ( pack_qmi_t pCtx,
uint8_t *  pReqBuf,
uint16_t *  pLen 
)

Function to pack AVMS Get settings command This maps to SLQSAVMSSetSettings_v2 (For AVC2 service)

Parameters
[out]pCtx
[in,out]pReqBuf
  • Buffer for packed QMI command to be provided by the host application
  • Minimum expected size is 2048 bytes
[in,out]pLen
  • On input, size of pReqBuf
  • On ouptut, number of bytes actually packed
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
Note
Timeout: 2 seconds
int pack_swiavms_SLQSAVMSSendSelection ( pack_qmi_t pCtx,
uint8_t *  pReqBuf,
uint16_t *  pLen,
pack_swiavms_SLQSAVMSSendSelection_t  reqParam 
)

Function to pack AVMS send selection command This maps to SLQSAVMSSendSelection

Parameters
[out]pCtx
[in,out]pReqBuf
  • Buffer for packed QMI command to be provided by the host application
  • Minimum expected size is 2048 bytes
[in,out]pLen
  • On input, size of pReqBuf
  • On ouptut, number of bytes actually packed
[in]reqParam
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
Note
Timeout: 2 seconds
int pack_swiavms_SLQSAVMSSessionGetInfo ( pack_qmi_t pCtx,
uint8_t *  pReqBuf,
uint16_t *  pLen 
)

Function to pack AVMS get session info command This maps to SLQSAVMSSessionGetInfo

Parameters
[out]pCtx
[in,out]pReqBuf
  • Buffer for packed QMI command to be provided by the host application
  • Minimum expected size is 2048 bytes
[in,out]pLen
  • On input, size of pReqBuf
  • On ouptut, number of bytes actually packed
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
Note
Timeout: 2 seconds
int pack_swiavms_SLQSAvmsSetEventReport ( pack_qmi_t pCtx,
uint8_t *  pReqBuf,
uint16_t *  pLen 
)

Function to pack AVMS set event report command This maps to SLQSAVMSSetEventReport

Parameters
[out]pCtx
[in,out]pReqBuf
  • Buffer for packed QMI command to be provided by the host application
  • Minimum expected size is 2048 bytes
[in,out]pLen
  • On input, size of pReqBuf
  • On ouptut, number of bytes actually packed
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
Note
Timeout: 2 seconds
int pack_swiavms_SLQSAVMSSetSettings ( pack_qmi_t pCtx,
uint8_t *  pReqBuf,
uint16_t *  pLen,
pack_swiavms_SLQSAVMSSetSettings_t  reqParam 
)

Function to pack AVMS Set settings command This maps to SLQSAVMSSetSettings

Parameters
[out]pCtx
[in,out]pReqBuf
  • Buffer for packed QMI command to be provided by the host application
  • Minimum expected size is 2048 bytes
[in,out]pLen
  • On input, size of pReqBuf
  • On ouptut, number of bytes actually packed
[in]reqParam
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
Note
Timeout: 2 seconds
int pack_swiavms_SLQSAVMSSetSettings_v2 ( pack_qmi_t pCtx,
uint8_t *  pReqBuf,
uint16_t *  pLen,
pack_swiavms_SLQSAVMSSetSettings_v2_t  reqParam 
)

Function to pack AVMS Set settings command This maps to SLQSAVMSSetSettings_v2 (For AVC2 service)

Parameters
[out]pCtx
[in,out]pReqBuf
  • Buffer for packed QMI command to be provided by the host application
  • Minimum expected size is 2048 bytes
[in,out]pLen
  • On input, size of pReqBuf
  • On ouptut, number of bytes actually packed
[in]reqParam
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
Note
Timeout: 2 seconds
int pack_swiavms_SLQSAVMSSetSettingsNoAutoRebootField ( pack_qmi_t pCtx,
uint8_t *  pReqBuf,
uint16_t *  pLen,
pack_swiavms_SLQSAVMSSetSettings_t  reqParam 
)

Function to pack AVMS Set settings without Auto Reobot field command This maps to SLQSAVMSSetSettingsIgnoreAutoReboot

Parameters
[out]pCtx
[in,out]pReqBuf
  • Buffer for packed QMI command to be provided by the host application
  • Minimum expected size is 2048 bytes
[in,out]pLen
  • On input, size of pReqBuf
  • On ouptut, number of bytes actually packed
[in]reqParam
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
Note
Timeout: 2 seconds
int pack_swiavms_SLQSAVMSStartSession ( pack_qmi_t pCtx,
uint8_t *  pReqBuf,
uint16_t *  pLen,
pack_swiavms_SLQSAVMSStartSession_t  reqParam 
)

Function to pack Start AVMS session command This maps to SLQSAVMSStartSession

Parameters
[out]pCtx
[in,out]pReqBuf
  • Buffer for packed QMI command to be provided by the host application
  • Minimum expected size is 2048 bytes
[in,out]pLen
  • On input, size of pReqBuf
  • On ouptut, number of bytes actually packed
[in]reqParam
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
Note
Timeout: 2 seconds
int pack_swiavms_SLQSAVMSStopSession ( pack_qmi_t pCtx,
uint8_t *  pReqBuf,
uint16_t *  pLen,
pack_swiavms_SLQSAVMSStopSession_t  reqParam 
)

Function to pack cancel AVMS session command This maps to SLQSAVMSStopSession

Parameters
[out]pCtx
[in,out]pReqBuf
  • Buffer for packed QMI command to be provided by the host application
  • Minimum expected size is 2048 bytes
[in,out]pLen
  • On input, size of pReqBuf
  • On ouptut, number of bytes actually packed
[in]reqParam
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
Note
Timeout: 2 seconds
int unpack_swiavms_SLQSAVMSEventReportInd ( uint8_t *  pResp,
uint16_t  respLen,
unpack_swiavms_SLQSAVMSEventReportInd_t pResponse 
)

Function to unpack AVMS event report Indication command This maps to SLQSAVMSSetEventReport

Parameters
[in]pResp
  • Response from modem
[in]respLen
  • Length of pResp from modem
[out]pResponse
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
int unpack_swiavms_SLQSAVMSGetSettings ( uint8_t *  pResp,
uint16_t  respLen,
unpack_swiavms_SLQSAVMSGetSettings_t pResponse 
)

Function to unpack AVMS set settings command This maps to SLQSAVMSGetSettings

Parameters
[in]pResp
  • Response from modem
[in]respLen
  • Length of pResp from modem
[out]pResponse
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
int unpack_swiavms_SLQSAVMSGetSettings_v2 ( uint8_t *  pResp,
uint16_t  respLen,
unpack_swiavms_SLQSAVMSGetSettings_v2_t pResponse 
)

Function to unpack AVMS set settings command This maps to SLQSAVMSGetSettings_v2 (For AVC2 service)

Parameters
[in]pResp
  • Response from modem
[in]respLen
  • Length of pResp from modem
[out]pResponse
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
int unpack_swiavms_SLQSAVMSSendSelection ( uint8_t *  pResp,
uint16_t  respLen,
unpack_swiavms_SLQSAVMSSendSelection_t pResponse 
)

Function to unpack AVMS send selection command This maps to SLQSAVMSSendSelection

Parameters
[in]pResp
  • Response from modem
[in]respLen
  • Length of pResp from modem
[out]pResponse
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
int unpack_swiavms_SLQSAVMSSessionGetInfo ( uint8_t *  pResp,
uint16_t  respLen,
unpack_swiavms_SLQSAVMSSessionGetInfo_t pResponse 
)

Function to unpack AVMS event report Indication command This maps to SLQSAVMSSetEventReport

Parameters
[in]pResp
  • Response from modem
[in]respLen
  • Length of pResp from modem
[out]pResponse
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
int unpack_swiavms_SLQSAvmsSetEventReport ( uint8_t *  pResp,
uint16_t  respLen,
unpack_swiavms_SLQSAvmsSetEventReport_t pResponse 
)

Function to unpack AVMS set event report command This maps to SLQSAVMSSetEventReport

Parameters
[in]pResp
  • Response from modem
[in]respLen
  • Length of pResp from modem
[out]pResponse
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
int unpack_swiavms_SLQSAVMSSetSettings ( uint8_t *  pResp,
uint16_t  respLen,
unpack_swiavms_SLQSAVMSSetSettings_t pResponse 
)

Function to unpack AVMS Set settings command This maps to SLQSAVMSSetSettings

Parameters
[in]pResp
  • Response from modem
[in]respLen
  • Length of pResp from modem
[out]pResponse
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
int unpack_swiavms_SLQSAVMSSetSettings_v2 ( uint8_t *  pResp,
uint16_t  respLen,
unpack_swiavms_SLQSAVMSSetSettings_v2_t pResponse 
)

Function to unpack AVMS Set settings command This maps to SLQSAVMSSetSettings_v2 (For AVC2 service)

Parameters
[in]pResp
  • Response from modem
[in]respLen
  • Length of pResp from modem
[out]pResponse
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
int unpack_swiavms_SLQSAVMSStartSession ( uint8_t *  pResp,
uint16_t  respLen,
unpack_swiavms_SLQSAVMSStartSession_t pResponse 
)

Function to unpack Start AVMS session response from modem This maps to SLQSAVMSStartSession

Parameters
[in]pResp
  • Response from modem
[in]respLen
  • Length of pResp from modem
[out]pResponse
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
int unpack_swiavms_SLQSAVMSStopSession ( uint8_t *  pResp,
uint16_t  respLen,
unpack_swiavms_SLQSAVMSStopSession_t pResponse 
)

Function to pack stop AVMS session command This maps to SLQSAVMSStopSession

Parameters
[in]pResp
  • Response from modem
[in]respLen
  • Length of pResp from modem
[out]pResponse
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
int unpack_swiavms_SLQSAVMSStopSession_avc2 ( uint8_t *  pResp,
uint16_t  respLen,
unpack_swiavms_SLQSAVMSStopSession_t pResponse 
)

Function to pack stop AVMS session command This maps to SLQSAVMSStopSession Note: this targets WP760x as the stop response doesn't contains mandatory session_type(0x01) TLV

Parameters
[in]pResp
  • Response from modem
[in]respLen
  • Length of pResp from modem
[out]pResponse
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