1
0
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:
dav1901
2019-07-04 15:08:02 +03:00
committed by david gauchard
parent e81bb6f57c
commit 16312949c9
4 changed files with 17 additions and 7 deletions

View File

@@ -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();