You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of an IOT project I'm working on, getting a quick Wifi connection is essential to save battery and a great optimisation for this is to cache the BSSID and channel (Wifi.BSSID() and Wifi.Channel()) of the router which makes connection times twice as fast as even using a static IP.
Currently I'm storing these values in memory but would like to have an easy way of passing them back into WifiManager to make use of the autoconnect functionality.
It looks like the wifiConnectNew method could be optionally overloaded to allow passing of BSSID and Channel values.
As part of an IOT project I'm working on, getting a quick Wifi connection is essential to save battery and a great optimisation for this is to cache the BSSID and channel (
Wifi.BSSID()
andWifi.Channel()
) of the router which makes connection times twice as fast as even using a static IP.Currently I'm storing these values in memory but would like to have an easy way of passing them back into WifiManager to make use of the
autoconnect
functionality.It looks like the
wifiConnectNew
method could be optionally overloaded to allow passing of BSSID and Channel values.Something like:
bool WiFiManager::wifiConnectNew(String ssid, String pass,bool connect, int channel = 0, *int BSSID = NULL)
The text was updated successfully, but these errors were encountered: