use TCP to connect to mbed connector
Fork of mbedConnectorInterfaceWithDM by
Diff: mbed-connector-interface/ConnectorEndpoint.h
- Revision:
- 15:c11dbe4d354c
- Parent:
- 13:9edad7677211
- Child:
- 27:b8aaf7dc7023
--- a/mbed-connector-interface/ConnectorEndpoint.h Thu Jun 09 19:05:18 2016 +0000 +++ b/mbed-connector-interface/ConnectorEndpoint.h Fri Jun 10 17:09:56 2016 +0000 @@ -134,25 +134,29 @@ // underlying network is connected (GET) bool isConnected(); + + // Registered with mDC/mDS + bool isRegistered(); private: Logger *m_logger; Options *m_options; bool m_canActAsRouterNode; bool m_connected; + bool m_registered; // mbed-client support - M2MInterface *m_interface; - M2MSecurity *m_server_instance; - M2MObjectList m_object_list; - M2MDevice *m_device_object; + M2MInterface *m_interface; + M2MSecurity *m_server_instance; + M2MObjectList m_object_list; + M2MDevice *m_device_object; // mbed-client methods void create_interface(); M2MSecurity *create_server_instance(); // Device Manager - void *m_device_manager; + void *m_device_manager; // DynamicResource Lookup DynamicResource *lookupDynamicResource(M2MBase *base);