ESP-NOW init done flag #110
-
Hi Mair, With reagrd to the ESP-NOW routines, can you determine when ESP-NOW init is complete? In the monitor window I notice the line below and thinking if I could somehow read this line in code for a flag that indicates it has been set up then this would do: I [1712] ESPNOW: espnow [version 1.0] init |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I guess esp-now init is just a configuration process on esp32 internals, so it should be really fast. I've never had the need to wait after running init. Just read init result and expect ESP_OK if it was fine and ESP_ERR_ESPNOW_INTERNAL in case of error. I've never got that response though. |
Beta Was this translation helpful? Give feedback.
-
@orbitcoms There is no indication that initialization in non-blocking so when it returns. It should be initialized |
Beta Was this translation helpful? Give feedback.
I guess esp-now init is just a configuration process on esp32 internals, so it should be really fast. I've never had the need to wait after running init. Just read init result and expect ESP_OK if it was fine and ESP_ERR_ESPNOW_INTERNAL in case of error. I've never got that response though.