Arduino-SIM800L-driver icon indicating copy to clipboard operation
Arduino-SIM800L-driver copied to clipboard

Dynamic Allocation of data to the payload(in this case, a json string)

Open Kobemash opened this issue 2 years ago • 0 comments

I am reading sensor data and it is being periodically posted to a server after 15 minutes. The challenge I am encountering is how to dynamically initialise a JSON object to the PAYLOAD considering the PAYLOAD has to be initialised during setup and it is declared as a const char array.

Kobemash avatar May 17 '22 16:05 Kobemash