ESP32 WiFiMesh sending problem

Troy Mitchell
Posts: 16
Joined: Fri Aug 16, 2024 1:55 am

ESP32 WiFiMesh sending problem

Postby Troy Mitchell » Sat Aug 17, 2024 6:14 am

If my current mesh network is like this:
A
|
|
B
/ \
C D
If device C or device D wants to send a message to device A, can they just use the `esp_mesh_send` function and write the address of device A as the first parameter? Then the mesh library will send it to B, and then B will transfer it to A, but this process is opaque and the caller cannot perceive it, right?

aliarifat794
Posts: 198
Joined: Sun Jun 23, 2024 6:18 pm

Re: ESP32 WiFiMesh sending problem

Postby aliarifat794 » Sat Aug 17, 2024 3:04 pm

In the ESP-MESH network, devices can communicate with each other by simply specifying the destination address when using the esp_mesh_send function.
The ESP-MESH library handles the routing automatically. Device C or D sends the message to device B. Device B forwards the message to device A.

Troy Mitchell
Posts: 16
Joined: Fri Aug 16, 2024 1:55 am

Re: ESP32 WiFiMesh sending problem

Postby Troy Mitchell » Mon Aug 19, 2024 8:54 am

aliarifat794 wrote:
Sat Aug 17, 2024 3:04 pm
In the ESP-MESH network, devices can communicate with each other by simply specifying the destination address when using the esp_mesh_send function.
The ESP-MESH library handles the routing automatically. Device C or D sends the message to device B. Device B forwards the message to device A.
Get it. Thanks for ur response.

Best regards.

Who is online

Users browsing this forum: No registered users and 302 guests