I'm trying to create a simple mesh network using the manual networking example in esp-idf/mesh directory.
This is what I want to do:
A- Root Node
B- Parent Node
C- Leaf Node
In addition I want the root fix (no election) so I expected I had to set
Code: Select all
"esp_mesh_set_parent(1)"
Code: Select all
ESP_ERROR_CHECK(esp_mesh_set_parent(&parent, (mesh_addr_t *)&parent_assoc.mesh_id, my_type, my_layer));
For now I'm trying to make the A working. this are the step I do:
1) enable the "#define MESH_SET_ROOT" in the code
2) with make menuconfig I set the Router, PWD and auth mode of my home router
3)upload the firmware.
When the fw start it finds my access point but it seems not connected to my home router; it try to connect to anoher one (please see attcahed)
My router SSID is "Vodafone-A82282660" but it seem try to connect to "DIRECT-nB2070 series" which is not mine (please see line 8719 of attached)
I wonder if I'm making some error.
Please Help.
Awaiting your reply, thanks
Nico