esp-mesh-lite
esp-mesh-lite copied to clipboard
Extending no router mesh range with wifi LR (AEGHB-628)
The idea was to increase the no router wifi mesh (https://github.com/espressif/esp-mesh-lite/tree/master/examples/no_router) range with adding the LR protocol in the station interface and setting the LR protocol only in the AP interface:
Adding
esp_wifi_set_protocol(WIFI_IF_STA, WIFI_PROTOCOL_11B|WIFI_PROTOCOL_11G|WIFI_PROTOCOL_LR);
here https://github.com/espressif/esp-mesh-lite/blob/6262c93addb0670876c4b880c04215ec66a2393e/examples/no_router/main/no_router.c#L73
and
esp_wifi_set_protocol(WIFI_IF_AP, WIFI_PROTOCOL_LR);
here https://github.com/espressif/esp-mesh-lite/blob/6262c93addb0670876c4b880c04215ec66a2393e/examples/no_router/main/no_router.c#L79.
Behaviour: Wifi mesh is created, wifi log includes "phy lr" but range is not extended compared to normal wifi b/g.
Expected: Enabling long range extends the wifi range between the ESPs in the mesh.
Is the LR mode not compatible with the no router mesh? Is the enabling the LR mode not enough for extending the wifi range?
Any input? Thanks!