NanoService Example for u-blox Cellular modems
Dependencies: Beep LM75B MMA7660 mbed nsdl_lib
Fork of NSDL_HelloWorld by
Revision 10:4cb556c7845e, committed 2013-10-30
- Comitter:
- zdshelby
- Date:
- Wed Oct 30 00:46:59 2013 +0000
- Parent:
- 9:ccb9e53d5471
- Child:
- 11:3b7ae478dcd1
- Commit message:
- - Removed last of pc. debug
Changed in this revision
--- a/nsdl_support.cpp Wed Oct 30 00:32:48 2013 +0000 +++ b/nsdl_support.cpp Wed Oct 30 00:46:59 2013 +0000 @@ -11,7 +11,6 @@ #include "Endpoint.h" #include "UDPSocket.h" -extern Serial pc; extern UbloxUSBGSMModem modem; extern Endpoint nsp; extern UDPSocket server;
--- a/resources/gps.cpp Wed Oct 30 00:32:48 2013 +0000 +++ b/resources/gps.cpp Wed Oct 30 00:46:59 2013 +0000 @@ -6,7 +6,6 @@ #define GPS_RES_ID "gps/loc" -extern Serial pc; static uint8_t res_gps_val[] = {"52.182382,0.178849"}; /* Only GET method allowed */
--- a/resources/light.cpp Wed Oct 30 00:32:48 2013 +0000 +++ b/resources/light.cpp Wed Oct 30 00:46:59 2013 +0000 @@ -6,7 +6,6 @@ #define LIGHT_RES_ID "lt/0/dim" -extern Serial pc; //PwmOut led1(LED1); static PwmOut led2(LED2); static PwmOut led3(LED3);
--- a/resources/relay.cpp Wed Oct 30 00:32:48 2013 +0000 +++ b/resources/relay.cpp Wed Oct 30 00:46:59 2013 +0000 @@ -7,7 +7,6 @@ #define RELAY_RES_ID "beep/0/on" -extern Serial pc; static Beep buzzer(p26); /* Only GET and PUT method allowed */
--- a/resources/temperature.cpp Wed Oct 30 00:32:48 2013 +0000 +++ b/resources/temperature.cpp Wed Oct 30 00:46:59 2013 +0000 @@ -14,7 +14,6 @@ static uint8_t *obs_token_ptr = NULL; static uint8_t obs_token_len = 0; static char temp_val[5]; -extern Serial pc; /* Thread for calling libNsdl exec function (cleanup, resendings etc..) */ /* Node updates temperature every 10 seconds. Notification sending is done here. */