Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of F401RE-USBHost by
decodeNMEA.h
00001 // decodeNMEA.h 2012/12/15 00002 #ifndef DECODE_NMEA_H 00003 #define DECODE_NMEA_H 00004 00005 class decodeNMEA { 00006 public: 00007 decodeNMEA(); 00008 void inputNMEA(char* buf, int len); 00009 void inputNMEA(char c); 00010 float lat,lon; 00011 time_t gprmc_t; 00012 time_t update_t; 00013 00014 private: 00015 void parse(int type, int row, char* buf); 00016 void update(int type, int row); 00017 int m_seq; 00018 int m_type; 00019 int m_row; 00020 uint8_t m_sum; 00021 char m_buf[12]; 00022 int m_buf_pos; 00023 bool m_status; 00024 float tmp_lat,tmp_lon; 00025 struct tm tmp_timeinfo; 00026 }; 00027 00028 #endif // DECODE_NMEA_H
Generated on Tue Jul 12 2022 21:43:28 by
1.7.2
