Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
functions.hpp File Reference
#include "core/bswapOps.hpp"
#include "core/defines.hpp"
#include <algorithm>
#include <fmt/format.h>
#include <optional>
#include <string>
#include <vector>
Include dependency graph for functions.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::modbus
 

Functions

uint16_t iv::comms::modbus::calculateCrcToModbusRTU (const uint8_t *buf, const int32_t length)
 
uint16_t iv::comms::modbus::getRegisterTypeValue (const iv::comms::modbus::eRegisterType registerType)
 
std::string iv::comms::modbus::getCalculatedDirection (const iv::comms::modbus::eRegisterType registerType, iv::types::comms::modbus::modbusAddress address, bool isExtended)
 
std::vector< iv::types::comms::modbus::registerValueiv::comms::modbus::applyEndianness (const iv::channels::ModbusRegisterInfo &modbusInfo, const std::vector< iv::types::comms::modbus::registerValue > &values)
 
int64_t iv::comms::modbus::applyMask (const iv::channels::ModbusRegisterInfo &modbusInfo, const std::vector< int64_t > &values)
 
std::optional< iv::types::channelValueiv::comms::modbus::processValue (const iv::channels::ModbusRegisterInfo &modbusInfo, const uint64_t channelValue)