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 dimmer.h Source File

dimmer.h

00001 // Dimmer resource implementation
00002 
00003 #ifndef DIMMER_H_
00004 #define DIMMER_H
00005 
00006 #include "nsp_getput.h"
00007 
00008 // initialize MBED Dimmer support
00009 void init_dimmer(Resource *resource);
00010 
00011 // NSP supports Dimmer modification 
00012 extern uint8_t dimmer_cb(sn_coap_hdr_s *received_coap_ptr, sn_nsdl_addr_s *address, sn_proto_info_s *proto);
00013 
00014 #endif