Linux SDK (lite-qmi)  MBPL_SDK_R25_ENG3
dmsSwiGetPCInfo Struct Reference

#include <qaGobiApiDms.h>

Data Fields

BYTE opMode
 
ULONG * pLpmFlag
 
BYTE * pWdisable
 
BYTE * pPowerOffMode
 
BYTE * pPersistentLpm
 

Detailed Description

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

Parameters
[OUT]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
[OUT]pLpmFlag[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.
[OUT]pWdisable[Optional]
  • W_DISABLE
  • Values
    • 0 - Switch set to ON position
    • 1 - Switch set to OFF position
[OUT]pPowerOffMode[Optional]
  • Power-off Mode
  • Action taken when W_DISABLE is switched to the OFF position
    • 0 - LPM
    • 1 - Shutdown
    • 2 - Ignore
[OUT]pPersistentLpm[Optional]
  • LPM Persistence
  • Values
    • 0 - Non-persistent LPM
    • 1 - Persistent LPM

The documentation for this struct was generated from the following file: