use TCP to connect to mbed connector
Fork of mbedConnectorInterfaceWithDM by
Diff: mbed-connector-interface/ConnectorEndpoint.h
- Revision:
- 43:3fb57c4fba34
- Parent:
- 33:1d0b855df5a5
- Child:
- 44:7c73baf9f4c1
diff -r d30ad7dec269 -r 3fb57c4fba34 mbed-connector-interface/ConnectorEndpoint.h --- a/mbed-connector-interface/ConnectorEndpoint.h Wed Jun 15 04:24:48 2016 +0000 +++ b/mbed-connector-interface/ConnectorEndpoint.h Wed Jun 15 19:31:55 2016 +0000 @@ -85,6 +85,12 @@ */ static void start(); + /** + Set the ConnectionStatusInterface instance + @param csi input instance pointer to the ConnectionStatusInterface implementation to be used + */ + static void setConnectionStatusInterface(ConnectionStatusInterface *csi); + // register the endpoint void register_endpoint(M2MSecurity *server_instance, M2MObjectList resources); @@ -149,7 +155,7 @@ Set the ConnectionStatusInterface instance @param csi input instance pointer to the ConnectionStatusInterface implementation to be used */ - static void setConnectionStatusInterfaceImpl(ConnectionStatusInterface *csi); + void setConnectionStatusInterfaceImpl(ConnectionStatusInterface *csi); // Set ObjectInstanceManager void setObjectInstanceManager(ObjectInstanceManager *oim);