LinuxQMISDK-Lite  SLQS04.00.06
 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  _PackSwiAVMSSettingsAPNInfo
 
struct  _PackSwiAVMSSettingsConnectionRetryTimers
 
struct  _PackSwiAVMSSettingsPeriodsInfo
 
struct  unpack_swiavms_SLQSAVMSGetSettings_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 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 struct
_PackSwiAvmsSetSettingsPeriodInfo 
PackSwiAvmsSetSettingsPeriodInfo
 
typedef struct
_PackSwiAvmsSetSettingsAPNInfo 
PackSwiAvmsSetSettingsAPNInfo
 
typedef struct
_PackSwiAvmsSetSettingsConnectionRetryTimers 
PackSwiAvmsSetSettingsConnectionRetryTimers
 
typedef struct
_PackSwiAVMSSettingsAPNInfo 
PackSwiAVMSSettingsAPNInfo
 
typedef struct
_PackSwiAVMSSettingsConnectionRetryTimers 
PackSwiAVMSSettingsConnectionRetryTimers
 
typedef struct
_PackSwiAVMSSettingsPeriodsInfo 
PackSwiAVMSSettingsPeriodsInfo
 
typedef struct
_UnpackSwiAvmsEventReportBinaryUpdateSessionInfo 
UnpackSwiAvmsEventReportBinaryUpdateSessionInfo
 
typedef struct
_UnpackSwiAvmsEventReportConfig 
UnpackSwiAvmsEventReportConfig
 
typedef struct
_UnpackSwiAvmsEventReportNotification 
UnpackSwiAvmsEventReportNotification
 
typedef struct
_UnpackSwiAvmsEventReportConnectionRequest 
UnpackSwiAvmsEventReportConnectionRequest
 
typedef struct
_UnpackSwiAvmsEventReportWAMSParamChange 
UnpackSwiAvmsEventReportWAMSParamChange
 
typedef struct
_UnpackSwiAvmsEventReportPackageID 
UnpackSwiAvmsEventReportPackageID
 
typedef struct
_UnpackSwiAvmsEventReportRegStatus 
UnpackSwiAvmsEventReportRegStatus
 
typedef struct
_UnpackSwiAvmsEventReportDataSessionStatus 
UnpackSwiAvmsEventReportDataSessionStatus
 
typedef struct
_UnpackSwiAvmsEventReportSessionType 
UnpackSwiAvmsEventReportSessionType
 
typedef struct
_UnpackSwiAvmsEventReportHTTPStatus 
UnpackSwiAvmsEventReportHTTPStatus
 
typedef struct
_unpack_swiavms_SLQSAVMSSessionGetInfo_t 
unpack_swiavms_SLQSAVMSSessionGetInfo_t
 
typedef struct
_unpack_swiavms_SLQSAVMSEventReportInd_t 
unpack_swiavms_SLQSAVMSEventReportInd_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 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_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_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_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

Parameters
bAPNLengthAPN Length.
szAPNAPN String.
bUnameLengthUsername Length.
szUnameUser Name String.
bPWDLengthPassword Length.
szPWDPassword String.
Parameters
ulMinMin period in seconds.
ulMaxMax period in seconds.

Structure that contains the session type response for AVMS event report indication command

Parameters
pBinaryUpdateSessionInfo[OUT]
pNotification[OUT]
pPackageID[OUT]
pConnectionRequest[OUT]
pWAMSParaChanged[OUT]
pRegStatus[OUT]
pDataSessionStatus[OUT]
UnpackSwiAvmsEventReportSessionType[OUT]
  • See pSessionType for more information
pWAMSParaChanged[OUT]
pHTTPStatus[OUT]
  • See pSessionType for more information
resultcode- Tlv Result Code.

Structure that contains the session type response for AVMS get session info command

Parameters
resultcode- Tlv Result Code.
Parameters
bBinaryType: Type
  • 1 - Firmware.
  • 2 - User App.
  • 3 - Legato Framework.
bStat: State
  • 0x01 - No binary update available.
  • 0x02 - Query binary Download.
  • 0x03 - Binary Downloading.
  • 0x04 - Binary downloaded.
  • 0x05 -Query Binary Update.
  • 0x06 - Binary updating.
  • 0x07 - Binary updated.
bUserInputRequestBit mask of available user inputs.
  • 0x00 - No user input required. Informational indication.
  • 0x01 - Accept.
  • 0x02 - Reject.
