1#ifndef IV_SRC_COMMS_CANJ1939_UTILS_HPP_
2#define IV_SRC_COMMS_CANJ1939_UTILS_HPP_
14uint64_t
getChannelValue(
const std::vector<std::byte> &data, uint32_t startBit, uint32_t length,
Definition CanJ1939CommunicationController.cpp:13
uint32_t extractPgn(uint32_t canId)
extract the PGN from a can id, used in J1939 and NMEA2k
Definition utils.cpp:11
uint64_t getChannelValue(const std::vector< std::byte > &data, uint32_t startBit, uint32_t length, iv::eEndianType endianness)
Definition utils.cpp:31
std::optional< iv::types::channelValue > processValue(const iv::eDataType &dataType, const uint64_t channelValue)
Definition CanJ1939CommunicationController.cpp:265
eEndianType
Definition enums.hpp:220
eDataType
Definition enums.hpp:207