ESP-WIFI-MESH is not stable
Posted: Thu Nov 14, 2024 6:29 am
hello, i have a project relating to mavlink based telemetry system that uses ESP-WIFI-MESH, i started my development on this project 4 months ago based on https://github.com/espressif/esp-idf/tr ... mples/mesh sample code, i tested the code on esp32-wroom-32d hardware with pcb antenna, i worked well i was able to get reliable connection up to 10 meters solid, This is my project which uses esp-wifi-mesh https://github.com/WCjai/Drone-Mesh/tre ... -no-router (check branch with esp-mesh) this project is simple here is a simple illustration
i tested this even a month ago it worked fine with esp32-wroom-32d, but now when i uploaded that same code now to that same hardware it has connectivity issues, and can not able to connect with nodes or router with the hardware and code being same , but when i uploaded same code to esp32-wroom-32ue it is able to connect to routers and node, but the connection is weak after moving away 3-4meter the connection is lost and i face lot of packets loss when connection is there, i even uploaded example code too, still facing same issues
output of esp32-wroom-32d serial, with router
is there any solution?
i tested this even a month ago it worked fine with esp32-wroom-32d, but now when i uploaded that same code now to that same hardware it has connectivity issues, and can not able to connect with nodes or router with the hardware and code being same , but when i uploaded same code to esp32-wroom-32ue it is able to connect to routers and node, but the connection is weak after moving away 3-4meter the connection is lost and i face lot of packets loss when connection is there, i even uploaded example code too, still facing same issues
output of esp32-wroom-32d serial, with router
Code: Select all
I (18067) wifi:new:<3,0>, old:<3,1>, ap:<3,1>, sta:<3,0>, prof:3, snd_ch_cfg:0x0
I (18077) mesh: [wifi]disconnected reason:2(auth expire), continuous:3/max:12, root, vote(,stopped)<><>
I (18077) mesh_main: <MESH_EVENT_PARENT_DISCONNECTED>reason:2
I (20937) mesh: [wifi]disconnected reason:205(), continuous:4/max:12, root, vote(,stopped)<><>
I (20937) mesh_main: <MESH_EVENT_PARENT_DISCONNECTED>reason:205
I (20997) wifi:new:<3,1>, old:<3,0>, ap:<3,1>, sta:<3,0>, prof:3, snd_ch_cfg:0x0
I (20997) wifi:state: init -> auth (0xb0)
I (22007) wifi:state: auth -> init (0x200)
I (22007) wifi:new:<3,0>, old:<3,1>, ap:<3,1>, sta:<3,0>, prof:3, snd_ch_cfg:0x0
I (22007) mesh: [wifi]disconnected reason:2(auth expire), continuous:5/max:12, root, vote(,stopped)<><>
I (22007) mesh_main: <MESH_EVENT_PARENT_DISCONNECTED>reason:2
I (24877) mesh: [wifi]disconnected reason:205(), continuous:6/max:12, root, vote(,stopped)<><>
I (24877) mesh_main: <MESH_EVENT_PARENT_DISCONNECTED>reason:205
I (24887) wifi:new:<3,1>, old:<3,0>, ap:<3,1>, sta:<3,0>, prof:3, snd_ch_cfg:0x0
I (24897) wifi:state: init -> auth (0xb0)
I (25897) wifi:state: auth -> init (0x200)
I (25897) wifi:new:<3,0>, old:<3,1>, ap:<3,1>, sta:<3,0>, prof:3, snd_ch_cfg:0x0
I (25907) mesh: [wifi]disconnected reason:2(auth expire), continuous:7/max:12, root, vote(,stopped)<><>
I (25907) mesh_main: <MESH_EVENT_PARENT_DISCONNECTED>reason:2
I (28767) mesh: [wifi]disconnected reason:205(), continuous:8/max:12, root, vote(,stopped)<><>
I (28767) mesh_main: <MESH_EVENT_PARENT_DISCONNECTED>reason:205
I (28787) wifi:new:<3,1>, old:<3,0>, ap:<3,1>, sta:<3,0>, prof:3, snd_ch_cfg:0x0
I (28787) wifi:state: init -> auth (0xb0)
I (29787) wifi:state: auth -> init (0x200)
I (29787) wifi:new:<3,0>, old:<3,1>, ap:<3,1>, sta:<3,0>, prof:3, snd_ch_cfg:0x0
I (29807) mesh: [wifi]disconnected reason:2(auth expire), continuous:9/max:12, root, vote(,stopped)<><>
I (29807) mesh_main: <MESH_EVENT_PARENT_DISCONNECTED>reason:2
I (32667) mesh: [wifi]disconnected reason:205(), continuous:10/max:12, root, vote(,stopped)<><>
I (32667) mesh_main: <MESH_EVENT_PARENT_DISCONNECTED>reason:205
I (32677) wifi:new:<3,1>, old:<3,0>, ap:<3,1>, sta:<3,0>, prof:3, snd_ch_cfg:0x0
I (32677) wifi:state: init -> auth (0xb0)
I (33677) wifi:state: auth -> init (0x200)
I (33677) wifi:new:<3,0>, old:<3,1>, ap:<3,1>, sta:<3,0>, prof:3, snd_ch_cfg:0x0
I (33697) mesh: [wifi]disconnected reason:2(auth expire), continuous:11/max:12, root, vote(,stopped)<><>
I (33697) mesh_main: <MESH_EVENT_PARENT_DISCONNECTED>reason:2
I (36557) mesh: [wifi]disconnected reason:205(), continuous:12/max:12, root, vote(,stopped)<><>
I (36557) mesh_main: <MESH_EVENT_PARENT_DISCONNECTED>reason:205
I (36567) wifi:new:<3,1>, old:<3,0>, ap:<3,1>, sta:<3,0>, prof:3, snd_ch_cfg:0x0
I (36567) wifi:state: init -> auth (0xb0)
I (37567) wifi:state: auth -> init (0x200)
I (37567) wifi:new:<3,0>, old:<3,1>, ap:<3,1>, sta:<3,0>, prof:3, snd_ch_cfg:0x0
I (37577) mesh: [wifi]disconnected reason:2(auth expire), continuous:13/max:12, root, vote(,stopped)<><>
I (37577) mesh_main: <MESH_EVENT_PARENT_DISCONNECTED>reason:2
I (40447) mesh: [wifi]disconnected reason:205(), continuous:14/max:12, root, vote(,stopped)<><>
I (40447) mesh_main: <MESH_EVENT_PARENT_DISCONNECTED>reason:205
I (40467) wifi:new:<3,1>, old:<3,0>, ap:<3,1>, sta:<3,0>, prof:3, snd_ch_cfg:0x0
I (40467) wifi:state: init -> auth (0xb0)