nsp resources for the mbed nsp lighting endpoint
Dependencies: nsdl_lib
Dependents: mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet mbed_nsp_endpoint_nxp
Diff: rssi.h
- Revision:
- 0:b26c3526ee89
diff -r 000000000000 -r b26c3526ee89 rssi.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rssi.h Wed Sep 17 15:24:11 2014 +0000 @@ -0,0 +1,14 @@ +// RSSI resource implementation + +#ifndef RSSI_H +#define RSSI_H + +#include "nsp_get.h" + +// initialize MBED rssi Emulator +void init_rssi(Resource *resource); + +// NSP supports RSSI observation +extern uint8_t rssi_cb(sn_coap_hdr_s *received_coap_ptr, sn_nsdl_addr_s *address, sn_proto_info_s *proto); + +#endif