FRDM-K64F, Avnet M14A2A, Grove Shield, to create smart home system. In use with AT&Ts M2x & Flow.

Dependencies:   mbed FXOS8700CQ MODSERIAL

Files at this revision

API Documentation at this revision

Comitter:
stefanrousseau
Date:
Sat Jul 23 01:13:10 2016 +0000
Parent:
34:1a4498e3580e
Child:
37:44265008bab9
Commit message:
Fixed; // char * myJsonResponse;; char myJsonResponse[512];;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Jul 22 18:01:07 2016 +0000
+++ b/main.cpp	Sat Jul 23 01:13:10 2016 +0000
@@ -517,7 +517,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]);