esp8266 / esp8266/Arduino

suggestion to change parameters of scanNetworks() to match the ones of ESP32

Open
#8,053 1 comment 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.