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

Go to the source code of this file.

Data Structures

struct  pack_swioma_SLQSOMADMStartSessionExt_t
 
struct  pack_swioma_SLQSOMADMCancelSessionExt_t
 
struct  pack_swioma_SLQSOMADMSetSettingsExt_t
 
struct  pack_swioma_SLQSOMADMSendSelectionExt_t
 
struct  unpack_swioma_SLQSOMADMGetSessionInfoExt_t
 

Macros

#define LITEQMI_MAX_SWIOMA_STR_LEN   255
 
#define LITE_SWIOMAEXT_MAX_UCS2_DATA_LEN   512
 

Typedefs

typedef unpack_result_t unpack_swioma_SLQSOMADMStartSessionExt_t
 
typedef unpack_result_t unpack_swioma_SLQSOMADMCancelSessionExt_t
 
typedef unpack_result_t unpack_swioma_SLQSOMADMSetSettingsExt_t
 
typedef unpack_result_t unpack_swioma_SLQSOMADMSendSelectionExt_t
 

Functions

int pack_swioma_SLQSOMADMStartSessionExt (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_swioma_SLQSOMADMStartSessionExt_t reqParam)
 
int unpack_swioma_SLQSOMADMStartSessionExt (uint8_t *pResp, uint16_t respLen, unpack_swioma_SLQSOMADMStartSessionExt_t *pOutput)
 
int pack_swioma_SLQSOMADMCancelSessionExt (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_swioma_SLQSOMADMCancelSessionExt_t reqParam)
 
int unpack_swioma_SLQSOMADMCancelSessionExt (uint8_t *pResp, uint16_t respLen, unpack_swioma_SLQSOMADMCancelSessionExt_t *pOutput)
 
int pack_swioma_SLQSOMADMSetSettingsExt (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_swioma_SLQSOMADMSetSettingsExt_t reqParam)
 
int unpack_swioma_SLQSOMADMSetSettingsExt (uint8_t *pResp, uint16_t respLen, unpack_swioma_SLQSOMADMSetSettingsExt_t *pOutput)
 
int pack_swioma_SLQSOMADMSendSelectionExt (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_swioma_SLQSOMADMSendSelectionExt_t reqParam)
 
int unpack_swioma_SLQSOMADMSendSelectionExt (uint8_t *pResp, uint16_t respLen, unpack_swioma_SLQSOMADMSendSelectionExt_t *pOutput)
 
int pack_swioma_SLQSOMADMGetSessionInfoExt (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen)
 
int unpack_swioma_SLQSOMADMGetSessionInfoExt (uint8_t *pResp, uint16_t respLen, unpack_swioma_SLQSOMADMGetSessionInfoExt_t *pOutput)
 

Macro Definition Documentation

#define LITE_SWIOMAEXT_MAX_UCS2_DATA_LEN   512
#define LITEQMI_MAX_SWIOMA_STR_LEN   255

Typedef Documentation

Function Documentation

int pack_swioma_SLQSOMADMCancelSessionExt ( pack_qmi_t pCtx,
uint8_t *  pReqBuf,
uint16_t *  pLen,
pack_swioma_SLQSOMADMCancelSessionExt_t  reqParam 
)

Function to pack cancel OMA-DM session command This maps to SLQSOMADMCancelSessionExt

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: 20 seconds
int pack_swioma_SLQSOMADMGetSessionInfoExt ( pack_qmi_t pCtx,
uint8_t *  pReqBuf,
uint16_t *  pLen 
)

Function to pack OMA-DM session info command This maps to SLQSOMADMGetSessionInfoExt

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: 20 seconds
int pack_swioma_SLQSOMADMSendSelectionExt ( pack_qmi_t pCtx,
uint8_t *  pReqBuf,
uint16_t *  pLen,
pack_swioma_SLQSOMADMSendSelectionExt_t  reqParam 
)

Function to pack OMA-DM send selection command This maps to SLQSOMADMSendSelectionExt

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: 20 seconds
int pack_swioma_SLQSOMADMSetSettingsExt ( pack_qmi_t pCtx,
uint8_t *  pReqBuf,
uint16_t *  pLen,
pack_swioma_SLQSOMADMSetSettingsExt_t  reqParam 
)

Function to pack OMA-DM set settings command This maps to SLQSOMADMSetSettingsExt

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: 20 seconds
int pack_swioma_SLQSOMADMStartSessionExt ( pack_qmi_t pCtx,
uint8_t *  pReqBuf,
uint16_t *  pLen,
pack_swioma_SLQSOMADMStartSessionExt_t  reqParam 
)

Function to pack Start OMA-DM session command This maps to SLQSOMADMStartSessionExt

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: 20 seconds
int unpack_swioma_SLQSOMADMCancelSessionExt ( uint8_t *  pResp,
uint16_t  respLen,
unpack_swioma_SLQSOMADMCancelSessionExt_t pOutput 
)

Function to pack cancel OMA-DM session command This maps to SLQSOMADMCancelSessionExt

Parameters
pResp[IN]
  • Response from modem
respLen[IN]
  • Length of pResp from modem
pOutput[OUT]
  • response unpacked
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
int unpack_swioma_SLQSOMADMGetSessionInfoExt ( uint8_t *  pResp,
uint16_t  respLen,
unpack_swioma_SLQSOMADMGetSessionInfoExt_t pOutput 
)

Function to unpack information related to the current (or previous if no session is active) OMA-DM session. This maps to SLQSOMADMGetSessionInfoExt

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

Function to unpack OMA-DM send selection command This maps to SLQSOMADMSendSelectionExt

Parameters
pResp[IN]
  • Response from modem
respLen[IN]
  • Length of pResp from modem
pOutput[OUT]
  • response unpacked
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
int unpack_swioma_SLQSOMADMSetSettingsExt ( uint8_t *  pResp,
uint16_t  respLen,
unpack_swioma_SLQSOMADMSetSettingsExt_t pOutput 
)

Function to unpack OMA-DM set settings command This maps to SLQSOMADMSetSettingsExt

Parameters
pResp[IN]
  • Response from modem
respLen[IN]
  • Length of pResp from modem
pOutput[OUT]
  • response unpacked
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
int unpack_swioma_SLQSOMADMStartSessionExt ( uint8_t *  pResp,
uint16_t  respLen,
unpack_swioma_SLQSOMADMStartSessionExt_t pOutput 
)

Function to unpack Start OMA-DM session response from modem This maps to SLQSOMADMStartSessionExt

Parameters
pResp[IN]
  • Response from modem
respLen[IN]
  • Length of pResp from modem
pOutput[OUT]
  • response 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