#include <ModbusSettings.hpp>
◆ Settings() [1/4]
iv::model::comms::modbus::Settings::Settings |
( |
| ) |
|
◆ Settings() [2/4]
iv::model::comms::modbus::Settings::Settings |
( |
iv::types::modbus::slaveId | slaveId, |
|
|
bool | zeroBased, |
|
|
iv::types::pollTime | timeoutWait, |
|
|
iv::types::pollTime | timeoutRetry, |
|
|
uint8_t | maxRetries, |
|
|
uint16_t | maxCoilsReadPerQuery, |
|
|
uint16_t | maxCoilsWritePerQuery, |
|
|
uint16_t | maxRegistersReadPerQuery, |
|
|
uint16_t | maxRegistersWritePerQuery, |
|
|
bool | forceContinuousRegisters ) |
◆ Settings() [3/4]
iv::model::comms::modbus::Settings::Settings |
( |
const Settings & | other | ) |
|
|
default |
◆ Settings() [4/4]
iv::model::comms::modbus::Settings::Settings |
( |
Settings && | other | ) |
|
|
noexcept |
◆ ~Settings()
iv::model::comms::modbus::Settings::~Settings |
( |
| ) |
|
|
default |
◆ load()
◆ operator=() [1/2]
Settings & iv::model::comms::modbus::Settings::operator= |
( |
const Settings & | other | ) |
|
◆ operator=() [2/2]
◆ save()
◆ _forceContinuousRegisters
bool iv::model::comms::modbus::Settings::_forceContinuousRegisters |
Forces the request to use contiguous registers even if they are not in the original request.
◆ _maxCoilsReadPerQuery
uint16_t iv::model::comms::modbus::Settings::_maxCoilsReadPerQuery |
Maximum number of coils that can be read in a single query.
◆ _maxCoilsWritePerQuery
uint16_t iv::model::comms::modbus::Settings::_maxCoilsWritePerQuery |
Maximum number of coils that can be written in a single query.
◆ _maxRegistersReadPerQuery
uint16_t iv::model::comms::modbus::Settings::_maxRegistersReadPerQuery |
Maximum number of registers that can be read in a single query.
◆ _maxRegistersWritePerQuery
uint16_t iv::model::comms::modbus::Settings::_maxRegistersWritePerQuery |
Maximum number of registers that can be written in a single query.
◆ _maxRetries
uint8_t iv::model::comms::modbus::Settings::_maxRetries |
Maximum number of retries in case of failure.
◆ _slaveId
◆ _timeoutRetry
◆ _timeoutWait
Waiting time between frame calls.
◆ _zeroBased
bool iv::model::comms::modbus::Settings::_zeroBased |
Indicates whether the addresses start at 0 or 1.
The documentation for this struct was generated from the following files: