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
addldata.h@3:30c96bd77160, 2014-09-26 (annotated)
- Committer:
- ansond
- Date:
- Fri Sep 26 05:55:55 2014 +0000
- Revision:
- 3:30c96bd77160
- Parent:
- 0:b26c3526ee89
updates for new logger
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ansond | 0:b26c3526ee89 | 1 | // AddlData resource implementation |
ansond | 0:b26c3526ee89 | 2 | |
ansond | 0:b26c3526ee89 | 3 | #ifndef ADDL_DATA_H_ |
ansond | 0:b26c3526ee89 | 4 | #define ADDL_DATA_H_ |
ansond | 0:b26c3526ee89 | 5 | |
ansond | 0:b26c3526ee89 | 6 | #include "nsp_getput.h" |
ansond | 0:b26c3526ee89 | 7 | |
ansond | 0:b26c3526ee89 | 8 | // initialize MBED AddlData support |
ansond | 0:b26c3526ee89 | 9 | void init_addldata(Resource *resource); |
ansond | 0:b26c3526ee89 | 10 | |
ansond | 0:b26c3526ee89 | 11 | // NSP supports AddlData modification |
ansond | 0:b26c3526ee89 | 12 | extern uint8_t addldata_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 |