Namespaces | |
namespace | slave |
Classes | |
class | DynamicModbusMaster |
Modbus Master Controller. More... | |
struct | ModbusConfig |
Structure to represent the configuration of a Modbus connection. More... | |
class | ModbusErrorHelper |
Concepts | |
concept | ModbusData |
Concept to check if a given Type T can be represented in modbus registers, constrains T to be at least 16-Bits or the size of a single modbus Register. The only exception being coil registers and discrete input registers, which are either directly represented as booleans or as 8 boolean values packed into 1 or more bytes. | |
Enumerations | |
enum class | ModbusError : uint8_t { OK = 0 , INVALID_ARG = 1 , INVALID_RESPONSE = 2 , ADDRESS_UNAVAILABLE = 3 , SLAVE_NOT_SUPPORTED = 4 , PORT_NOT_SUPPORTED = 5 , INVALID_STATE = 6 , TIMEOUT = 7 , FAILURE = 8 , ILLEGAL_FUNCTION = 11 , ILLEGAL_DATA_ADDRESS = 12 , ILLEGAL_DATA_VALUE = 13 , SLAVE_DEVICE_FAILURE = 14 , ACKNOWLEDGE = 15 , SLAVE_DEVICE_BUSY = 16 , MEMORY_PARITY_ERROR = 18 , GATEWAY_PATH_UNAVAILABLE = 20 , GATEWAY_TARGET_NO_RESPONSE = 21 } |
Modbus Error Type Enum. More... | |
Functions | |
consteval mb_communication_info_t | defaultCommInfo () |
Variables | |
constexpr char | TAG [] = "DynamicModbusMaster" |
|
strong |
Modbus Error Type Enum.
consteval mb_communication_info_t dynamic_modbus_master::defaultCommInfo | ( | ) |
|
constexpr |