LinuxQMISDK  SLQS03.03.16
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
_SLQSOMADMSessionInfo Struct Reference

Data Fields

BYTEpStatus
 
WORDpUpdateCompleteStatus
 
BYTEpSeverity
 
WORDpSourceLength
 
BYTEpSource
 
WORDpPkgNameLength
 
BYTEpPkgName
 
WORDpPkgDescLength
 
BYTEpPkgDescription
 
WORDpDateLength
 
BYTEpDate
 
WORDpTimeLength
 
BYTEpTime
 
BYTEpSessionType
 
BYTEpSessionState
 
WORDpRetryCount
 

Detailed Description

Structure containing the OMA DM Session Info returned by the device. Also used as input parameter to specify the size of variable parameters. (ref. notes)

Parameters
pStatus
  • 1 Byte parameter indicating status(optional)
    • 0x01 - No Firmware available
    • 0x02 - Query Firmware Download
    • 0x03 - Firmware Downloading
    • 0x04 - Firmware Downloaded
    • 0x05 - Query Firmware Update
    • 0x06 - Firmware Updating
    • 0x07 - Firmware Updated
pUpdateCompleteStatus
pSeverity
  • 1 byte parameter indicating severity(optional)
    • 0x01 - Mandatory
    • 0x02 - Optional
pSourceLength
  • 2 byte parameter indicating Length of Vendor Name String in Bytes.(optional)
pSource
  • Variable length parameter indicating Vendor Name in ASCII(optional)
pPkgNameLength
  • 2 byte parameter indicating Length of Package Name String in Bytes.(optional)
pPkgName
  • Variable length parameter indicating Package Name in ASCII(optional)
pPkgDescLength
  • 2 byte parameter indicating Length of Package Description String in Bytes.(optional)
pPkgDescription
  • Variable length parameter indicating Package Description in ASCII(optional)
pDateLength
  • 2 byte parameter indicating Length of Package Description String in Bytes.(optional)
pDate
  • Variable length parameter indicating Package Description in ASCII
pTimeLength
  • 2 byte parameter indicating Length of Time String in Bytes.(optional)
pTime
  • Variable length parameter indicating Time String in ASCII(optional)
pSessionType
  • 1 byte parameter reflects the last session started for Sprint(optional)
    • 0x00 - No session since boot
    • 0x01 - Sprint CI-DC Session
    • 0x02 - Sprint CI-PRL Session
    • 0x03 - Sprint CI-FUMO Session
    • 0x04 - Sprint HFA-DC Session
    • 0x05 - Sprint HFA-PRL Session
    • 0x06 - Sprint HFA-FUMO Session
    • 0x07 - Sprint NI Session
pSessionState
  • 1 byte parameter indicating session state(optional)
    • 0x01 - idle
    • 0x02 - active
    • 0x03 - pending
pRetryCount
  • 1 byte parameter indicating retries left count(optional)
    • valid values 0 to 6
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
Note
As input parameter the members pSourceLength, pPkgNameLength pPkgDescLength, pDateLength, pTimeLength have to be specified. These should contain the initialized size of pSource, pPkgName, pPkgDescription, pDate, pTime respectively.

Field Documentation

BYTE* _SLQSOMADMSessionInfo::pDate
WORD* _SLQSOMADMSessionInfo::pDateLength
WORD* _SLQSOMADMSessionInfo::pPkgDescLength
BYTE* _SLQSOMADMSessionInfo::pPkgDescription
BYTE* _SLQSOMADMSessionInfo::pPkgName
WORD* _SLQSOMADMSessionInfo::pPkgNameLength
WORD* _SLQSOMADMSessionInfo::pRetryCount
BYTE* _SLQSOMADMSessionInfo::pSessionState
BYTE* _SLQSOMADMSessionInfo::pSessionType
BYTE* _SLQSOMADMSessionInfo::pSeverity
BYTE* _SLQSOMADMSessionInfo::pSource
WORD* _SLQSOMADMSessionInfo::pSourceLength
BYTE* _SLQSOMADMSessionInfo::pStatus
BYTE* _SLQSOMADMSessionInfo::pTime
WORD* _SLQSOMADMSessionInfo::pTimeLength
WORD* _SLQSOMADMSessionInfo::pUpdateCompleteStatus

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