Rev 1.0 4/26/2016 Paul Jaeger - Multitech, Brian Huey - Sprint Changed post interval to 2000ms added temp, analoguv and pressure to http post added alias: TEMP ANALOG-UV PRESSURE concatenated http post, to post all within the same routine and check for error after the post confirmed that data is published to Exosite
Dependencies: MbedJSONValue mbed mtsas
Fork of UUU_MultiTech_Dragonfly_Sprint by
Diff: main.cpp
- Revision:
- 13:cc2f24b260ab
- Parent:
- 12:9942995476ef
diff -r 9942995476ef -r cc2f24b260ab main.cpp --- a/main.cpp Tue Apr 26 16:21:12 2016 +0000 +++ b/main.cpp Tue Apr 26 18:02:26 2016 +0000 @@ -65,7 +65,7 @@ #include <string> #include <sstream> -#define EXOSITE_CIK "41de7cf671184e2838c8f185e8aa60ed1c07639e" +#define EXOSITE_CIK "insert here" char EXOSITE_HEADER[] = "X-Exosite-CIK: " EXOSITE_CIK "\r\nAccept: application/x-www-form-urlencoded; charset=utf-8\r\n"; const char EXOSITE_URL[] = "https://m2.exosite.com:443/onep:v1/stack/alias";