Search found 3 matches

by Dr pepper
Thu Oct 17, 2019 5:53 pm
Forum: ESP32 Arduino
Topic: Error sending array > around 255 bytes
Replies: 4
Views: 323

Re: Error sending array > around 255 bytes

Continuing from my last post. I've been reading up on arduino json 5, and came up with this code that builds a json response in a buffer. It prints to the serial port, and what I get is what I expect. #include <ArduinoJson.h> DynamicJsonBuffer jbuffer; JsonObject& jsonResponse = jbuffer.createObject...
by Dr pepper
Wed Oct 16, 2019 4:34 pm
Forum: ESP32 Arduino
Topic: Error sending array > around 255 bytes
Replies: 4
Views: 323

Re: Error sending array > around 255 bytes

I was using string, and the code was a kludge. I modded the code and did this, but the esp still crashes. Just before I try to send the json i print it to the serial port, and it looks Ok, I added a '0' to the end of the json. static esp_err_t graph_data_handler (httpd_req_t *req) { char htmlRespons...
by Dr pepper
Tue Oct 15, 2019 9:22 am
Forum: ESP32 Arduino
Topic: Error sending array > around 255 bytes
Replies: 4
Views: 323

Error sending array > around 255 bytes

I modded the Espwho code so that it has an extra page that draws a google chart, the data for the chart is on a another page in the form of a json. The chart auto updates with jquery every minute, the data table gets another value every minute too. When the table gets around 255 bytes long the send ...

Go to advanced search