Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

Revision:
116:7337ed514891
Parent:
107:e900bd138bf3
Child:
123:ce602c91a9c3
--- a/src/ModbusMaster/ModbusMaster.cpp	Thu Sep 22 16:10:01 2016 +0000
+++ b/src/ModbusMaster/ModbusMaster.cpp	Thu Sep 22 21:09:49 2016 +0000
@@ -6,13 +6,11 @@
  *****************************************************************************/
 #include "global.h"
 #include <stdio.h>
-#include <sstream>
-#include <iostream>
 #include "MTSLog.h"
 #include "BLEDataHandler.h"
 #include "ModbusMaster.h"
 #include "MbedJSONValue.h"
-#include "CloudFileSender.h"
+#include "LoggerApi.h"
 
 DigitalOut dout1(PC_1);
 DigitalOut dout2(PA_1);
@@ -120,11 +118,6 @@
                         if( status == true ) {
                             ModbusRegisterMap[iter->first].float_value = float_value;
                             logInfo("Modbus Tag:%s value=%2.2f", iter->first.c_str(), float_value );
-//                            std::ostringstream log_event; 
-//                            log_event << "tag:"<< iter->first.c_str() << " value:" << float_value;
-//                            printf("%s:%d event=%s\r\n",__func__, __LINE__, log_event.str().c_str());
-//                            std::string queue_event( log_event.str().c_str() );
-//                            CloudFileQueueEvent( queue_event );
                             EventReasonStruct_t eventReason;
                             eventReason.eventReason = EVENT_REASON_AUTO;
                             eventReason.inputValue = float_value;