Prototyping the Adaptable Emergency System on an C027 board.
Dependencies: C027_Support mbed
Fork of c027_prototyping by
gps_locate.h@7:eeef6f9fa1db, 2014-09-30 (annotated)
- Committer:
- aroulin
- Date:
- Tue Sep 30 17:57:38 2014 +0000
- Revision:
- 7:eeef6f9fa1db
- Parent:
- 4:f1708f6ec905
- Child:
- 16:2b2f2a3bde5a
GPS Encapsulation
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
aroulin | 3:12e1c2c71cf2 | 1 | #ifndef __GPS_LOCATE_H__ |
aroulin | 3:12e1c2c71cf2 | 2 | #define __GPS_LOCATE_H__ |
aroulin | 3:12e1c2c71cf2 | 3 | |
aroulin | 3:12e1c2c71cf2 | 4 | struct gps_data_t { |
aroulin | 3:12e1c2c71cf2 | 5 | double la; |
aroulin | 3:12e1c2c71cf2 | 6 | double lo; |
aroulin | 3:12e1c2c71cf2 | 7 | double altitude; |
aroulin | 3:12e1c2c71cf2 | 8 | double speed; |
aroulin | 7:eeef6f9fa1db | 9 | }; |
aroulin | 3:12e1c2c71cf2 | 10 | |
aroulin | 3:12e1c2c71cf2 | 11 | int gps_on(void); |
aroulin | 3:12e1c2c71cf2 | 12 | |
aroulin | 3:12e1c2c71cf2 | 13 | int gps_off(void); |
aroulin | 3:12e1c2c71cf2 | 14 | |
aroulin | 4:f1708f6ec905 | 15 | int gps_locate(struct gps_data_t* gps_data); |
aroulin | 3:12e1c2c71cf2 | 16 | |
aroulin | 3:12e1c2c71cf2 | 17 | #endif |