Linux SDK (lite-qmi)  MBPL_SDK_R25_ENG3
unpack_nas_GetServingNetwork_t Struct Reference

#include <nas.h>

Data Fields

uint32_t RegistrationState
 
uint32_t CSDomain
 
uint32_t PSDomain
 
uint32_t RAN
 
uint8_t RadioIfacesSize
 
uint8_t RadioIfaces [255]
 
uint32_t Roaming
 
uint16_t MCC
 
uint16_t MNC
 
uint8_t nameSize
 
uint8_t Name [255]
 
uint8_t DataCapsLen
 
uint8_t DataCaps [255]
 
swi_uint256_t ParamPresenceMask
 

Detailed Description

This structure contains unpack get get serving network parameters.

Parameters
RegistrationState
  • Registration state:
    • 0 - Not registered
    • 1 - Registered
    • 2 - Searching/Not Registered
    • 3 - Registration Denied
    • 4 - Unknown
  • Bit to check in ParamPresenceMask - 1
CSDomain
  • Circuit switch domain status:
    • 0 - Unknown/Not Applicable
    • 1 - Attached
    • 2 - Detached
  • Bit to check in ParamPresenceMask - 1
PSDomain
  • Packet switch domain status
    • 0 - Unknown/Not Applicable
    • 1 - Attached
    • 2 - Detached
  • Bit to check in ParamPresenceMask - 1
RAN
  • Type of radio access network on which mobile is registered:
    • 0 - Unknown
    • 1 - cdma2000 network
    • 2 - UMTS network
  • Bit to check in ParamPresenceMask - 1
RadioIfacesSize
  • Upon input, maximum number of elements that the radio interface array contain.
  • Upon successful output, actual number of elements in the radio interface array.
  • Bit to check in ParamPresenceMask - 1
RadioIfaces
Roaming
  • Roaming indicator Values: 0x00 - ROAMING_IND_ON - Roaming 0x01 - ROAMING_IND_OFF - Home 0x02 and above - Operator-defined values
  • Bit to check in ParamPresenceMask - 16
MCC
  • Mobile country code
  • Bit to check in ParamPresenceMask - 18
MNC
  • Mobile network code
  • Bit to check in ParamPresenceMask - 18
nameSize
  • Maximum number of characters (including NULL terminator) that network name array can contain; applicable only for UMTS networks
  • Bit to check in ParamPresenceMask - 18
Name
  • Network name or description represented as a NULL terminated string; empty string is returned when unknown; applicable only for UMTS networks
  • Bit to check in ParamPresenceMask - 18
DataCapsLen[IN/OUT]
  • Upon input, the maximum number of elements the data capabilities array can contain.
  • Upon output, the actual number of elements in the data capabilities array.
  • Bit to check in ParamPresenceMask - 17
DataCaps[OUT]
  • Data capabilities array of unsigned long type
    • 1 - GPRS
    • 2 - EDGE
    • 3 - HSDPA
    • 4 - HSUPA
    • 5 - WCDMA
    • 6 - CDMA 1xRTT
    • 7 - CDMA 1xEV-DO Rev 0
    • 8 - CDMA 1xEV-DO Rev. A
    • 9 - GSM
    • 10 - EVDO Rev. B
    • 11 - LTE
    • 12 - HSDPA Plus
    • 13 - Dual Carrier HSDPA Plus
  • Bit to check in ParamPresenceMask - 17
ParamPresenceMask
  • bitmask representation to indicate valid parameters.

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