use TCP to connect to mbed connector
Fork of mbedConnectorInterfaceWithDM by
Diff: mbed-connector-interface/DynamicResource.h
- Revision:
- 28:cf32aa9842ce
- Parent:
- 27:b8aaf7dc7023
- Child:
- 54:dfee8691c83a
--- a/mbed-connector-interface/DynamicResource.h Tue Jun 14 04:01:34 2016 +0000 +++ b/mbed-connector-interface/DynamicResource.h Tue Jun 14 04:22:23 2016 +0000 @@ -199,6 +199,7 @@ M2MResource *m_res; void *m_ep; +public: // convenience method to create a string from the NSDL CoAP data buffers... string coapDataToString(uint8_t *coap_data_ptr,int coap_data_ptr_length); int coapDataToInteger(uint8_t *coap_data_ptr,int coap_data_ptr_length);