mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
Added channel, ssid scan (#4636)
* Added channel, ssid scan Overloaded scanNetworks so scan can occur on a single channel and/or for a particular ssid. * Added parameters to scanNetworks channel number and ssid have been added as optional parameters to the orginal scanNetworks()
This commit is contained in:
@ -34,7 +34,7 @@ class ESP8266WiFiScanClass {
|
||||
|
||||
public:
|
||||
|
||||
int8_t scanNetworks(bool async = false, bool show_hidden = false);
|
||||
int8_t scanNetworks(bool async = false, bool show_hidden = false, uint8 channel = 0, uint8* ssid = NULL);
|
||||
void scanNetworksAsync(std::function<void(int)> onComplete, bool show_hidden = false);
|
||||
|
||||
int8_t scanComplete();
|
||||
|
Reference in New Issue
Block a user