Some Clarification on Mesh

nonagon
Posts: 19
Joined: Thu May 06, 2021 12:56 pm

Some Clarification on Mesh

Postby nonagon » Thu Dec 02, 2021 2:51 pm

I'm reviewing the code to prepare it to production stage and I need some clarification on Mesh working.
I implemented Wifi mesh using IDF (not MDF) and it work very well but I need to understand some things:
1) I'm using IDF API and not MDF API, there is some reason to move to MDF like IDF major version compatibility or better support?
If I undestand correctly MDF is just an interface to implement IDF APIs, correct? Obviously I don't want to move to MDF because the code is working and I don't want to change it, but I have to ask.
2) I assume the myself node ID as the first entry on route table obtained from esp_mesh_get_routing_table(). So, when I have to send data to all childs I do a for() with index starting to 1 to not send the frame to myself but only to the childs. It is correct? Is there some better way to obtain my node ID or send to all childs a frame?
Thank you in advice

Who is online

Users browsing this forum: No registered users and 2 guests