1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-13 13:01:55 +03:00

ESP8266WiFiMulti - get number of APs in the list (#9082)

When having some more complex setups it might be helpful to know the number of APs already added to the list.
This commit is contained in:
Holger Lembke
2024-03-17 22:04:44 +01:00
committed by GitHub
parent 1248d3874e
commit dc9abed8b9

View File

@ -69,7 +69,7 @@ public:
wl_status_t run(uint32_t connectTimeoutMs=WIFI_CONNECT_TIMEOUT_MS);
void cleanAPlist();
int count() { return _APlist.size(); }
private:
WifiAPlist _APlist;
bool _firstRun;