NanoService Example for u-blox Cellular modems

Dependencies:   Beep LM75B MMA7660 mbed nsdl_lib

Fork of NSDL_HelloWorld by Sensinode

Revision:
7:6b068978be9a
Parent:
3:52c1b649eb04
Child:
8:8452c1eaa690
--- 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;