use TCP to connect to mbed connector
Fork of mbedConnectorInterfaceWithDM by
Diff: mbed-connector-interface/TickerResourceObserver.h
- Revision:
- 31:2507e64fcc42
- Parent:
- 0:1f1f55e73248
- Child:
- 32:331361178413
diff -r db367366b1f5 -r 2507e64fcc42 mbed-connector-interface/TickerResourceObserver.h --- 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: