Demo starter application to connect WiGo to NSP and expose on-board sensors

Dependencies:   NVIC_set_all_priorities cc3000_hostdriver_mbedsocket mbed nsdl_lib TEMT6200 TSI Wi-Go_eCompass_Lib_V3 WiGo_BattCharger

This is the mbed project for the IoT World Hackathon event, June 17th and 18th in Palo Also.

The setup instructions for participants are at the Setup page of this wiki:

http://mbed.org/teams/MBED_DEMOS/code/IoT_World_Hackathon_WiGo_NSP_Demo/wiki/Setup-Guide-for-the-IoT-World-Hackathon

Revision:
18:11b9d98ecae2
Parent:
17:b4cdafc4241d
--- a/nsdl_run.cpp	Wed Jun 18 16:20:06 2014 +0000
+++ b/nsdl_run.cpp	Wed Jul 09 04:35:49 2014 +0000
@@ -28,9 +28,12 @@
 // NSP configuration
 /* Change this IP address to that of your NanoService Platform installation */
 static const char* NSP_ADDRESS = "192.168.1.220"; /* Arndale board running NSP on local network for Hackathon */ 
+//static const char* NSP_ADDRESS = "198.41.30.241"; /* Eclipse LWM2M sandbox */ 
 //static const char* NSP_ADDRESS = "217.140.101.20"; /* public mbed demo server */ 
 static const int NSP_PORT = 5683;
+//static const int NSP_PORT = 5684; /* lwm2m sandbox port */
 char endpoint_name[24] = "mbed-";
+//char endpoint_name[24] = "urn:mac:";
 uint8_t ep_type[] = {"mbed_device"};
 uint8_t lifetime_ptr[] = {"120000"}; //30+ hours