internal communication example esp32 mesh

meetshah10
Posts: 11
Joined: Tue Jun 14, 2022 6:30 am

internal communication example esp32 mesh

Postby meetshah10 » 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?
Attachments
ESP32-C3_ROO_NODE.PNG
ESP32-C3_ROO_NODE.PNG (98.2 KiB) Viewed 3093 times
ESP32-C3_PARENT_NODE.PNG
ESP32-C3_PARENT_NODE.PNG (161.32 KiB) Viewed 3093 times
ESP32-C3_ROOT_LEAF_NODE.PNG
ESP32-C3_ROOT_LEAF_NODE.PNG (217.91 KiB) Viewed 3093 times

rpiloverbd
Posts: 101
Joined: Tue Mar 22, 2022 5:23 am

Re: internal communication example esp32 mesh

Postby rpiloverbd » Tue Jun 21, 2022 7:22 am

Hi, have you followed this document thoroughly?

https://docs.espressif.com/projects/esp ... pplication

meetshah10
Posts: 11
Joined: Tue Jun 14, 2022 6:30 am

Re: internal communication example esp32 mesh

Postby meetshah10 » Tue Jun 21, 2022 9:11 am

https://docs.espressif.com/projects/esp ... pplication

Yes I went through this documentation, and all the mentioned procedure in documentation are already defined in internal communication example but i am still not able to figure out (not sure whether the root node is getting connected to leaf node).

I am newbie to wifi mesh topic so it would be great help if I can get guidance how to connect root node to leaf node and how to send message through one node to another

Thanks you in advance.

meetshah10
Posts: 11
Joined: Tue Jun 14, 2022 6:30 am

Re: internal communication example esp32 mesh

Postby meetshah10 » Wed Jun 22, 2022 6:40 pm

I am newbie to wifi mesh topic so it would be great help if I can get guidance how to connect root node to leaf node and how to send message through one node to another

meetshah10
Posts: 11
Joined: Tue Jun 14, 2022 6:30 am

Re: internal communication example esp32 mesh

Postby meetshah10 » Tue Jul 05, 2022 11:23 am

Hello Espressif team,
I request you to atleast respond to my question.

Who is online

Users browsing this forum: No registered users and 92 guests