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:
33:1d0b855df5a5
Parent:
32:331361178413
Child:
34:a10d65907549
--- a/mbed-connector-interface/TickerResourceObserver.h	Tue Jun 14 19:04:08 2016 +0000
+++ b/mbed-connector-interface/TickerResourceObserver.h	Tue Jun 14 19:29:30 2016 +0000
@@ -23,8 +23,8 @@
 #ifndef __TICKER_RESOURCE_OBSERVER_H__
 #define __TICKER_RESOURCE_OBSERVER_H__
 
-// switch for proper resource observer selection (from mbedEndpointNetwork)
-#include "mbed-connector-interface/configuration.h"
+// mbedConnectorInterface configuration
+#include "mbed-connector-interface/mbedConnectorInterface.h"
 
 // mbed support
 #if defined(MCI_USE_YOTTA)
@@ -33,11 +33,13 @@
 #else
     // mbed support
     #include "mbed.h"
+    
+    // Thread support
+    #ifdef CONNECTOR_USING_THREADS
+        #include "rtos.h"
+    #endif
 #endif
 
-// mbedConnectorInterface configuration
-#include "mbed-connector-interface/mbedConnectorInterface.h"
-
 // Base class support
 #include "mbed-connector-interface/ResourceObserver.h"