9 #ifndef GM_UART_LINE_SENSOR_HPP_
10 #define GM_UART_LINE_SENSOR_HPP_
13 #include <ti/drivers/UART.h>
14 #include <ti/drivers/GPIO.h>
16 #include <GmBufferedSensor.hpp>
18 #ifndef GMMFAMDATA_HPP_
19 #include <GmMfamData.hpp>
21 #include <GmError.hpp>
22 #include <GmGenericData.hpp>
24 #include <GmRingBuffer.hpp>
25 #include <GmManagedRingBuffer.hpp>
26 #include <GmChildRingBuffer.hpp>
27 #include <GmStorage.hpp>
41 int iCustomRecordSize,
46 int iCustomRecordSize,
52 virtual int Initialize (
int iBoardID) = 0;
60 int WriteData (
const char* pcData,
61 unsigned int iDataSize,
65 UART_Handle m_uhUartHandle;
75 bool m_boolInitialized;
80 virtual Void OnPreProcessUartString (
char *pscString) {};
81 virtual int ConvertToCustomRecord (UInt8 *pscUartData,
82 UInt8 *pcCustomRecordBuffer) {
return -1;};
86 UInt8 *m_caCustomRecordBuffer;
93 static int InitUarts (
int iMaxUarts),
The class from which event sources and sensors that post events to the application's main event queue...
Definition: GmBufferedSensor.hpp:18
Definition: GmStorage.hpp:81
Definition: GmUartLineSensor.hpp:32
GmApp/GmLoggingApp.hpp>
Definition: Analogs.hpp:47