Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

Revision:
89:55ac65d7f206
Parent:
88:8a1a2bba8850
Child:
92:9a6a1adca19c
--- a/src/CommandParser/cmd.cpp	Tue Sep 20 16:28:24 2016 +0000
+++ b/src/CommandParser/cmd.cpp	Tue Sep 20 17:39:56 2016 +0000
@@ -380,18 +380,17 @@
     char data_buf[1024];
     snprintf(data_buf, sizeof(data_buf),
              "{ "
-             "\"id\":       \"%s\", "
-             "\"name\":     \"TRASAR\", "
-             "\"priority\": \"800\", "
-             "\"input\":    \"%s\", "
-             "\"output\":   \"%s\", "
-             "\"prodfact\": \"100\", "
-             "\"setpoint\": \"100\", "
-             "\"halert\":   \"115\", "
-             "\"lalert\":   \"85\", "
-             "\"hfs\":      \"130\", "
-             "\"lfs\":      \"70\", "
-             "\"tol\":      \"5\" } ", argv[2], argv[3], argv[4]
+             "\"id\":           \"%s\", "
+             "\"priority\":     \"800\", "
+             "\"input\":        \"%s\", "
+             "\"output\":       \"%s\", "
+             "\"setpoint\":     \"100\", "
+             "\"prodfact\":     \"100\", "
+             "\"actingDir\":    \"1\", "
+             "\"halert\":       \"115\", "
+             "\"lalert\":       \"85\", "
+             "\"hfs\":          \"130\", "
+             "\"lfs\":          \"70\", ", argv[2], argv[3], argv[4]
             );
 
     bool status = GLOBAL_mdot->saveUserFile(argv[1], (void *)data_buf, 1024);