I'm using esp now example from esp idf
https://github.com/espressif/esp-idf/bl ... ple_main.c
I'm not able to find/edit the data which is being sent when the broadcast starts. I know that the esp_now_send is the api that sends data but where do I edit it from?
And if anyone can explain me the code flow that will be highly helpful. Thesp idf documentation is very hard to understand for a begineer like me.
Thanks in advance.
How to edit data in esp-now example code
-
- Posts: 16
- Joined: Wed Jul 22, 2020 1:03 pm
Re: How to edit data in esp-now example code
Maybe this will be helpful? It doesn't have most of the features of the IDF example but should be useful as an introduction.
https://github.com/boarchuz/espnow_basic_example
https://github.com/boarchuz/espnow_basic_example
-
- Posts: 16
- Joined: Wed Jul 22, 2020 1:03 pm
Re: How to edit data in esp-now example code
Hey, @boarchuz. Thanks for the link. But I'm still not able to find the parameter which is sending data. I know esp_now_send is sending data and the buffer variable is being sent but whenever I assign value to this varibale ESP32 starts reseting. Can please explain which function or variable needs to be edited.
Who is online
Users browsing this forum: Bing [Bot] and 281 guests