forked from espressif/arduino-esp32
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:
committed by
Me No Dev
parent
8d938c849d
commit
2195109ecc
@ -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();
|
||||
|
Reference in New Issue
Block a user