Esp32 camera board and webserver sending large json files.

Status
Not open for further replies.

dr pepper

Advanced Member level 1
Joined
Mar 15, 2010
Messages
428
Helped
35
Reputation
70
Reaction score
41
Trophy points
1,308
Location
lancs
Activity points
4,171
A while ago I built a weather station using a esp8266, its still working.
I ported the program to an esp32 cam verion and it worked, then I tried to add a window to the webpage with a live video feed in it, however couldnt get it to work there was a problem with the server library, the weather station used esp32Server, and the camera uses espresiffs own server library, so there was obviously a clash going on.
So I re-wrote the program to use espressifs server lib, but then found that the json data file for the charts page was too big, 32k or so, the program crashes, I beleive theres a command to set some kind of buffer, or theres a way to send chunked data.
Has anyone any ideas on large json files with the esp32?
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…