wUserInputTimeoutTimeout for user input in minutes. A value of 0 means no time-out.
ulPkgDownloadSizeThe size (in bytes) of the update package
ulPkgDownloadCompleteThe number of bytes being downloaded. For downloading state, this value shall be > 0 and incremented toward the pkg_dload_size. For other states, the value shall be 0 as it is meaningless.
wUpdateCompeteStatusResult code.This field should be looked at only when the AVMS session is complete.
bSeritySerity.
  • 0x01 - Mandatory.
  • 0x02 - Optional.
wVersionLengthLength of FW Version string in bytes.
szVersionFW Version string in ASCII.
wNameLengthLength Package Name string in bytes.
szNamePackage Name in UCS2.
wDescriptionLengthLength of description in bytes.
szDescriptionDescription of Update Package in USC2.
TlvPresentBoolean indicating the presence of the TLV in the QMI response
Parameters
bStateState.
  • 0x01 - AVMS Read Request.
  • 0x02 - AVMS Change Request.
  • 0x03 - AVMS Config Complete.
bUserInputRequestBit mask of available user inputs.
  • 0x00 - No user input required. Informational indication.
  • 0x01 - Accept.
  • 0x02 - Reject.
wUserInputTimeoutTimeout for user input in seconds. A value of 0 means no time-out
wAlertMsgLengthLength of Alert message string in bytes.
szAlertMsgAlert message in UCS2.
TlvPresentBoolean indicating the presence of the TLV in the QMI response
Parameters
bUserInputRequestBit mask of available user inputs.
  • 0x00 - No user input required. Informational indication.
  • 0x01 - Accept.
  • 0x02 - Reject.
bUserInputRequestTimeout for user input in minutes. A value of 0 means no time-out.
TlvPresentBoolean indicating the presence of the TLV in the QMI response
Parameters
bTypeNotification type.
  • 0: Data session closed.
  • 1: Data session activated.
  • 2: Register made. -3: Data session error.
wErrorCodeLWM2M Session error code.
  • 0x0000: none
TlvPresentBoolean indicating the presence of the TLV in the QMI response
Parameters
wHTTPStatusSee RFC 7231.
  • 100 - Continue
  • 101 - Switching Protocols
  • 200 - OK
  • 201 - Created
  • 202 - Accepted
  • 203 - Non-Authoritative Information
  • 204 - No Content
  • 205 - Reset Content
  • 206 - Partial Content
  • 300 - Multiple Choices
  • 301 - Moved Permanently
  • 302 - Found
  • 303 - See Other
  • 304 - Not Modified
  • 305 - Use Proxy
  • 307 - Temporary Redirect
  • 400 - Bad Request
  • 401 - Unauthorized
  • 402 - Payment Required
  • 403 - Forbidden
  • 404 - Not Found
  • 405 - Method Not Allowed
  • 406 - Not Acceptable
  • 407 - Proxy Authentication Required
  • 408 - Request Timeout
  • 409 - Conflict
  • 410 - Gone
  • 411 - Length Required
  • 412 - Precondition Failed
  • 413 - Payload Too Large
  • 414 - URI Too Long
  • 415 - Unsupported Media Type
  • 416 - Range Not Satisfiable
  • 417 - Expectation Failed
  • 426 - Upgrade Required
  • 500 - Internal Server Error
  • 501 - Not Implemented
  • 502 - Bad Gateway
  • 503 - Service Unavailable
  • 504 - Gateway Timeout
  • 505 - HTTP Version Not Supported
TlvPresentBoolean indicating the presence of the TLV in the QMI response
Parameters
bNotificationNotification.
  • 0x14 - Module starts sending data to server.
  • 0x15 - Authentication with the server.
  • 0x16 - session with the server is ended.
wSessionStatusThis field will set to the session status for notifications that occur at the end of a session, zero for all other notifications.
  • 0x0000: Successful: Session succeeded
  • 0x0001: Break: Session succeeded
  • 0x0002: Large Object Handled: Session succeeded
  • 0x0003: No status: Session succeeded
  • 0x0004: No more commands: Session succeeded
  • 0x0005: User cancel: Session cancelled
  • 0x0100-0x01FF: General errors
  • 0x0200-0x02FF: Syncml errors
  • 0x0300-0x03FF: Authentication errors
  • 0x0400-0x04FF: Protocol errors
  • 0x0500-0x05FF: Tree errors (DM Only)
  • 0x0600-0x06FF: Not applicable
  • 0x0700-0x07FF: Trigger errors
  • 0x0800-0x08FF: FUMO errors
  • 0x0900-0x09FF: Communication errors
  • 0x0A00-0x0AFF: Parsing errors
  • 0x0B00-0x0CFF: Not applicable
  • 0x7F00-0x7F12:Insignia errors
  • 0x7F13: Illegal text: Text received contains illegal characters
  • 0x7F14: Download failure: Failed to download FOTA image
  • 0x7F15: Empty session: Session ran successfully, but no information wasa updated
  • 0x7F16: Factory reset successful: Factory reset succeeded
  • 0x7F17: Factory reset fail: Factory reset failed
