WiFiConnectionInfo (Function) In french: WiFiInfoConnexion Returns the requested information about the current Wi-Fi connection of the device.
Info(StringBuild("Your current connection speed is %1 Mbps", ... WiFiConnectionInfo(wifiSpeed)))
Syntax
<Result> = WiFiConnectionInfo([<Type of information>])
<Result>: Character string - Requested information. If several types of information are requested, each type of information is separated by a CR character (Carriage Return).
The order in which the information is returned (if requested) is as follows: wifiSSID + wifiBSSID + wifiIPAddress + wifiMacAddress + wifiSpeed + wifiIDNetwork - Empty string ("") if the device is not connected to a Wi-Fi access point. The ErrorOccurred variable is set to True. ErrorInfo returns more information on the error.
<Type of information>: Optional Integer constant Requested information: | | wifiAll (Default value) | Full information about the connection (corresponds to wifiSSID + wifiBSSID + wifiIPAddress + wifiMacAddress + wifiSpeed + wifiIDNetwork). | wifiBSSID | BSSID (Basic Service Set Identifier) of the access point of the connection. | wifiIDNetwork | - Identifier of the network to which the device is connected,
- Empty string ("") if the device is connected to no identified network.
| wifiIPAddress | IP address associated with the connection. | wifiMACAddress | Wi-Fi Mac address of the device. Caution: From Android SDK version 6, the Mac address returned has the following format "02:00:00:00:00:00". | wifiSpeed | Speed of the Wi-Fi link (expressed in Mbps). | wifiSSID | SSID (Service Set Identifier) of the Wi-Fi network to which the device is connected. |
This page is also available for…
|
|
|
|