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

Data Fields

uint32_t Status
 
uint32_t * pMode
 
swi_uint256_t ParamPresenceMask
 

Detailed Description

Contain the parameters passed for SetLocGetOpModeCallback by the device.

Parameters
Status
  • Status of the Get Server request.
  • Valid values
    • eQMI_LOC_SUCCESS (0) - Request was completed successfully
    • eQMI_LOC_GENERAL_FAILURE (1) - Request failed because of a general failure
    • eQMI_LOC_UNSUPPORTED (2) - Request failed because it is not supported
    • eQMI_LOC_INVALID_PARAMETER (3) - Request failed because it contained invalid parameters
    • eQMI_LOC_ENGINE_BUSY (4) - Request failed because the engine is busy
    • eQMI_LOC_PHONE_OFFLINE (5) - Request failed because the phone is offline
    • eQMI_LOC_TIMEOUT (6) - Request failed because it timed out
    • eQMI_LOC_CONFIG_NOT_SUPPORTED (7) - Request failed because an undefined configuration was requested
    • eQMI_LOC_INSUFFICIENT_MEMORY (8) - Request failed because the engine could not allocate sufficient memory for the request
    • eQMI_LOC_MAX_GEOFENCE_PROGRAMMED (9) - Request failed because the maximum number of Geofences are already programmed
    • eQMI_LOC_XTRA_VERSION_CHECK_FAILURE (10) - Location service failed because of an XTRA version-based file format check failure
    • 0xffffffff - Invalid data.
  • Bit to check in ParamPresenceMask - 1
pMode
  • Current operation mode.
  • Valid values:
    • eQMI_LOC_OPER_MODE_DEFAULT(1) - Use the default engine mode
    • eQMI_LOC_OPER_MODE_MSB (2)- Use the MS-based mode
    • eQMI_LOC_OPER_MODE_MSA (3)- Use the MS-assisted mode
    • eQMI_LOC_OPER_MODE_STANDALONE (4) - Use Standalone mode
    • eQMI_LOC_OPER_MODE_CELL_ID (5) - Use cell ID; this mode is only valid for GSM/UMTS networks
    • eQMI_LOC_OPER_MODE_WWAN(6) - Use WWAN measurements to calculate the position; if this mode is set, AFLT will be used for 1X networks and OTDOA will be used for LTE networks
  • Bit to check in ParamPresenceMask - 16
ParamPresenceMask
  • bitmask representation to indicate valid parameters.

Field Documentation

swi_uint256_t unpack_loc_GetOpMode_Ind_t::ParamPresenceMask
uint32_t* unpack_loc_GetOpMode_Ind_t::pMode
uint32_t unpack_loc_GetOpMode_Ind_t::Status

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