CAC_smartcushion / Mbed OS AdiSense1000_V21_Smartcushion

Fork of Sean_AdiSense1000_V21 by Rohan Gurav

Revision:
36:4aded4b4f060
Parent:
35:853be4d80ff3
--- a/src/myproswift_eval.cpp	Thu Sep 27 12:14:22 2018 +0000
+++ b/src/myproswift_eval.cpp	Thu Oct 25 08:59:30 2018 +0000
@@ -1,7 +1,5 @@
 
 #include "myproswift_eval.h"
-
-
 #include "mbed.h"
 #include "pc_interface.h"
 #include "ble_interface.h"
@@ -24,6 +22,7 @@
   	volatile bool bPcMessageFlag = 0;
   	ret = Pc_SetupReadLineCb( msgBuffer, MSG_BUFFER_MAX_SIZE, &bPcMessageFlag );
 	if( ret != 0 ) {
+//		ADI_SENSE_LOG_INFO("PC Message Read Unsuccesful!");
 		return ret;
 	}
   	
@@ -33,7 +32,7 @@
 	  //read first byte
 	  ret = Bl652_SetupReadCb( bleBuffer, 1, &bBleMessageReceived );
 	  if( ret != 0 ) {
-	  	ADI_SENSE_LOG_INFO("Ble Message Read Unsuccesful!");
+//	  	ADI_SENSE_LOG_INFO("Ble Message Read Unsuccesful!");
 		  return ret;
 	  }
 	}
@@ -59,9 +58,9 @@
   	//handle message based on which interface it was received from
 	if( bBleMessageReceived ) {
 		//parse and handle command
-		ADI_SENSE_LOG_INFO("BLE Message Received!");
+//		ADI_SENSE_LOG_INFO("BLE Message Received!");
 		ret = Ble_ParseCommand( bleBuffer );
-		ADI_SENSE_LOG_INFO("BLE Command Parsed!");
+//		ADI_SENSE_LOG_INFO("BLE Command Parsed!");
 		if(ret != 0) {
 			//all ble side error handled within function as responses
 			return ret;
@@ -70,9 +69,9 @@
 	
 	else if(bPcMessageFlag) {
             //parse and handle command
-        ADI_SENSE_LOG_INFO("PC Message Received!");
+//        ADI_SENSE_LOG_INFO("PC Message Received!");
 		ret = Pc_ParseCommand( msgBuffer );
-		ADI_SENSE_LOG_INFO("PC Command Parsed!");
+//		ADI_SENSE_LOG_INFO("PC Command Parsed!");
 		if( ret != 0 ) {
 			//all pc side error handled within function as responses
 			return ret;