Difference between ESP-MDF and ESP-IDF mesh application examples

dalohar
Posts: 33
Joined: Tue Jul 28, 2020 6:42 am

Difference between ESP-MDF and ESP-IDF mesh application examples

Postby dalohar » Tue Jul 28, 2020 6:49 am

HI,

Greetings!

We are studying ESP-WIFI-MESH and have came across 2 applications in ESP-IDF and ESP-MDF.
ESP-IDF Mesh: https://github.com/espressif/esp-idf/tr ... mples/mesh
ESP-MDF Mesh: https://github.com/espressif/esp-mdf/tr ... 0/examples

So we wish to understand below points. Please help us on the same.
1. Are these 2 are different mesh topology?
2. If No, which should we use?
3. If Yes, then which 1 is better to use for new developments?

Regards,

Dinesh

spirosbond
Posts: 4
Joined: Thu Dec 24, 2020 11:06 pm

Re: Difference between ESP-MDF and ESP-IDF mesh application examples

Postby spirosbond » Sat Dec 26, 2020 9:18 pm

I was actually was wondering the same...
I started recently investigating both IDF/mesh and MDF mesh frameworks and they seem quite similar.
If I understand right, MDF is just an encapsulation of the IDF mesh libraries for a bit faster development.
For example the mwifi_read() and mwifi_write() functions in the MDF framework are much more user friendly than the esp_mesh_send() and esp_mesh_recv() of the IDF.

However I am still not able to use the PS functions in the MDF example is am working on, which worked quite well in the IDF based...
In addition i noticed that the documentation for the IDF is superior vs the MDF... Other than that they both seem to be doing the same things so it comes down to finding the best starting point based on the available examples.

If others have more info on this, i would also be very interested to understand the differences.
Thank you.

DutchOrange
Posts: 74
Joined: Fri Dec 04, 2020 4:23 pm

Re: Difference between ESP-MDF and ESP-IDF mesh application examples

Postby DutchOrange » Sat Jan 02, 2021 5:55 pm

Iam also interested in hearing what the difference is, I see this post has been taking some time for a correct reply.

o.copleston
Posts: 21
Joined: Fri Aug 09, 2019 7:02 pm
Contact:

Re: Difference between ESP-MDF and ESP-IDF mesh application examples

Postby o.copleston » Mon Jan 25, 2021 3:07 pm

The core mesh functionality is contained within ESP-IDF. ESP-MDF is a framwork which abstracts a lot of that functionality into pre-made funcitons, like Mupgrade, Mwifi, Mconfig etc. to save you the hassle of doing things manually.

If you compare the ESP-IDF manual networking example to the contents of the functions contained within Mwifi, you'll see a lot of similiarites.

Hope this info helps!
Developer at SquidSoup
Person on Twitter | Instagram

Who is online

Users browsing this forum: No registered users and 22 guests