35#include "comm_drv_n2k.h"
40CommDriverN2K::CommDriverN2K(
const std::string& s)
43CommDriverN2K::~CommDriverN2K() {}
45bool CommDriverN2K::SendMessage(std::shared_ptr<const NavMsg> msg,
46 std::shared_ptr<const NavAddr> addr) {
return false;}
50std::shared_ptr<NavAddr> CommDriverN2K::GetAddress(
const N2kName& name) {
Common interface for all drivers.
const std::string iface
Physical device for 0183, else a unique string.
virtual void SetListener(DriverListener &l) override
Set the entity which will receive incoming data.
Interface implemented by transport layer and possible other parties like test code which should handl...
NMEA2000 sent/received address, an address (possibly wildcard)
Where messages are sent to or received from.
N2k uses CAN which defines the basic properties of messages.