source:
trunk/FACT++/src/HeadersGPS.h@
19285
| Last change on this file since 19285 was 17316, checked in by , 12 years ago | |
|---|---|
| File size: 517 bytes | |
| Line | |
|---|---|
| 1 | #ifndef FACT_HeadersGPS |
| 2 | #define FACT_HeadersGPS |
| 3 | |
| 4 | namespace GPS |
| 5 | { |
| 6 | namespace State |
| 7 | { |
| 8 | enum states_t |
| 9 | { |
| 10 | kDisconnected = 1, |
| 11 | kConnected, |
| 12 | kDisabled, |
| 13 | kEnabled, |
| 14 | kLocked |
| 15 | }; |
| 16 | }; |
| 17 | |
| 18 | struct NEMA |
| 19 | { |
| 20 | float time; |
| 21 | float lat; |
| 22 | float lng; |
| 23 | float hdop; |
| 24 | float height; |
| 25 | float geosep; |
| 26 | uint16_t count; |
| 27 | uint16_t qos; |
| 28 | } __attribute__((__packed__)); |
| 29 | |
| 30 | }; |
| 31 | #endif |
Note:
See TracBrowser
for help on using the repository browser.
