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

Data Fields

uint32_t profileType
 
uint32_t pdpType
 
uint32_t ipAddress
 
uint32_t primaryDNS
 
uint32_t secondaryDNS
 
uint32_t authentication
 
uint8_t * pName
 
uint8_t * pUsername
 
uint8_t * pApnname
 
uint8_t * pPassword
 

Detailed Description

Writes the default profile settings to the device. The default profile is used to establish an autoconnect data session.

Parameters
profileType
  • Type of profile
    • 0 - 3GPP
    • 1 - 3GPP2
pdpType
  • Packet Data Protocol (PDP) type specifies the type of data payload exchanged over the air link when the packet data session is established with this profile (optional)
    • 0 - PDP-IP (IPv4)
    • 1 - PDP-PPP
    • 2 - PDP-IPv6
    • 3 - PDP-IPv4v6
ipAddress
  • Preferred IPv4 addr to be assigned to device (optional)
primaryDNS
  • Primary DNS Ipv4 address preference (optional)
secondaryDNS
  • Secondary DNS Ipv4 address preference (optional)
authentication
  • Bitmap that indicates authentication algorithm preference (optional)
    • 0x00000001 - PAP preference
      • 0 - Never performed
      • 1 - May be performed
    • 0x00000002 - CHAP preference
      • 0 - Never performed
      • 1 - May be performed
    • All other bits are reserved and must be set to 0
    • If more than 1 bit is set, then device decides which authentication procedure is performed while setting up data session e.g. the device may have a policy to select the most secure authentication mechanism.
pName
  • profile Name (optional)
pUsername
  • Username used during network authentication (optional)
pAPNName
  • Access point name. NULL-terminated string parameter that is a logical name used to select GGSN and external packet data network (optional)
  • If value is NULL or omitted, then subscription default value will be requested.
pPassword
  • Password used during network authentication (optional)

Field Documentation

uint32_t pack_wds_SetDefaultProfile_t::authentication
uint32_t pack_wds_SetDefaultProfile_t::ipAddress
uint8_t* pack_wds_SetDefaultProfile_t::pApnname
uint32_t pack_wds_SetDefaultProfile_t::pdpType
uint8_t* pack_wds_SetDefaultProfile_t::pName
uint8_t* pack_wds_SetDefaultProfile_t::pPassword
uint32_t pack_wds_SetDefaultProfile_t::primaryDNS
uint32_t pack_wds_SetDefaultProfile_t::profileType
uint8_t* pack_wds_SetDefaultProfile_t::pUsername
uint32_t pack_wds_SetDefaultProfile_t::secondaryDNS

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