internal communication example esp32 mesh
Posted: Mon Jun 20, 2022 7:01 am
I am referring to the internal communication example for ESP mesh from the last two weeks but I am unable to make connections between two ESP32-C3 one as th root node and the other as parent node andeven not able to send data between two devices.
I have done the following procedure
1) I set the type of first ESP32-C3 as root node (MESH_ROOT) using esp_mesh_set_type in app_main() and I am sending the message "hello world" , static char tx_buf[TX_SIZE] = "{\"Hello\":\"World\"}".
2) For the first ESP32-C3 (as root node) i have provided router credentials and set MESH AP connections to 1 from 6 using in menuconfig.
3) I set the type of second ESP32-C3 as parent node (LEAF_NODE) using esp_mesh_set_type in app_main() .
I have shared to OUTPUT Screenshots. Please find the attachments.
Questions:
1) Whether the procedure i have followed is valid?
2) Is there any other parameters to set or am I missing some parameters?
I have done the following procedure
1) I set the type of first ESP32-C3 as root node (MESH_ROOT) using esp_mesh_set_type in app_main() and I am sending the message "hello world" , static char tx_buf[TX_SIZE] = "{\"Hello\":\"World\"}".
2) For the first ESP32-C3 (as root node) i have provided router credentials and set MESH AP connections to 1 from 6 using in menuconfig.
3) I set the type of second ESP32-C3 as parent node (LEAF_NODE) using esp_mesh_set_type in app_main() .
I have shared to OUTPUT Screenshots. Please find the attachments.
Questions:
1) Whether the procedure i have followed is valid?
2) Is there any other parameters to set or am I missing some parameters?