1
0
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:
ficeto
2015-05-16 19:00:36 +03:00
parent 0b168fd1bf
commit 66d9dbb070
2 changed files with 12 additions and 0 deletions

View File

@@ -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
*