mirror of
https://github.com/esp8266/Arduino.git
synced 2025-08-24 14:48:14 +03:00
ESP8266WiFiClass::waitForConnectResult()
waitForConnectResult() waits until wifi status is not disconnected, unless STA is disabled, in which case it returns WL_DISCONNECTED
This commit is contained in:
@@ -58,6 +58,10 @@ public:
|
||||
*/
|
||||
int begin(const char* ssid, const char *passphrase);
|
||||
|
||||
/* Wait for Wifi connection to reach a result
|
||||
* returns the status reached or disconnect if STA is off
|
||||
*/
|
||||
uint8_t waitForConnectResult();
|
||||
|
||||
/* Set up an open access point
|
||||
*
|
||||
|
Reference in New Issue
Block a user