#include <wds.h>
|
|
uint32_t | pdptype |
| |
|
uint32_t | ipaddr |
| |
|
uint32_t | pridns |
| |
|
uint32_t | secdns |
| |
|
uint16_t | ipaddrv6 |
| |
|
uint16_t | pridnsv6 |
| |
|
uint16_t | secdnsv6 |
| |
|
uint32_t | auth |
| |
|
uint8_t | namesize |
| |
|
int8_t | name [255] |
| |
|
uint8_t | apnsize |
| |
|
int8_t | apnname [255] |
| |
|
uint8_t | usersize |
| |
|
int8_t | username [255] |
| |
|
swi_uint256_t | ParamPresenceMask |
| |
Reads the default profile settings from the device. The default profile is used to establish an auto connect data session.
- Parameters
-
| 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
- 0 - PDP-IP (IPv4)
- 1 - PDP-PPP
- 2 - PDP-IPv6
- 3 - PDP-IPv4v6
- Bit to check in ParamPresenceMask - 17
|
| ipaddr |
- Preferred IPv4 address to be assigned to device
- Bit to check in ParamPresenceMask - 30
|
| pridns |
- Primary DNS IPv4 address preference
- Bit to check in ParamPresenceMask - 21
|
| secdns |
- Secondary DNS IPv4 address preference
- Bit to check in ParamPresenceMask - 22
|
| ipaddrv6 |
- Preferred IPv6 address to be assigned to device
- Bit to check in ParamPresenceMask - 143
|
| pridnsv6 |
- Primary DNS Pv6 address preference
- Bit to check in ParamPresenceMask - 143
|
| secdnsv6 |
- Secondary DNS IPv6 address preference
- Bit to check in ParamPresenceMask - 143
|
| auth |
- Bitmap that indicates authentication algorithm preference
- 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.
- Bit to check in ParamPresenceMask - 29
|
| namesize |
- Maximum number of characters (including NULL terminator) that profile name array can contain.
- Bit to check in ParamPresenceMask - 16
|
| name |
- Profile name
- Bit to check in ParamPresenceMask - 16
|
| apnsize |
- Maximum number of characters (including NULL terminator) that APN name array can contain
- Bit to check in ParamPresenceMask - 20
|
| apnname |
- Access point name. NULL-terminated string parameter that is a logical name used to select GGSN and external packet data network.
- If value is NULL or omitted, then subscription default value will be requested.
- Bit to check in ParamPresenceMask - 20
|
| usersize |
- Maximum number of characters (including NULL terminator) that username array can contain.
- Bit to check in ParamPresenceMask - 27
|
| username |
- Username used during network authentication
- Bit to check in ParamPresenceMask - 27
|
| ParamPresenceMask |
- bitmask representation to indicate valid parameters.
|
The documentation for this struct was generated from the following file: