Page 1 of 1

LR mode in mesh

Posted: Tue Apr 09, 2019 7:52 am
by _erik_
Is it possible to use the LR (Long Range) mode in a mesh when it is routerless?
What are the optimal RSSI configurations for the mesh when using LR...

Best Regards,

_erik_

Re: LR mode in mesh

Posted: Mon Apr 15, 2019 1:43 pm
by ESP_yudong
I think LR mode can be used in ESP-MESH.

The rssi configuration depends on whether the nodes can connect or communicate smoothly. If you use LR, the rsssi should be able to set lower.

Re: LR mode in mesh

Posted: Fri Sep 18, 2020 3:01 pm
by parado
Have you found a solution to use the long range mode with MDF?

Re: LR mode in mesh

Posted: Tue Jul 06, 2021 4:27 pm
by dserrano
Found solution ???

Re: LR mode in mesh

Posted: Mon Aug 09, 2021 5:52 am
by Snedig
I am using LR mode in mesh, I initialize it in the mesh block after wifi_init like so:

Code: Select all

wifi_init_config_t config = WIFI_INIT_CONFIG_DEFAULT();
ESP_ERROR_CHECK(esp_wifi_init(&config));
ESP_ERROR_CHECK(esp_event_handler_register(IP_EVENT, IP_EVENT_STA_GOT_IP, &ip_event_handler, NULL));
ESP_ERROR_CHECK(esp_wifi_set_storage(WIFI_STORAGE_FLASH));
ESP_ERROR_CHECK(esp_wifi_set_mode(WIFI_MODE_APSTA));
ESP_ERROR_CHECK(esp_wifi_set_protocol(WIFI_IF_AP, WIFI_PROTOCOL_LR));
ESP_ERROR_CHECK(esp_wifi_set_protocol(WIFI_IF_STA, WIFI_PROTOCOL_LR));
ESP_ERROR_CHECK(esp_wifi_start());
From what I've gathered, the esp_wifi_set_mode is required to do this.

I am experimenting now with setting the various RSSI thresholds a little bit lower as this should be possible with LR mode.