8000 suggestion to change parameters of scanNetworks() to match the ones of ESP32 · Issue #8053 · esp8266/Arduino · GitHub
[go: up one dir, main page]

Skip to content
suggestion to change parameters of scanNetworks() to match the ones of ESP32 #8053
Open
@pabloandresm

Description

@pabloandresm

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0