Commit 3ec7cefb authored by Eric Duminil's avatar Eric Duminil
Browse files

Too much for ESP8266

parent dc72399d
......@@ -192,11 +192,11 @@ namespace web_server {
uint8_t mm = ss / 60;
ss -= mm * 60;
//NOTE: Splitting in multiple parts in order to use less RAM
char content[2200]; // Update if needed
//NOTE: Splitting in multiple parts in order to use less RAM. Higher than 2000 apparently crashes the ESP8266
char content[2000];
// Current size (with Lorawan):
// INFO - Header size : 1825 - Body size : 2005 - Script size : 1947
//FIXME: Body too long with Lorawan!
//FIXME: Body too long with Lorawan! Split in 4 parts?
snprintf_P(content, sizeof(content), header_template, sensor::co2, config::ampel_name(), wifi::local_ip,
csv_writer::filename);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment