adding resources firmware and 1/0/8
Dependencies: Beep C12832_lcd EthernetInterface EthernetNetIf HTTPClient LM75B MMA7660 mbed-rtos mbed nsdl_lib
Fork of LWM2M_NanoService_Ethernet by
Diff: resources/temperature.cpp
- Revision:
- 20:84ee332ba360
- Parent:
- 8:f0ecb62bda47
diff -r e5c0b6553c11 -r 84ee332ba360 resources/temperature.cpp --- a/resources/temperature.cpp Sun Apr 06 20:11:46 2014 +0000 +++ b/resources/temperature.cpp Tue Apr 08 01:02:06 2014 +0000 @@ -33,7 +33,7 @@ if(sn_nsdl_send_observation_notification(obs_token_ptr, obs_token_len, (uint8_t*)temp_val, 5, &obs_number, 1, COAP_MSG_TYPE_NON_CONFIRMABLE, 0) == 0) pc.printf("Observation sending failed\r\n"); else - pc.printf("Observation\r\n"); + pc.printf("Observation, temp=%s\r\n", temp_val); } } }