adding resources firmware and 1/0/8
Dependencies: Beep C12832_lcd EthernetInterface EthernetNetIf HTTPClient LM75B MMA7660 mbed-rtos mbed nsdl_lib
Fork of LWM2M_NanoService_Ethernet by
Diff: nsdl_support.cpp
- Revision:
- 7:6b068978be9a
- Parent:
- 3:52c1b649eb04
- Child:
- 21:978281bfb26e
--- a/nsdl_support.cpp Mon Oct 21 21:30:05 2013 +0000 +++ b/nsdl_support.cpp Tue Oct 22 10:50:05 2013 +0000 @@ -69,7 +69,7 @@ { memset(endpoint_structure, 0, sizeof(sn_nsdl_ep_parameters_s)); endpoint_structure->endpoint_name_ptr = name; - endpoint_structure->endpoint_name_len = 15; + endpoint_structure->endpoint_name_len = strlen((char*)name); endpoint_structure->type_ptr = typename_ptr; endpoint_structure->type_len = strlen((char*)typename_ptr); endpoint_structure->lifetime_ptr = lifetime_ptr;