use TCP to connect to mbed connector
Fork of mbedConnectorInterfaceWithDM by
Diff: mbed-connector-interface/ConnectorEndpoint.h
- Revision:
- 73:f12a767bc300
- Parent:
- 71:5069a202e892
- Child:
- 76:7f55e1c0635d
--- a/mbed-connector-interface/ConnectorEndpoint.h Fri Nov 04 16:32:41 2016 +0000 +++ b/mbed-connector-interface/ConnectorEndpoint.h Fri Nov 04 16:54:32 2016 +0000 @@ -124,11 +124,16 @@ // get our Options Options *getOptions(); +#ifdef ENABLE_MBED_CLOUD_SUPPORT + // get our Endpoint Interface + MbedCloudClient *getEndpointInterface(); +#else // get our Endpoint Interface M2MInterface *getEndpointInterface(); // get our Endpoint Security M2MSecurity *getEndpointSecurity(); +#endif // get our Endpoint Object List M2MObjectList getEndpointObjectList();