use TCP to connect to mbed connector
Fork of mbedConnectorInterfaceWithDM by
Diff: mbed-connector-interface/ConnectionStatusInterface.h
- Revision:
- 33:1d0b855df5a5
- Parent:
- 27:b8aaf7dc7023
- Child:
- 46:62da4ce20276
--- a/mbed-connector-interface/ConnectionStatusInterface.h Tue Jun 14 19:04:08 2016 +0000 +++ b/mbed-connector-interface/ConnectionStatusInterface.h Tue Jun 14 19:29:30 2016 +0000 @@ -20,11 +20,20 @@ * limitations under the License. */ - #ifndef __CONNECTION_STATUS_INTERFACE_H__ - #define __CONNECTION_STATUS_INTERFACE_H__ - - // mbed API - #include "mbed.h" +#ifndef __CONNECTION_STATUS_INTERFACE_H__ +#define __CONNECTION_STATUS_INTERFACE_H__ + +// mbedConnectorInterface configuration +#include "mbed-connector-interface/mbedConnectorInterface.h" + +// mbed support +#if defined(MCI_USE_YOTTA) + // mbed support + #include "mbed-drivers/mbed.h" +#else + // mbed support + #include "mbed.h" +#endif // Connector namespace namespace Connector {