src/cWiFi.cpp
// return true if WiFi is connected.
return true if WiFi is connected.
return true if WiFi is connected .
bool cWiFi::is_connected(){
  uint8_t status;
  if( !get_status( &status ) )
    return false;
  return status==WL_CONNECTED;
}
bool cWiFi :: is_connected ( ) { uint8_t status ; if ( ! get_status ( & status ) ) return false ; return status == WL_CONNECTED ; }
return true if WiFi is connected.
return true if WiFi is connected .