u-blox / Mbed 2 deprecated NSDL_Cellular_HelloWorld

Dependencies:   Beep C027_Support C12832 LM75B MMA7660 mbed-rtos mbed nsdl_lib

This is a port of the NSDL HelloWorld for cellular.

To run the example you need a C027 and the ARM mbed application shield. The example uses cellular instead of ethernet and takes the true position from the GPS instead of using a fixed position.

Revision:
7:6b068978be9a
Parent:
3:52c1b649eb04
Child:
8:bd9096c4784c
diff -r 442775856f5f -r 6b068978be9a nsdl_support.cpp
--- 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;