Linux SDK (lite-qmi)  MBPL_SDK_R25_ENG3
pack_wds_SetDefaultProfile_t Struct Reference

#include <wds.h>

Data Fields

uint8_t index
 
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)

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