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: source/mbedEndpointNetwork.cpp
- Revision:
- 78:7fdf3322de58
- Parent:
- 64:f6e3ecaa8c3a
- Child:
- 81:a2441163a06e
--- a/source/mbedEndpointNetwork.cpp Fri Nov 04 22:32:30 2016 +0000 +++ b/source/mbedEndpointNetwork.cpp Fri Nov 04 22:35:14 2016 +0000 @@ -227,7 +227,11 @@ // register the endpoint logger.log("mbedEndpointNetwork(%s): registering endpoint...",NETWORK_TYPE); +#ifdef ENABLE_MBED_CLOUD_SUPPORT + ep->register_endpoint(NULL,ep->getEndpointObjectList()); +#else ep->register_endpoint(ep->getEndpointSecurity(),ep->getEndpointObjectList()); +#endif // Begin the endpoint's main loop begin_main_loop();