Class CanUsb
Defined in File CanUsb.hpp
Class Documentation
-
class CanUsb
Public Types
Public Functions
-
~CanUsb()
-
std::string version() const
-
inline unsigned int numChannels() const
-
bool open(const std::string &mac = std::string())
-
bool isOpen()
-
void closeDevice()
-
bool reboot()
-
bool reset()
-
bool getStats(std::vector<uint32_t> &rx_drops, std::vector<uint32_t> &tx_drops, std::vector<uint8_t> &rx_errors, std::vector<uint8_t> &tx_errors, bool clear = false)
-
void sendMessage(unsigned int channel, uint32_t id, bool extended, uint8_t dlc, const uint8_t data[8], bool flush = true)
-
void flushMessages()
-
~CanUsb()