mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-01 03:26:58 +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:
@ -69,7 +69,7 @@ public:
|
|||||||
wl_status_t run(uint32_t connectTimeoutMs=WIFI_CONNECT_TIMEOUT_MS);
|
wl_status_t run(uint32_t connectTimeoutMs=WIFI_CONNECT_TIMEOUT_MS);
|
||||||
|
|
||||||
void cleanAPlist();
|
void cleanAPlist();
|
||||||
|
int count() { return _APlist.size(); }
|
||||||
private:
|
private:
|
||||||
WifiAPlist _APlist;
|
WifiAPlist _APlist;
|
||||||
bool _firstRun;
|
bool _firstRun;
|
||||||
|
Reference in New Issue
Block a user