Forums » Req. WJ2(ESP32) support »
Mesh network problems
Added by martin van beek over 3 years ago
Can you provide more information how to create an Adhoc Mesh network with the ESP32.
Maybe you can share a working example how to deal with the different Mesh blocks.
First of all I'm curious why you must use of a known access point strictly, 'SSID AP', 'PASSCODE AP' and the specific Wifi channel number of that AP.
The Mesh network is used when you have no guarantee to reach the main AccessPoint, because the weak signal strength.
When this is the case, the Adhoc Mesh network is coming in. All nodes will participate and (re)distribute all messages until the destination is reached, without the need of a known AP.
Second, I can only change the 'Mesh ID' within the Mesh setup block.
When changing this the other blocks won't update their 'Mesh ID', they are fixed at "0x77, 0x77, 0x77, 0x77, 0x77, 0x77"
Third, when trying to use the 'Mesh receive' block, I got a strange error message via the dialog window:
2.c: In function 'esp32_mesh_ROBOR2_step':
Y:/tst07_esp32cam/tst13_mesh_network/esp32_mesh_ROBOR2_esp32_build_system/main/esp32_mesh_ROBOR2.c:71:17: error: 'taskTest_B' undeclared (first use in this function)
memset(&taskTest_B.MESH2_o10, 0, 32);
^~~~~~~~
<<<
Thanks so far for your quick response, kind regards,
Martin.