FastLED 3.10.6
Loading...
Searching...
No Matches
fl::net::wifi Namespace Reference

Enumerations

enum class  Status : u8 {
  UNSUPPORTED = 0 , IDLE , CONNECTING , CONNECTED ,
  FAILED , AP_ACTIVE
}
 Connection state, advanced by the platform's event handlers. More...
 

Functions

fl::string apIpAddress () FL_NO_EXCEPT
 Dotted-quad IP of the SoftAP interface ("" when AP is down).
 
bool connectSta (const char *ssid, const char *password) FL_NO_EXCEPT
 Start an asynchronous station-mode join.
 
fl::string ipAddress () FL_NO_EXCEPT
 Dotted-quad IP of the station interface ("" until connected).
 
bool isConnected () FL_NO_EXCEPT
 True when the station interface has an IP.
 
bool startAp (const char *ssid, const char *password, u8 channel) FL_NO_EXCEPT
 Bring up a SoftAP.
 
Status status () FL_NO_EXCEPT
 Current connection state.
 
void stop () FL_NO_EXCEPT
 Stop WiFi entirely (STA and AP).
 
const char * toString (Status s) FL_NO_EXCEPT
 Human-readable name for a Status value.