Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
utils.hpp File Reference
#include <cstdint>
Include dependency graph for utils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  iv
 
namespace  iv::comms
 
namespace  iv::comms::canJ1939
 

Functions

uint32_t iv::comms::canJ1939::extractPgn (uint32_t canId)
 extract the PGN from a can id, used in J1939 and NMEA2k
 
uint64_t iv::comms::canJ1939::getChannelValue (const std::vector< std::byte > &data, uint32_t startBit, uint32_t length, iv::eEndianType endianness)
 
std::optional< iv::types::channelValueiv::comms::canJ1939::processValue (const iv::eDataType &dataType, const uint64_t channelValue)