Skip to content
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

Is it possible to force 802.11g? #37

Open
andrea-m1 opened this issue Sep 16, 2019 · 2 comments
Open

Is it possible to force 802.11g? #37

andrea-m1 opened this issue Sep 16, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@andrea-m1
Copy link

Hi, I am troubleshooting a problem with 802.11n. Is it possible to force the module to use 802.11g only somehow?

@sandeepmistry sandeepmistry added the enhancement New feature or request label Sep 18, 2019
@sandeepmistry
Copy link
Contributor

Hi @andrea-m1,

This feature is not supported at this time. I've marked it as an enhancement.

If you'd like to propose a pull request in the mean time that would be great!

@tomazas
Copy link

tomazas commented Jul 15, 2020

Protocol selection could be implemented in "arduino\libraries\WiFi\src\WiFi.cpp" with additional call to esp_wifi_set_protocol, e.g.:
uint8_t band = WIFI_PROTOCOL_11B|WIFI_PROTOCOL_11G|WIFI_PROTOCOL_11N;
esp_wifi_set_protocol(_interface, band);

before the esp_wifi_start(); is invoked.

However, currently it is not possible to force ESP-IDF to use G specific protocol.
Only three options 802.11b, 802.11b/g or 802.11b/g/n are supported and neither of them is pure 802.11g.

See official code docs here for proof.


Based on the issue count of espressif the bad news is that you should not expect this feature to be implemented anytime soon.
Furthermore if your AP works only with higher (>802.11b) data rates the ESP-IDF will still try to send some low-rate junk (of 802.11b protocol) over the air.


Offtopic - I'm just suprised how boldly and irresponsibly u-blox selected the cheapest so-incomplete espressif WiFi solution for the NINA devices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants