Page 1 of 1

Sending sensor data across mesh network

Posted: Sat Oct 06, 2018 1:26 pm
by imark007
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.

Re: Sending sensor data across mesh network

Posted: Wed Oct 10, 2018 12:52 pm
by ESP_yudong
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. ... esh_opt_ti