Sending sensor data across mesh network

imark007
Posts: 2
Joined: Sat Oct 06, 2018 1:20 pm

Sending sensor data across mesh network

Postby imark007 » Sat Oct 06, 2018 1:26 pm

What would the most robust method be to send sensor data from a leaf node on the mesh to the root node? I was looking into the trigger API to do this but wasn’t clear how to receive the values on the root device from the leaf device. The other option I was considering was using the mdf wifi send and receive commands directly. I am thinking that the mdf trigger API may be more robust with error handling already established.

Any guidance would be much appreciated.

ESP_yudong
Posts: 68
Joined: Wed May 16, 2018 12:31 pm

Re: Sending sensor data across mesh network

Postby ESP_yudong » Wed Oct 10, 2018 12:52 pm

Either is OK.
MDF APIs are easier to use and IDF APIs are more flexible.

If the packet is to the root, set this parameter 'to' to NULL.
https://docs.espressif.com/projects/esp ... esh_opt_ti

Who is online

Users browsing this forum: No registered users and 39 guests