|
|
|
|
- Special cases
- Required permissions
WiFiListNetwork (Function) In french: WiFiListeRéseau Returns the list of Wi-Fi networks configured on the device. MyList is string nID is int  sSSID is string  MyList = WiFiListNetwork() FOR EACH STRING Network OF MyList SEPARATED BY CR nID = Val(ExtractString(Network, 1 , TAB) sSSID = ExtractString(Network, 2, TAB) ... END
Syntax
<Result> = WiFiListNetwork()
<Result>: Character string List of networks separated by CR characters (Carriage Return) and sorted by priority order (from the one with the highest priority to the one with the lower priority). The network with the highest priority is the one chosen by the device to connect in Wi-Fi.For each network, a set of information is returned in the following format: <Identifier> + TAB + <SSID> + TAB + <Security> where: - <Identifier>: Network identifier. This identifier can then be passed as a parameter to WiFiConnect to connect to the network.
- <SSID>: SSID (Service Set Identifier) of Wi-Fi network.
- <Security>: Security protocol used by the network:
| | wifiSecurityIEEE8021X | Security that uses the IEEE 802.1x standard. | wifiSecurityNone | No security is used. | wifiSecurityWEP | Security based on a WEP key (Wired Equivalent Privacy). | wifiSecurityWPA2 | Security that uses the WPA2 mechanism (Wi-Fi Protected Access). | wifiSecurityWPA | Security that uses the WPA mechanism (Wi-Fi Protected Access). | wifiSecurityWPA_EAP | Security that uses the WPA (Wi-Fi Protected Access) and EAP (Extensible Authentication Protocol) mechanisms. |
Remarks Special cases - To connect the device to one of the networks found in the list, use WiFiConnect and pass the identifier of the selected network as parameter.
- WiFiListNetwork returns the list of Wi-Fi networks configured on the device. To find out the list of access points currently accessible from the device, use WiFiDetectAccessPoint.
- The Wi-Fi must be enabled on the device in order to retrieve the list of networks. Otherwise, the function will fail: to get more details on the error, use ErrorInfo.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|