Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed
Fork of ICE by
Diff: src/AnalyticsLogger/AnalyticsLogger.cpp
- 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() );