55 READ
ESPDEPRECATED(
"Use ModbusRegisterType::INPUT_REGISTER instead. Removed in 2027.2.0",
"2026.7.0") =
76static constexpr uint16_t MAX_NUM_OF_REGISTERS_TO_WRITE = 123;
80static constexpr uint16_t MAX_NUM_OF_COILS_TO_READ = 2000;
81static constexpr uint16_t MAX_NUM_OF_DISCRETE_INPUTS_TO_READ = 2000;
85static constexpr uint16_t MAX_NUM_OF_REGISTERS_TO_READ = 125;
88static constexpr uint16_t MIN_FRAME_SIZE = 4;
89static constexpr uint16_t MAX_PDU_SIZE = 253;
90static constexpr uint16_t MAX_RAW_SIZE = 254;
91static constexpr uint16_t MAX_FRAME_SIZE = 256;
const uint8_t FUNCTION_CODE_MASK
const uint8_t FUNCTION_CODE_EXCEPTION_MASK
@ WRITE_MULTIPLE_REGISTERS
@ READ_WRITE_MULTIPLE_REGISTERS
const uint8_t FUNCTION_CODE_USER_DEFINED_SPACE_2_INIT
const uint8_t FUNCTION_CODE_USER_DEFINED_SPACE_1_INIT
Modbus definitions from specs: https://modbus.org/docs/Modbus_Application_Protocol_V1_1b3....
const uint8_t FUNCTION_CODE_USER_DEFINED_SPACE_2_END
const uint8_t FUNCTION_CODE_USER_DEFINED_SPACE_1_END
bool operator!=(ModbusFunctionCode lhs, uint8_t rhs)
@ GATEWAY_PATH_UNAVAILABLE
@ GATEWAY_TARGET_DEVICE_FAILED_TO_RESPOND
bool operator==(ModbusFunctionCode lhs, uint8_t rhs)