1
0
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:
Dan Worth
2018-04-13 14:55:45 -04:00
committed by Develo
parent b08d282673
commit 7820fb73a5
2 changed files with 6 additions and 2 deletions

View File

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