Page 1 of 1

internal communication example esp32 mesh

Posted: Mon Jun 20, 2022 7:01 am
by meetshah10
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?

Re: internal communication example esp32 mesh

Posted: Tue Jun 21, 2022 7:22 am
by rpiloverbd
Hi, have you followed this document thoroughly?

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

Re: internal communication example esp32 mesh

Posted: Tue Jun 21, 2022 9:11 am
by meetshah10
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.

Re: internal communication example esp32 mesh

Posted: Wed Jun 22, 2022 6:40 pm
by meetshah10
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

Re: internal communication example esp32 mesh

Posted: Tue Jul 05, 2022 11:23 am
by meetshah10
Hello Espressif team,
I request you to atleast respond to my question.