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
gps.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 | // GPS resource implementation |
ansond | 0:b26c3526ee89 | 2 | |
ansond | 0:b26c3526ee89 | 3 | #ifndef GPS_H |
ansond | 0:b26c3526ee89 | 4 | #define GPS_H |
ansond | 0:b26c3526ee89 | 5 | |
ansond | 0:b26c3526ee89 | 6 | #include "nsp_get.h" |
ansond | 0:b26c3526ee89 | 7 | |
ansond | 0:b26c3526ee89 | 8 | // initialize MBED gps Emulator |
ansond | 0:b26c3526ee89 | 9 | void init_gps(Resource *resource); |
ansond | 0:b26c3526ee89 | 10 | |
ansond | 0:b26c3526ee89 | 11 | // NSP supports GPS location observation |
ansond | 0:b26c3526ee89 | 12 | extern uint8_t gps_location_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 |