Syntax
int disconnect();
ContentsIndex
PreviousUpNext
LWiFiClass::disconnect Method
LWiFiClass Class | Example
Syntax
int disconnect();
Description

Disconnects from the Wi-Fi AP.

Returns

0: Always, at the time of writing.  

 

Example
    LWiFi.begin();   // Turns on the Wi-Fi module.
    LWiFi.connectWPA("wifi_ap_ssid", "mypassword");  // Connects to an WPA-encrypted AP.
    LWifi.disconnect();  // Disconnects from the AP.
    LWiFi.end();     // Turns off the Wi-Fi module.
File

LWiFi.h

Class