![](/media/cache/group/u-blox_logo_trans.png.50x50_q85.png)
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: resources/relay.cpp
- Revision:
- 10:443e7f741c8e
- Parent:
- 8:bd9096c4784c
--- a/resources/relay.cpp Fri Jun 06 15:16:37 2014 +0000 +++ b/resources/relay.cpp Tue Jun 17 07:05:29 2014 +0000 @@ -7,7 +7,6 @@ #define RELAY_RES_ID "beep/0/on" -extern Serial pc; static Beep buzzer(D6); /* Only GET and PUT method allowed */ @@ -16,7 +15,7 @@ sn_coap_hdr_s *coap_res_ptr = 0; static uint8_t relay_state = '0'; - pc.printf("relay callback\r\n"); + printf("relay callback\r\n"); if(received_coap_ptr->msg_code == COAP_MSG_CODE_REQUEST_GET) {