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
bool operator>(ModbusFunctionCode lhs, uint8_t rhs)
const uint8_t FUNCTION_CODE_USER_DEFINED_SPACE_1_INIT
Modbus definitions from specs: https://modbus.org/docs/Modbus_Application_Protocol_V1_1b3....
bool operator>=(ModbusFunctionCode lhs, uint8_t rhs)
const uint8_t MAX_NUM_OF_REGISTERS_TO_READ
const uint8_t FUNCTION_CODE_USER_DEFINED_SPACE_2_END
const uint8_t MAX_NUM_OF_REGISTERS_TO_WRITE
const uint8_t FUNCTION_CODE_USER_DEFINED_SPACE_1_END
bool operator!=(ModbusFunctionCode lhs, uint8_t rhs)
bool operator<=(ModbusFunctionCode lhs, uint8_t rhs)
@ GATEWAY_PATH_UNAVAILABLE
@ GATEWAY_TARGET_DEVICE_FAILED_TO_RESPOND
bool operator==(ModbusFunctionCode lhs, uint8_t rhs)
bool operator<(ModbusFunctionCode lhs, uint8_t rhs)
Providing packet encoding functions for exchanging data with a remote host.