Skip to content
michael edited this page Nov 9, 2015 · 1 revision

Wifi functions.

checkWifiState Checks Wifi state.
returns: (Boolean) True if Wifi is enabled.
toggleWifiState Toggle Wifi on and off.
enabled (Boolean) (optional)
returns: (Boolean) True if Wifi is enabled.
wifiDisconnect Disconnects from the currently active access point.
returns: (Boolean) True if the operation succeeded.
wifiGetConnectionInfo Returns information about the currently active access point.
wifiGetScanResults Returns the list of access points found during the most recent Wifi scan.
wifiLockAcquireFull Acquires a full Wifi lock.
wifiLockAcquireScanOnly Acquires a scan only Wifi lock.
wifiLockRelease Releases a previously acquired Wifi lock.
wifiReassociate Reassociates with the currently active access point.
returns: (Boolean) True if the operation succeeded.
wifiReconnect Reconnects to the currently active access point.
returns: (Boolean) True if the operation succeeded.
wifiStartScan Starts a scan for Wifi access points.
returns: (Boolean) True if the scan was initiated successfully.
Clone this wiki locally