Prototyping the Adaptable Emergency System on an C027 board.
Dependencies: C027_Support mbed
Fork of c027_prototyping by
Diff: gps_locate.h
- Revision:
- 16:2b2f2a3bde5a
- Parent:
- 7:eeef6f9fa1db
- Child:
- 17:726bbc1b73ee
--- a/gps_locate.h Tue Sep 30 18:43:42 2014 +0000 +++ b/gps_locate.h Wed Oct 01 08:47:54 2014 +0000 @@ -6,12 +6,14 @@ double lo; double altitude; double speed; -}; +}; -int gps_on(void); - -int gps_off(void); - +/* + Get GPS Location, blocks until received + all informations needed, Timeout after 20 seconds + + returns: 1 if gps infos are correct, 0 otherwise +*/ int gps_locate(struct gps_data_t* gps_data); #endif \ No newline at end of file