Doug Anson / mbedConnectorInterface

Dependents:   IoT_LED_demo ServoTest uWater_Project hackathon ... more

Files at this revision

API Documentation at this revision

Comitter:
ansond
Date:
Fri Apr 10 06:09:34 2015 +0000
Parent:
36:1c6c45584c13
Child:
38:96d15287b6f9
Commit message:
removed logging in notify as it was messing up ISR based endpoints

Changed in this revision

api/DynamicResource.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/api/DynamicResource.cpp	Thu Apr 09 03:32:11 2015 +0000
+++ b/api/DynamicResource.cpp	Fri Apr 10 06:09:34 2015 +0000
@@ -299,7 +299,7 @@
         this->getDataWrapper()->wrap((uint8_t *)data,data_length);
         
         // announce (after wrap)
-        this->logger()->log("Notify payload [%s]...",this->getDataWrapper()->get());
+        //this->logger()->log("Notify payload [%s]...",this->getDataWrapper()->get());
         
         // fill notify 
         notify_data_length = this->getDataWrapper()->length();
@@ -307,7 +307,7 @@
     }
     else {
         // announce (no wrap)
-        this->logger()->log("Notify payload [%s]...",data);
+        //this->logger()->log("Notify payload [%s]...",data);
         
         // do not wrap the data...
         notify_data_length = data_length;