26#ifndef COMMDRIVERN0183SERIAL_H
27#define COMMDRIVERN0183SERIAL_H
34#include "model/comm_out_queue.h"
35#include "model/conn_params.h"
36#include "model/garmin_protocol_mgr.h"
50 bool IsSecThreadActive()
const {
return m_serial_io->IsRunning(); }
52 bool IsGarminThreadActive()
const;
53 void StopGarminUSBIOThread(
bool bPause)
const;
57 bool SendMessage(std::shared_ptr<const NavMsg> msg,
58 std::shared_ptr<const NavAddr> addr)
override;
61 return m_serial_io->GetStats();
65 std::string m_portstring;
68 std::unique_ptr<SerialIo> m_serial_io;
80 void SendMessage(
const std::vector<unsigned char>& msg);
DriverStats GetDriverStats() const override
Get the Driver Statistics.
NMEA0183 basic parsing common parts:
Interface for handling incoming messages.
Driver interface providing driver statistics.
Continuously report driver stats to CommDrvRegistry.evt_driver_stats.
NMEA0183 drivers common base.
Abstract N0183 serial communications interface.
Driver statistics report.