1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-09-09 18:40:33 +03:00

Ability to set connect timeout in WifiMulti->run (#7420)

* Adds timeout parameter to run

* Renaming varaible to connectTimeoutMs
This commit is contained in:
Mikael Bertze
2020-07-02 00:01:34 +02:00
committed by GitHub
parent 799c0f6774
commit f1651fba89
2 changed files with 3 additions and 5 deletions

View File

@@ -55,7 +55,7 @@ class ESP8266WiFiMulti {
bool addAP(const char* ssid, const char *passphrase = NULL);
bool existsAP(const char* ssid, const char *passphrase = NULL);
wl_status_t run(void);
wl_status_t run(uint32_t connectTimeoutMs=5000);
void cleanAPlist(void);