LWifiStatus status();
LWifiStatus status();
Returns the connection status.
One of the value defined in LWifiStatus.
It can be one of the following:
LWIFI_STATUS_DISABLED: The LWiFi module is disabled. Use LWiFi.begin() to enable it.
LWIFI_STATUS_DISCONNECTED: The LWiFi module isn't connected to any AP, or the connection is lost due to bad signal strength.
LWIFI_STATUS_CONNECTED: The LWiFi module is connected to an AP.
LWiFi.h