use TCP to connect to mbed connector
Fork of mbedConnectorInterfaceWithDM by
Diff: mbed-connector-interface/ConnectorEndpoint.h
- Revision:
- 77:cee832ba6dd0
- Parent:
- 76:7f55e1c0635d
- Child:
- 81:a2441163a06e
--- a/mbed-connector-interface/ConnectorEndpoint.h Fri Nov 04 22:28:13 2016 +0000 +++ b/mbed-connector-interface/ConnectorEndpoint.h Fri Nov 04 22:32:30 2016 +0000 @@ -96,23 +96,7 @@ // de-register endpoint and stop scheduling void de_register_endpoint(void); - -#ifdef ENABLE_MBED_CLOUD_SUPPORT - // mbed-cloud-client : register the endpoint - void register_endpoint(M2MObjectList resources); - // mbed-cloud-client : object registered - virtual void object_registered(); - - // mbed-cloud-client : registration updated - virtual void registration_updated() ; - - // mbed-cloud-client : object unregistered - virtual void object_unregistered(); - - // mbed-cloud-client : bootstrap done - virtual void bootstrap_done(); -#else // mbed-client : register the endpoint void register_endpoint(M2MSecurity *server_instance, M2MObjectList resources); @@ -127,7 +111,6 @@ // mbed-client : bootstrap done virtual void bootstrap_done(M2MSecurity *server_instance); -#endif // mbed-client : resource value updated virtual void value_updated(M2MBase *resource, M2MBase::BaseType type) ;