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:
- 8:bd9096c4784c
- Parent:
- 2:7e489126fe7a
- Child:
- 10:443e7f741c8e
--- a/resources/relay.cpp Tue Oct 22 10:50:05 2013 +0000 +++ b/resources/relay.cpp Tue May 20 15:24:18 2014 +0000 @@ -8,7 +8,7 @@ #define RELAY_RES_ID "beep/0/on" extern Serial pc; -static Beep buzzer(p26); +static Beep buzzer(D6); /* Only GET and PUT method allowed */ static uint8_t relay_resource_cb(sn_coap_hdr_s *received_coap_ptr, sn_nsdl_addr_s *address, sn_proto_info_s * proto)