| Rev | Author | Line No. | Line |
|---|---|---|---|
| 2956 | poskozby | 1 | #ifndef _GPS_DEKODUJ_H_ |
| 2 | #define _GPS_DEKODUJ_H_ |
||
| 3 | |||
| 4 | #include "stdint.h" |
||
| 5 | |||
| 6 | void dekoduj_zpravu_GPS (uint8_t NMEA_retezec); |
||
| 7 | |||
| 8 | |||
| 9 | typedef struct { |
||
| 10 | unsigned char UTC_time[7]; |
||
| 11 | unsigned char Status_GPS; |
||
| 12 | unsigned char Latitude[13]; // o jeden znak delsi, nez by bylo treba, ale na posledni misto se kopiruje znak konce stringu 0 |
||
| 13 | unsigned char Longitude[14]; |
||
| 14 | unsigned char Altitude[10]; |
||
| 15 | unsigned char Datum[6]; |
||
| 16 | } NMEA_GPGGA; |
||
| 17 | |||
| 18 | #endif /* _GPS_DEKODUJ_H_ */ |