6#include "CanandUtils.h"
7#include "CanandMessage.h"
70 CanandAddress(
CANBus& bus, uint8_t devType, uint8_t devId) : bus{bus}, devType{devType}, devId{devId} {};
77 CanandAddress(uint8_t devType, uint8_t devId) : bus{0}, devType{devType}, devId{devId} {};
bool Equals(CANBus other)
Definition: CANBus.h:36
Definition: CanandAddress.h:62
CanandAddress(uint8_t devType, uint8_t devId)
Definition: CanandAddress.h:77
bool MsgMatches(CanandMessage &msg)
Definition: CanandAddress.h:85
CanandAddress(CANBus &bus, uint8_t devType, uint8_t devId)
Definition: CanandAddress.h:70
uint8_t GetDeviceId()
Definition: CanandAddress.h:111
bool SendCANMessage(uint16_t apiIndex, uint8_t *data, uint8_t length)
uint8_t GetDeviceType()
Definition: CanandAddress.h:104
Definition: CanandMessage.h:26
CANBus GetBus()
Definition: CanandMessage.h:110
uint32_t GetId()
Definition: CanandMessage.h:51
constexpr bool idMatches(uint32_t idToCompare, uint8_t deviceType, uint8_t devId)
Definition: CanandUtils.h:70
Definition: CanandMessage.h:10