1#ifndef IV_SRC_COMMS_PEAK_PEAKCOMMUNICATIONSDRIVER_HPP_
2#define IV_SRC_COMMS_PEAK_PEAKCOMMUNICATIONSDRIVER_HPP_
Definition CMessageCan.hpp:13
Definition ICommunicationDriver.hpp:13
Definition ICanCommunicationProtocol.hpp:11
Interface for communication with SocketCAN.Designed to be extended by different types of drivers.
Definition ISocketCANInterface.hpp:34
Definition SocketCanCommunicationsDriver.hpp:16
iv::comms::eResponse start() override
Definition SocketCanCommunicationsDriver.cpp:67
iv::comms::eResponse read(std::shared_ptr< CMessageCan > &message) override
Definition SocketCanCommunicationsDriver.cpp:151
~SocketCanCommunicationsDriver() override
Definition SocketCanCommunicationsDriver.cpp:22
iv::comms::eResponse init() override
Definition SocketCanCommunicationsDriver.cpp:27
void * m_dwCtrlHandle
Definition SocketCanCommunicationsDriver.hpp:41
void configure(const iv::model::comms::NetworkData &commConfig) override
Definition SocketCanCommunicationsDriver.cpp:125
bool isOnline() override
Definition SocketCanCommunicationsDriver.cpp:120
iv::comms::eResponse end() override
Definition SocketCanCommunicationsDriver.cpp:35
SocketCanCommunicationsDriver()
Definition SocketCanCommunicationsDriver.cpp:12
std::string m_interfaceName
Definition SocketCanCommunicationsDriver.hpp:37
iv::comms::eResponse send(const CMessageCan &message) override
Definition SocketCanCommunicationsDriver.cpp:135
iv::comms::eResponse stop() override
Definition SocketCanCommunicationsDriver.cpp:101
SocketCanCommunicationsDriver(const SocketCanCommunicationsDriver &other)=delete
iv::comms::socketcan::ISocketCANInterface * m_interfaceOpt
Definition SocketCanCommunicationsDriver.hpp:36
std::mutex m_socketMutex
Definition SocketCanCommunicationsDriver.hpp:40
iv::comms::eResponse reconnect() override
Definition SocketCanCommunicationsDriver.cpp:42
iv::model::comms::socketcan::eBaudRate m_busTimingRegister0
Definition SocketCanCommunicationsDriver.hpp:38
eResponse
Definition enums.hpp:285
eBaudRate
Definition SocketCanSettings.hpp:27
Definition NetworkData.hpp:18