mbed Connector Interface simplification API on top of mbed-client
Fork of mbedConnectorInterfaceV3 by
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!
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();