LR mode in mesh

_erik_
Posts: 1
Joined: Tue Apr 09, 2019 7:49 am

LR mode in mesh

Postby _erik_ » Tue Apr 09, 2019 7:52 am

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_

ESP_yudong
Posts: 68
Joined: Wed May 16, 2018 12:31 pm

Re: LR mode in mesh

Postby ESP_yudong » Mon Apr 15, 2019 1:43 pm

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.

parado
Posts: 2
Joined: Thu Jun 11, 2020 8:22 am

Re: LR mode in mesh

Postby parado » Fri Sep 18, 2020 3:01 pm

Have you found a solution to use the long range mode with MDF?

dserrano
Posts: 3
Joined: Tue Jul 06, 2021 4:18 pm

Re: LR mode in mesh

Postby dserrano » Tue Jul 06, 2021 4:27 pm

Found solution ???

Snedig
Posts: 24
Joined: Sat Apr 04, 2020 3:18 pm

Re: LR mode in mesh

Postby Snedig » Mon Aug 09, 2021 5:52 am

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.

Who is online

Users browsing this forum: No registered users and 6 guests