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:
31:2507e64fcc42
Parent:
0:1f1f55e73248
Child:
32:331361178413
--- a/mbed-connector-interface/TickerResourceObserver.h	Tue Jun 14 18:40:15 2016 +0000
+++ b/mbed-connector-interface/TickerResourceObserver.h	Tue Jun 14 19:03:20 2016 +0000
@@ -23,17 +23,23 @@
 #ifndef __TICKER_RESOURCE_OBSERVER_H__
 #define __TICKER_RESOURCE_OBSERVER_H__
 
-// mbed support
-#include "mbed.h"
+// switch for proper resource observer selection (from mbedEndpointNetwork)
+#include "mbed-connector-interface/configuration.h"
 
-// switch for proper resource observer selection (from mbedEndpointNetwork)
-#include "configuration.h"
+// mbed support
+#if defined(MCI_USE_YOTTA)
+    // mbed support
+    #include "mbed-drivers/mbed.h"
+#else
+    // mbed support
+    #include "mbed.h"
+#endif
 
 // mbedConnectorInterface configuration
-#include "mbedConnectorInterface.h"
+#include "mbed-connector/interface/mbedConnectorInterface.h"
 
 // Base class support
-#include "ResourceObserver.h"
+#include "mbed-connector-interface/ResourceObserver.h"
 
 class TickerResourceObserver : public ResourceObserver {
     public: