LinuxQMISDK-Lite  SLQS04.00.23
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
unpack_dms_SLQSDmsSwiGetPCInfo_t Struct Reference

Data Fields

uint8_t opMode
 
int has_LpmFlag
 
uint32_t LpmFlag
 
int has_Wdisable
 
uint8_t Wdisable
 
int has_PowerOffMode
 
uint8_t PowerOffMode
 
int has_PersistentLpm
 
uint8_t PersistentLpm
 
swi_uint256_t ParamPresenceMask
 

Detailed Description

This structure contains the TLV required to Get device power control status information.

Parameters
opMode
  • Selected operating mode.
  • Values
    • 0 - Online
    • 1 - Low power
    • 2 - Factory Test mode
    • 3 - Offline
    • 4 - Resetting
    • 5 - Shutting down
    • 6 - Persistent low power
    • 8 - Conducting network test for GSM/WCDMA
  • Bit to check in ParamPresenceMask - 1
has_LpmFlagLPM Flag Availability.
  • 0 : Unavailable.
  • 1 : Available.
Parameters
LpmFlag[Optional]
  • LPM Force Flags
  • Bitmask
    • bit0 - Tracks the state of W_DISABLE TLV, indicating state of the W_DISABLE switch.
    • bit1 - Set if LPM is requested by a host request, such as AT command, QMI or MBIM request. Cleared by a host request to return to online mode. Also set when the device is cold or warm booted in persistent LPM.
    • bit2 - Set when the device temperature is outside the valid operating range. Cleared if the temperature returns to the normal range.
    • bit3 - Set when the device voltage is outside the valid operating range. Cleared if the voltage returns to the normal range.
    • bit4 - Set on power up when BIOS locking is enabled. Cleared when the host has disabled the BIOS lock.
    • bit5 - Set if the current device configuration does not match the GOBI image preference.
    • bit6-31 - Additional LPM causes may be added to future products.
  • Bit to check in ParamPresenceMask - 16
has_WdisableW-Disable Availability.
  • 0 : Unavailable.
  • 1 : Available.
Parameters
Wdisable[Optional]
  • W_DISABLE
  • Values
    • 0 - Switch set to ON position
    • 1 - Switch set to OFF position
  • Bit to check in ParamPresenceMask - 17
has_PowerOffModePower off mode Availability.
  • 0 : Unavailable.
  • 1 : Available.
Parameters
PowerOffMode[Optional]
  • Power-off Mode
  • Action taken when W_DISABLE is switched to the OFF position
    • 0 - LPM
    • 1 - Shutdown
    • 2 - Ignore
  • Bit to check in ParamPresenceMask - 18
has_PersistentLpmPersistent LPM Availability.
  • 0 : Unavailable.
  • 1 : Available.
Parameters
PersistentLpm[Optional]
  • LPM Persistence
  • Values
    • 0 - Non-persistent LPM
    • 1 - Persistent LPM
  • Bit to check in ParamPresenceMask - 19
ParamPresenceMask
  • bitmask representation to indicate valid parameters.

Field Documentation

int unpack_dms_SLQSDmsSwiGetPCInfo_t::has_LpmFlag
int unpack_dms_SLQSDmsSwiGetPCInfo_t::has_PersistentLpm
int unpack_dms_SLQSDmsSwiGetPCInfo_t::has_PowerOffMode
int unpack_dms_SLQSDmsSwiGetPCInfo_t::has_Wdisable
uint32_t unpack_dms_SLQSDmsSwiGetPCInfo_t::LpmFlag
uint8_t unpack_dms_SLQSDmsSwiGetPCInfo_t::opMode
swi_uint256_t unpack_dms_SLQSDmsSwiGetPCInfo_t::ParamPresenceMask
uint8_t unpack_dms_SLQSDmsSwiGetPCInfo_t::PersistentLpm
uint8_t unpack_dms_SLQSDmsSwiGetPCInfo_t::PowerOffMode
uint8_t unpack_dms_SLQSDmsSwiGetPCInfo_t::Wdisable

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