suggestion to change parameters of scanNetworks() to match the ones of ESP32
- Dominant language
- C++
- Stars
- 16.7k
- Forks
- 13.1k
- PR merge metrics
- No merged PRs in 30d
Description
The ESP32, in header WiFiScan.h, defines this function:
int16_t scanNetworks(bool async = false, bool show_hidden = false, bool passive = false, uint32_t max_ms_per_chan = 300, uint8_t channel = 0);
The ESP8266, in header ESP8266WiFiScan.h, defines this function:
int8_t scanNetworks(bool async = false, bool show_hidden = false, uint8 channel = 0, uint8* ssid = NULL);
My question is why you do not modify the ESP8266 code this to be as close match as possible with the ESP32?
It would be nice for code compatibility.
Or at least parameters async, show_hidden, passive, channel, and max_ms_per_chan.
Thank you
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.