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
voltage.h@0:b26c3526ee89, 2014-09-17 (annotated)
- Committer:
- ansond
- Date:
- Wed Sep 17 15:24:11 2014 +0000
- Revision:
- 0:b26c3526ee89
initial checkin
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ansond | 0:b26c3526ee89 | 1 | // Voltage resource implementation |
ansond | 0:b26c3526ee89 | 2 | |
ansond | 0:b26c3526ee89 | 3 | #ifndef VOLTAGE_H |
ansond | 0:b26c3526ee89 | 4 | #define VOLTAGE_H |
ansond | 0:b26c3526ee89 | 5 | |
ansond | 0:b26c3526ee89 | 6 | #include "nsp_get.h" |
ansond | 0:b26c3526ee89 | 7 | |
ansond | 0:b26c3526ee89 | 8 | // initialize MBED Voltage Emulator |
ansond | 0:b26c3526ee89 | 9 | void init_voltage(Resource *resource); |
ansond | 0:b26c3526ee89 | 10 | |
ansond | 0:b26c3526ee89 | 11 | // MBED supports Voltage Emulation |
ansond | 0:b26c3526ee89 | 12 | extern uint8_t voltage_cb(sn_coap_hdr_s *received_coap_ptr, sn_nsdl_addr_s *address, sn_proto_info_s *proto); |
ansond | 0:b26c3526ee89 | 13 | |
ansond | 0:b26c3526ee89 | 14 | #endif |