New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Opinion / Feature request: Wireless Network Mode selection b/g/n #2012
Comments
I can look into the WiFi settings to see if I can set the mode. Having a mixed network (B/G/N) will cause more issues regarding stability (and speed for other nodes), but that also depends on the model/brand of the used access point. |
See letscontrolit#2012 and discussion here: letscontrolit#1987 (comment)
See letscontrolit#2012 and discussion here: letscontrolit#1987 (comment)
I discovered that the protocol can only be set to const uint8_t protocol = WIFI_PROTOCOL_11B | WIFI_PROTOCOL_11G || WIFI_PROTOCOL_11N; OR const uint8_t protocol = WIFI_PROTOCOL_11B OR const uint8_t protocol = WIFI_PROTOCOL_11B | 0 | 0; anything else fails.
|
Looks like ESP32 code. I will take this code you posted to see if I can add this to the ESP32 code for ESPEasy too. |
I still have the old ESP32. Do you have an ESP32-S3 to test it with? I think it might work... |
ESP32-S3 is not yet supported by ESPEasy. |
You can take my code. Known that the |
The ESPEasy/src/src/ESPEasyCore/ESPEasyWifi.cpp Lines 748 to 775 in d632f45
The code for setting the b/g/n config for ESP32 was also already present: ESPEasy/src/src/ESPEasyCore/ESPEasyWifi.cpp Lines 1309 to 1326 in d632f45
But commented out as it wasn't working very well, which probably got to do with what you reported that not all combinations are considered valid. So I will have a look at that part too and also check against the (newly added) info whether an AP advertises some mode so we don't need to attempt to connect to it when not supported. See also my pending PR regarding fixes for WiFi: #4285 |
This is now working well on the newly supported platforms like ESP32-S2/S3/C3 |
Is it useful to add a selection for the preferred Wireless Network Mode?
From the ESP8266 datasheet:
One can expect more stable WiFi (stronger signals/longer range) at the cost of trough-put in b/g mode.
I think mode n is far over the top for IoT.
In many applications the ESP is cramped between other components in wall or housing.
Isn't 11Mbps enough at the advantage of much more Rx/Tx budget?
If this is useful, I request a 802.11 b/g/n/auto selection on the Config page.
Remark:
All my ESP nodes are n connected, even at the cost of signal strength.
My dd-wrt router has Wireless Network Mode "Mixed" but no possibilities to force per client the 802.11b/g. Do other routers have this?
The text was updated successfully, but these errors were encountered: