Hello,
I'm fairly new to this framework, was studding the lib examples such as mconfig and mcommon, uploaded on a few boards, all nice and smooth.
Now I was thinking about start developing for it, the problem is, I fail to identify a way to work with payloads on this code, my experience with mesh network was on STM's, there it involves headers and payloads and list of known addresses. I was going to start simple. Master would send the simples payload to all the nodes (lets say 'a') and all the nodes would read the packages and if payload = 'a', led gpio would turn on.
The thing is, what library should I use, what function or command?
Any help is welcome, I'm stuck at it.
And thank you very much
Need help to Write and Read commands
Re: Need help to Write and Read commands
Ok so I understood a few things about the mconfig lib, its good only to setup the mesh network, sending configurations to the other boards and printing their Mac address. (at least I think so).
So if I wanna send and receive data I will have to use mespnow Lib.
Sounds good, only if there was an example for the mEspnow lib to follow
now I know in order to use mespnow lib I need to build a list of peers, anyone can tell me how to work with the mespnow_add_peer function, what should I put on the ifx argument?
Thank you
So if I wanna send and receive data I will have to use mespnow Lib.
Sounds good, only if there was an example for the mEspnow lib to follow
now I know in order to use mespnow lib I need to build a list of peers, anyone can tell me how to work with the mespnow_add_peer function, what should I put on the ifx argument?
Thank you
Re: Need help to Write and Read commands
Hi MNathan,
For mconfig we use ESP-NOW for the configuration, it's one solution to realize passing router information between deivecs, but not the only way. For more information of ESP-NOW, you can refer to the doc here: https://docs.espressif.com/projects/esp ... p_now.html
For MDF, here is the doc which I think can help a bit: https://docs.espressif.com/projects/esp ... index.html
For the demo, I think you can start with the example "get_started", which can help get the basic conception of ESP-MESH. Then you can try to build the light demo, with all basic functions.https://github.com/espressif/esp-mdf/tr ... opment_kit.
For mconfig we use ESP-NOW for the configuration, it's one solution to realize passing router information between deivecs, but not the only way. For more information of ESP-NOW, you can refer to the doc here: https://docs.espressif.com/projects/esp ... p_now.html
For MDF, here is the doc which I think can help a bit: https://docs.espressif.com/projects/esp ... index.html
For the demo, I think you can start with the example "get_started", which can help get the basic conception of ESP-MESH. Then you can try to build the light demo, with all basic functions.https://github.com/espressif/esp-mdf/tr ... opment_kit.
Who is online
Users browsing this forum: No registered users and 30 guests