TlvPresentBoolean indicating the presence of the TLV in the QMI response
Parameters
bPackageIDPackage ID of the application binary that this AVMS_EVENT_ID notification is for.
TlvPresentBoolean indicating the presence of the TLV in the QMI response
Parameters
bRegStatusLWM2M Registration status.
  • 0: Need Bootstrap.
  • 1: Bootstrap made.
  • 2: Register made. -3: Update made.
TlvPresentBoolean indicating the presence of the TLV in the QMI response
Parameters
bTypeSession Type.
  • 0: Bootstrap session.
  • 1. DM session
TlvPresentBoolean indicating the presence of the TLV in the QMI response
Parameters
wWamsChangeMaskMask of WAMS parameters changed.
  • By default set to 0xFF for all changes.
  • 0x01 - device_login
  • 0x02 - device_MD5_key
  • 0x04 - server_login
  • 0x08 - server_MD5_key
  • 0x10 - server_URL
  • 0x20 - Nonce
  • 0x40 - Application key
TlvPresentBoolean indicating the presence of the TLV in the QMI response

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
pCtx[OUT]
pReqBuf[IN/OUT]
  • Buffer for packed QMI command to be provided by the host application
  • Minimum expected size is 2048 bytes
pLen[IN/OUT]
  • 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
pCtx[OUT]
pReqBuf[IN/OUT]
  • Buffer for packed QMI command to be provided by the host application
  • Minimum expected size is 2048 bytes
pLen[IN/OUT]
  • On input, size of pReqBuf
  • On ouptut, number of bytes actually packed
reqParam[IN]
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
pCtx[OUT]
pReqBuf[IN/OUT]
  • Buffer for packed QMI command to be provided by the host application
  • Minimum expected size is 2048 bytes
pLen[IN/OUT]
  • 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
pCtx[OUT]
pReqBuf[IN/OUT]
  • Buffer for packed QMI command to be provided by the host application
  • Minimum expected size is 2048 bytes
pLen[IN/OUT]
  • 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
pCtx[OUT]
pReqBuf[IN/OUT]
  • Buffer for packed QMI command to be provided by the host application
  • Minimum expected size is 2048 bytes
pLen[IN/OUT]
  • On input, size of pReqBuf
  • On ouptut, number of bytes actually packed
reqParam[IN]
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
pCtx[OUT]
pReqBuf[IN/OUT]
  • Buffer for packed QMI command to be provided by the host application
  • Minimum expected size is 2048 bytes
pLen[IN/OUT]
  • On input, size of pReqBuf
  • On ouptut, number of bytes actually packed
reqParam[IN]
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
pCtx[OUT]
pReqBuf[IN/OUT]
  • Buffer for packed QMI command to be provided by the host application
  • Minimum expected size is 2048 bytes
pLen[IN/OUT]
  • On input, size of pReqBuf
  • On ouptut, number of bytes actually packed
reqParam[IN]
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
pCtx[OUT]
pReqBuf[IN/OUT]
  • Buffer for packed QMI command to be provided by the host application
  • Minimum expected size is 2048 bytes
pLen[IN/OUT]
  • On input, size of pReqBuf
  • On ouptut, number of bytes actually packed
reqParam[IN]
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
pResp[IN]
  • Response from modem
respLen[IN]
  • Length of pResp from modem
pResponse[OUT]
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
pResp[IN]
  • Response from modem
respLen[IN]
  • Length of pResp from modem
pResponse[OUT]
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
pResp[IN]
  • Response from modem
respLen[IN]
  • Length of pResp from modem
pResponse[OUT]
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
pResp[IN]
  • Response from modem
respLen[IN]
  • Length of pResp from modem
pResponse[OUT]
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
pResp[IN]
  • Response from modem
respLen[IN]
  • Length of pResp from modem
pResponse[OUT]
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
pResp[IN]
  • Response from modem
respLen[IN]
  • Length of pResp from modem
pResponse[OUT]
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
pResp[IN]
  • Response from modem
respLen[IN]
  • Length of pResp from modem
pResponse[OUT]
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
pResp[IN]
  • Response from modem
respLen[IN]
  • Length of pResp from modem
pResponse[OUT]
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