IF WiFiStatus() = wifiDisabled THEN
WiFiActivate(True)
END
Syntax
Finding out the current activation status of Wi-Fi on the current computer Hide the details
<Result> = WiFiStatus()
<Result>: Integer
Current activation status of Wi-Fi: | |
wifiActivationInProgress | The Wi-Fi is being enabled on the device. |
wifiDeactivationInProgress | The Wi-Fi is being disabled on the device. |
wifiDisabled | The Wi-Fi is disabled on the device. |
wifiEnabled | The Wi-Fi is enabled on the device. |
wifiError | The activation status of Wi-Fi cannot be retrieved. |