Hello everyone,
I’m currently trying to send data from a spark to a pi running emoncms via HTTP. From what I’ve gathered this means the spark core has to be a HTTP server, not client. I’ve found two libraries that would do the job:
And also:
I’ve clicked “Use Example” on the web IDE for both and get a similar error:
For the first link:
In file included from ../inc/spark_wiring.h:29:0,
from ../inc/application.h:29,
from http_parser.cpp:24:
../../core-common-lib/SPARK_Firmware_Driver/inc/config.h:12:2: warning: #warning "Defaulting to Release Build" [-Wcpp]
#warning "Defaulting to Release Build"
^
http_parser.cpp:24:25: fatal error: http_parser.h: No such file or directory
#include "application.h"
^
compilation terminated.
make: *** [http_parser.o] Error 1
For the later link:
In file included from ../inc/spark_wiring.h:29:0,
from ../inc/application.h:29,
from web_ajaxbuzzer.cpp:2:
../../core-common-lib/SPARK_Firmware_Driver/inc/config.h:12:2: warning: #warning "Defaulting to Release Build" [-Wcpp]
#warning "Defaulting to Release Build"
^
web_ajaxbuzzer.cpp:3:23: fatal error: WebServer.h: No such file or directory
void setup();
^
compilation terminated.
make: *** [web_ajaxbuzzer.o] Error 1