26#ifndef _COMMDRIVERN2KSOCKETCAN_H
27#define _COMMDRIVERN2KSOCKETCAN_H
32#include "comm_drv_n2k.h"
33#include "conn_params.h"
38 static std::shared_ptr<CommDriverN2KSocketCAN> Create(
48 bool SendMessage(std::shared_ptr<const NavMsg> msg,
49 std::shared_ptr<const NavAddr> addr) = 0;
51 virtual bool Open() = 0;
52 virtual void Close() = 0;
62 std::string m_portstring;
63 std::string m_baudrate;
64 unsigned char m_source_address;
Driver for NMEA2000 messages over Linux can drivers.
void SetListener(DriverListener &l) override
Set the entity which will receive incoming data.
void Activate() override
Register driver and possibly do other post-ctor steps.
Abstract driver interface for NMEA2000 messages.
Interface implemented by transport layer and possible other parties like test code which should handl...