Doug Anson / mbedConnectorInterfaceWithDM

Fork of mbedConnectorInterfaceV3 by Doug Anson

Revision:
14:d9ce4e56684e
Parent:
13:9edad7677211
Child:
15:c11dbe4d354c
--- a/mbed-connector-interface/DeviceStringResource.h	Wed Jun 08 22:32:08 2016 +0000
+++ b/mbed-connector-interface/DeviceStringResource.h	Thu Jun 09 19:05:18 2016 +0000
@@ -63,6 +63,9 @@
     */
     virtual void put(string value) {
         this->m_value = value;
+        if (this->isObservable() == true) {
+            this->observe();
+        }
     }
 
 protected: