Remote Writing IoT Data to Influx-DB over HTTP-API.

Dependencies:   FXOS8700CQ mbed

Fork of AvnetATT_shape_hackathon by Demo Software for Avnet+AT&T IoT kit.

Files at this revision

API Documentation at this revision

Comitter:
stefanrousseau
Date:
Sat Jul 23 01:10:53 2016 +0000
Parent:
33:eaf45dab650a
Child:
35:4a5d307b9692
Commit message:
Fixed the char to be * char myJsonResponse[512];;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Jul 21 15:26:42 2016 +0000
+++ b/main.cpp	Sat Jul 23 01:10:53 2016 +0000
@@ -505,7 +505,7 @@
             }
             
             printf(BLU "Read back : %s" DEF "\n", &MySocketData[0]);
-            char * myJsonResponse;
+            char myJsonResponse[512];
             if (extract_JSON(&MySocketData[0], &myJsonResponse[0]))
             {
                 printf(GRN "JSON : %s" DEF "\n", &myJsonResponse[0]);