Hello,
i used the example code for ESPNow for my project for weeks now.
The project grows, but i changed nothing on the ESPNow code beause it works
Now i got the Message: ESP_ERR_ESPNOW_NO_MEM (out of memory).
After download and studying the 1741 pages of the documentation i know that ESP_ERR_ESPNOW_NO_MEM means: out of memory.
But how to solve that?
I restarted and replaced (!) both ESP32 Wroom 32 and both PC (to check the serial monitor).
But the error still exists after some seconds, that' weird!
What does: ESP_ERR_ESPNOW_NO_MEM mean?
ESP_ERR_ESPNOW_NO_MEM
-
- Posts: 5
- Joined: Sat Oct 03, 2020 4:43 pm
Re: ESP_ERR_ESPNOW_NO_MEM
Solved! An interrupt disturbed the ESPNow routine.
My thougts were:
ESP_ERR_ESPNOW_NO_MEM is caused by an error after sending.
Was it a n error from receiver (response) or from sender? Are there further informations?
My thougts were:
ESP_ERR_ESPNOW_NO_MEM is caused by an error after sending.
Was it a n error from receiver (response) or from sender? Are there further informations?
Re: ESP_ERR_ESPNOW_NO_MEM
I am also encountering similar issues. Too frequent send is causing ESP_ERR_ESPNOW_NO_MEM. How did you solve that ? What interrupt you are talking about ?
Re: ESP_ERR_ESPNOW_NO_MEM
I'm experiencing the same issue. I think just before/after calling esp_now_send(...), you have to un-/lock something, ie wrap the send statement in a critical section, so that it doesn't get interrupted? It's just a guess that I will be trying myself later.
Who is online
Users browsing this forum: axellin, aygh4266, ESP_ondrej and 116 guests