MBED_DEMOS / nsp_resources

Dependencies:   nsdl_lib

Dependents:   mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet mbed_nsp_endpoint_nxp

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers temperature.h Source File

temperature.h

00001 // Temperature resource implementation
00002 
00003 #ifndef TEMPERATURE_H
00004 #define TEMPERATURE_H
00005 
00006 #include "nsp_getput.h"
00007 
00008 // initialize MBED Temperature Source
00009 void init_temp(Resource *resource);
00010 
00011 // NSP supports Temperature Sensing 
00012 extern uint8_t temp_cb(sn_coap_hdr_s *received_coap_ptr, sn_nsdl_addr_s *address, sn_proto_info_s * proto);
00013 
00014 #endif