ESP_ERR_ESPNOW_NO_MEM

Rubbernose
Posts: 5
Joined: Sat Oct 03, 2020 4:43 pm

ESP_ERR_ESPNOW_NO_MEM

Postby Rubbernose » Sat Oct 03, 2020 5:31 pm

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?

Rubbernose
Posts: 5
Joined: Sat Oct 03, 2020 4:43 pm

Re: ESP_ERR_ESPNOW_NO_MEM

Postby Rubbernose » Sun Oct 04, 2020 12:26 pm

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?

neel_basu
Posts: 6
Joined: Sat Jan 18, 2020 7:41 pm

Re: ESP_ERR_ESPNOW_NO_MEM

Postby neel_basu » Thu Feb 25, 2021 10:32 am

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 ?

moefear85
Posts: 44
Joined: Sun Sep 05, 2021 4:55 pm

Re: ESP_ERR_ESPNOW_NO_MEM

Postby moefear85 » Thu Oct 21, 2021 5:32 pm

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: Google [Bot] and 126 guests