LinuxSDK  V1.4.0.5
Data Fields
SWI_STRUCT_GsmProfileDns Struct Reference

#include <SwiApiGsmNetwork.h>

Data Fields

swi_uint32 sizeStruct
 
swi_uint8 nProfileId
 
swi_uint32 nLengthPriDns
 
swi_uint8 byPriDns [LENGTH_IPAddress]
 
swi_uint32 nLengthSecDns
 
swi_uint8 bySecDns [LENGTH_IPAddress]
 

Detailed Description

This structure contains 3G GSM DNS profile settings.

See Also
SWI_NOTIFY_GsmProfileChange
SwiGetGsmProfileDns
SwiSetGsmProfileDns

Field Documentation

swi_uint8 SWI_STRUCT_GsmProfileDns::byPriDns[LENGTH_IPAddress]

A binary representation of the primary DNS. Ex. 0x7F000201 is 127.0.2.1.

swi_uint8 SWI_STRUCT_GsmProfileDns::bySecDns[LENGTH_IPAddress]

A binary representation of the secondary DNS (Ex. 0x7F000201 is 127.0.2.1.)

swi_uint32 SWI_STRUCT_GsmProfileDns::nLengthPriDns

Length of the primary DNS address. Valid range is 0-16. 0 indicates no DNS address present and in this case the modem will solicit a network-supplied DNS address.

swi_uint32 SWI_STRUCT_GsmProfileDns::nLengthSecDns

Length of the primary DNS address. Valid range is 0-16. 0 indicates no DNS address present and in this case the modem will solicit a network-supplied DNS address.

swi_uint8 SWI_STRUCT_GsmProfileDns::nProfileId

Profile ID. Valid range is 1-16.

swi_uint32 SWI_STRUCT_GsmProfileDns::sizeStruct

The size, in bytes, of this structure.


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

Linux SDK V1.4.0.5
Copyright (c) 2011 Sierra Wireless, Inc. All rights reserved