9 #ifndef GM_TIVA_GPS_UART_SENSOR_HPP_
10 #define GM_TIVA_GPS_UART_SENSOR_HPP_
16 #include <GmBufferedSensor.hpp>
18 #ifndef GMMFAMDATA_HPP_
19 #include <GmMfamData.hpp>
21 #include <GmError.hpp>
23 #include <GmRingBuffer.hpp>
24 #include <GmManagedRingBuffer.hpp>
25 #include <GmChildRingBuffer.hpp>
26 #include "GmUartLineSensor.hpp"
27 #include <ti/sysbios/knl/Clock.h>
33 #define GPS_STRING_SIZE 100
34 typedef char GpsString[GPS_STRING_SIZE+2];
42 #define COUNT_GPS_UART_BUFFERS 5
45 #define GM_GPS_RMC_RAW_DATA01 GM_DATA_DOMAIN_LOCATION | 0x01
46 #define GM_GPS_INDEXED_STRING_WITH_HEADER_01 GM_DATA_DOMAIN_LOCATION | 0x02
61 virtual int Initialize (
int iBoardID) = 0;
62 virtual Void OnPreProcessUartString (
char* pscString);
68 int TimeSinceLastGga ();
69 int TimeSinceLastRmc ();
70 double LastHorizontalDilutionOfPrecision ();
71 uint8_t LastFixQuality ();
75 uint8_t mLastFixQuality;
76 double m_dLastHorizontalDilutionOfPrecision;
77 uint32_t m_uiScaleTicksToSeconds;
79 static double convertGpsPseudoFloat(
double dPseudoFloat);
80 virtual int ConvertToCustomRecord (UInt8 *pscUartData,
81 UInt8 *pcCustomRecordBuffer);
Definition: GmTivaGpsUartSensor.hpp:57
virtual int WriteToStorage(UInt32 ui32Topic, char *pData, UInt32 iSize, GmStorage *psStorage, UInt32 ui32FormatId)
Definition: GmTivaGpsUartSensor.cpp:71
Definition: GmStorage.hpp:81
Definition: GmUartLineSensor.hpp:32
GmApp/GmLoggingApp.hpp>
Definition: Analogs.hpp:47
Definition: GmTivaGpsUartSensor.hpp:37