mbed Connector Interface simplification API on top of mbed-client

Fork of mbedConnectorInterfaceV3 by Doug Anson

NOTE:

This repo has been replaced with https://github.com/ARMmbed/mbedConnectorInterface. No further updates will occur with this repo. Please use the github repo instead. Thanks!

Revision:
54:dfee8691c83a
Parent:
34:a10d65907549
Child:
122:4072e03884e4
--- a/mbed-connector-interface/TickerResourceObserver.h	Mon Aug 08 19:02:00 2016 +0000
+++ b/mbed-connector-interface/TickerResourceObserver.h	Tue Aug 09 17:18:49 2016 +0000
@@ -48,7 +48,7 @@
         @param timer_id input the id for our timer (can be index value of each resource that is observed...)
         @param sleep_time input the time for the observation tasklet to sleep (in whole seconds...)
         */
-        TickerResourceObserver(DynamicResource *resource,int sleep_time = OBS_PERIOD_MS);
+        TickerResourceObserver(DynamicResource *resource,int sleep_time = DEFAULT_OBS_PERIOD);
         
         /**
         Copy Constructor
@@ -74,6 +74,11 @@
         tasklet invoke function (static)
         */
         void observationNotifier(void);
+        
+        /**
+        halt the underlying observer mechanism
+        */
+        virtual void halt();
     
     private:
         Ticker m_ticker;