Added the channel parameter to the scan fucntion in order to select which channel to scan. (#3638)

The default value is 0 (= all channels) to preserve backward compatibility.
This commit is contained in:
Franco Minucci
2020-01-20 15:13:10 +01:00
committed by Me No Dev
parent 8d938c849d
commit 2195109ecc
2 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ class WiFiScanClass
public:
int16_t scanNetworks(bool async = false, bool show_hidden = false, bool passive = false, uint32_t max_ms_per_chan = 300);
int16_t scanNetworks(bool async = false, bool show_hidden = false, bool passive = false, uint32_t max_ms_per_chan = 300, uint8_t channel = 0);
int16_t scanComplete();
void scanDelete();