cellular port
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.
Diff: main.cpp
- Revision:
- 15:11be37889a49
- Parent:
- 14:52e73f878ca0
--- a/main.cpp Thu Jul 03 17:25:58 2014 +0000 +++ b/main.cpp Tue Aug 12 16:08:35 2014 +0000 @@ -39,7 +39,7 @@ /* Change this IP address to that of your NanoService Platform installation */ static const char* NSP_ADDRESS = "nanoservice-demo.mbed.org"; /* demo NSP, web interface at http://nanoservice-demo.mbed.org */ static const int NSP_PORT = 5683; -char endpoint_name[16] = "mbed-cellular"; +char endpoint_name[16] = "mbed-cellular1"; uint8_t ep_type[] = {"mbed_device"}; uint8_t lifetime_ptr[] = {"1200"};