Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

Revision:
235:ce028fbf054d
Parent:
225:11e39a2f3785
Child:
247:a70c6c4923ff
--- a/src/AnalyticsLogger/AnalyticsLogger.cpp	Wed Oct 19 20:55:19 2016 +0000
+++ b/src/AnalyticsLogger/AnalyticsLogger.cpp	Wed Oct 19 22:28:28 2016 +0000
@@ -47,7 +47,7 @@
                 if( log_event.str().size() >= 150 ) {
                     std::string str = log_event.str();
                     str.erase( str.size() - 1 );
-                    str.append("]");
+                    str.append("],\"seq\":\"1\"");
 //                    printf("%s:%d: Logging %s : len=%d\r\n", __func__, __LINE__, str.c_str(), str.length() );
                     LiveDataLoggerApi( str.c_str() );
                     log_event.str("");
@@ -59,7 +59,7 @@
             if( log_sent == false ) {
                 std::string str = log_event.str();
                 str.erase( str.size() - 1 );
-                str.append("]");
+                str.append("],\"seq\":\"0\"");
                 if( str.length() > 10 ) {
 //                    printf("%s:%d: Logging %s : len=%d\r\n", __func__, __LINE__, str.c_str(), str.length() );
                     LiveDataLoggerApi( str.c_str() );