Remote Writing IoT Data to Influx-DB over HTTP-API.
Fork of AvnetATT_shape_hackathon by
Revision 34:029e07b67a41, committed 2016-07-23
- 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]);