Syntax
typedef union {
unsigned int regulatory;
unsigned int dhcp;
unsigned int staticIP;
unsigned int gateway;
unsigned int dns;
unsigned int dns2;
unsigned int subnetMask;
unsigned int roamingmode;
int roamingThreshold;
unsigned int apinfoIndex;
unsigned int powerSaveMode;
} tuWlanConfigValue;
Members
- regulatory
-
The ID of the wireless LAN system setting is [SYS_WLAN_CONFIG_ID_REGULATORY].
Specify the region to use.Value Description NORTH_AMERICA 1〜11ch EUROPE(Default) 1〜13ch - dhcp
-
The ID of the wireless LAN system setting is [SYS_WLAN_CONFIG_ID_DHCP].
Sets the setting value for whether to use DHCP.Value Description WLAN_CONFIG_DHCP_ENABLE(Default) Use DHCP. WLAN_CONFIG_DHCP_DISABLE Use a static IP that does not use DHCP. - staticIP
-
The ID of the wireless LAN system setting is [SYS_WLAN_CONFIG_ID_IP_ADDRESS].
IP address for static IP.
Set value:0xWWXXYYZZ(Default=0x00000000)
IP address:ZZ.YY.XX.WW - gateway
-
The ID of the wireless LAN system setting is [SYS_WLAN_CONFIG_ID_DEFAULTGATEWAY].
Default gateway for static IP。
Set value:0xWWXXYYZZ(Default=0x00000000)
Default gateway:ZZ.YY.XX.WW - dns
-
The ID of the wireless LAN system setting is [SYS_WLAN_CONFIG_ID_DNS].
DNS for static IP.
Set value:0xWWXXYYZZ(Default=0x00000000)
DNS:ZZ.YY.XX.WW - dns2
-
The ID of the wireless LAN system setting is [SYS_WLAN_CONFIG_ID_DNS2].
Secondary DNS for static IP.
Set value:0xWWXXYYZZ(Default=0x00000000)
DNS2:ZZ.YY.XX.WW - subnetMask
-
The ID of the wireless LAN system setting is [SYS_WLAN_CONFIG_ID_SUBNETMASK].
Subnet mask for static IP.
Set value:0xWWXXYYZZ(Default=0x00000000)
Subnet mask:ZZ.YY.XX.WW - roamingmode
-
The ID of the wireless LAN system setting is [SYS_WLAN_CONFIG_ID_ROAMINGMODE].
Specify the roaming mode.Value Description WLAN_ROAMING_NORMAL(Default) When the RSSI value of the AP falls below the threshold value, the surrounding APs are searched, and if there is an AP with the same SSID with a higher RSSI value than the own AP, it reconnects to that AP. WLAN_ROAMING_ANY When the RSSI value of the AP falls below the threshold value, it searches the surrounding APs, and if there is a configured AP with a higher RSSI value than the own AP, it reconnects to that AP.。 WLAN_ROAMING_STEALTH Specify this when you want to roam with a stealth AP.
AIf the RSSI value of the AP falls below the threshold value, communication will be disconnected regardless of the presence or absence of surrounding APs.WLAN_ROAMING_ADDINFO_NORMAL It is used for verification when a problem occurs.
Normally do not specify. - roamingThreshold
-
The ID of the wireless LAN system setting is [SYS_WLAN_CONFIG_ID_ROAMINGTHRESHOLD].
Sets the RSSI value to switch to another AP when roaming.
-100〜0(Default=-75)) - apinfoIndex
-
The ID of the wireless LAN system setting is [SYS_WLAN_CONFIG_ID_APINFOINDEX].
Specifies AP information to use when roaming mode is not WLAN_ROAMING_ANY.
0〜29(Default=0)) - powerSaveMode
-
The ID of the wireless LAN system setting is [SYS_WLAN_CONFIG_ID_POWERSAVEMODE].
Gtes power savemode.Value Description WLAN_PS_ENABLE(Default) Enable power save mode. WLAN_PS_DISABLE Disable power save mode.
Requirements
Header file:
lib.hLibrary file:
libSTARTUPOPH5000.a
Last updated: 2024/07/30