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_
LR mode in mesh
-
- Posts: 68
- Joined: Wed May 16, 2018 12:31 pm
Re: LR mode in mesh
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.
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
Have you found a solution to use the long range mode with MDF?
Re: LR mode in mesh
I am using LR mode in mesh, I initialize it in the mesh block after wifi_init like so:
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.
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());
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 41 guests