Skip to main content
Share Your Experience: Take the 2024 Developer Survey
3 votes
Accepted

Problem with char* variable malloc/free. Empty contents on recipient variable after using free

What you have is called a "Dangling Pointer". You are trying to use a pointer that is pointing to memory that has been freed and doesn't contain what you think it does anymore. This line of ...
Delta_G's user avatar
  • 3,314
3 votes
Accepted

deserializeJson() failed: NoMemory when sending Serial json using ArduinoJson

I'm pretty sure you're using ArduinoJson 7 because ArduinoJson 6 would not return NoMemory in such conditions. On 8-bit microcontrollers (such as the Arduino Nano), I recommend using version 6 because ...
Benoit Blanchon's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible