mirror of
https://github.com/esp8266/Arduino.git
synced 2025-08-18 17:42:23 +03:00
Add timeout to STA::waitForConnectResult (#5371)
This commit is contained in:
@@ -57,7 +57,7 @@ class ESP8266WiFiSTAClass {
|
||||
bool setAutoReconnect(bool autoReconnect);
|
||||
bool getAutoReconnect();
|
||||
|
||||
uint8_t waitForConnectResult();
|
||||
int8_t waitForConnectResult(unsigned long timeoutLength = 60000);
|
||||
|
||||
// STA network info
|
||||
IPAddress localIP();
|
||||
|
Reference in New Issue
Block a user