Page 1 of 1

Mesh Lite nodes dropping out/not connecting

Posted: Thu Apr 10, 2025 12:13 pm
by mhISTL
Hi all

I have an issue where some nodes don't come online at all, possibly restarting the ESP32's they may come online. I have seen no pattern to this, some are fine, some aren't, some may come up during one test and then refuse to connect at all.

I also have an issue where they may just drop out of the mesh completely, they don't seem to reconfigure themselves to get connected back up. Again, I can find no pattern to this. It doesn't seem to be signal strength related.

I am testing with around 20 nodes, they are spaced out evenly.

Mesh config posted below:

Code: Select all

    esp_mesh_lite_config_t mesh_lite_config = ESP_MESH_LITE_DEFAULT_INIT();
    mesh_lite_config.join_mesh_ignore_router_status = true;
    mesh_lite_config.join_mesh_without_configured_wifi = true;
Please let me know if you require anything else.

Thanks
Martin

Re: Mesh Lite nodes dropping out/not connecting

Posted: Sat Apr 12, 2025 8:25 am
by nopnop2002
The official samples are published here.

Which sample code are you using?

https://github.com/espressif/esp-mesh-l ... r/examples

Re: Mesh Lite nodes dropping out/not connecting

Posted: Thu Apr 24, 2025 1:35 pm
by mhISTL
I have used both the example code from the Espressif Github page you linked and your examples nopnop from your Github account.

Below is an example of my most seen error

Code: Select all

E (70508) [ESP_Mesh_Lite_Comm]: Disconnect reason : 2
W (75038) wifi:Haven't to connect to a suitable AP now!
I (00:10:50.048) MAIN: System information, channel: 6, layer: 1, self mac: 98:3d:ae:ed:6d:64, parent bssid: 00:00:00:00:00:00, parent rssi: -120, free heap: 235988
I (00:10:50.057) MAIN: All node number: 0
I (78948) [vendor_ie]: esp_mesh_lite_wifi_scan_start return ESP_OK 
I (81788) [vendor_ie]: Mesh-Lite Scan done 
I (81788) [vendor_ie]: RTC store: temp_mesh_id:255; ssid:Testing; bssid:00:00:00:00:00:00; crc:2952505822
I (81788) [vendor_ie]: wifi_cfg ISTFradley router_config ISTFradley 
I (81798) [vendor_ie]: esp_mesh_lite_wifi_connect return ESP_OK 
I (82378) wifi:new:<6,2>, old:<6,0>, ap:<6,2>, sta:<6,0>, prof:1, snd_ch_cfg:0x0
I (82378) wifi:state: init -> auth (0xb0)
I (83378) wifi:state: auth -> init (0x200)
I (83378) wifi:new:<6,0>, old:<6,2>, ap:<6,2>, sta:<6,0>, prof:1, snd_ch_cfg:0x0
I can't figure out how other people are using the example code and having stable results when I can not

Re: Mesh Lite nodes dropping out/not connecting

Posted: Fri Apr 25, 2025 3:13 pm
by nopnop2002
Try clearing the flash once.

Code: Select all

esp-idf erase-flash

Re: Mesh Lite nodes dropping out/not connecting

Posted: Wed Jul 02, 2025 9:44 am
by mjgciltd
@mhISTL

I am having the same issues and the results are unpredictable for me.
It keeps trying to connect even if the nodes are within the range of each other.

Were you able to resolve this?