|
ESPHome 2026.8.0-dev
|
Namespaces | |
| namespace | helpers |
Data Structures | |
| class | Modbus |
| class | ModbusClientDevice |
| class | ModbusClientHub |
| struct | ModbusDeviceCommand |
| struct | ModbusFrame |
| class | ModbusServerDevice |
| class | ModbusServerHub |
Typedefs | |
| using | ResponseStatus = std::optional<ModbusExceptionCode> |
| using | RegisterValues = StaticVector<uint16_t, MAX_NUM_OF_REGISTERS_TO_READ> |
Functions | |
| bool | operator== (ModbusFunctionCode lhs, uint8_t rhs) |
| bool | operator== (uint8_t lhs, ModbusFunctionCode rhs) |
| bool | operator!= (ModbusFunctionCode lhs, uint8_t rhs) |
| bool | operator!= (uint8_t lhs, ModbusFunctionCode rhs) |
Variables | |
| const uint8_t | FUNCTION_CODE_USER_DEFINED_SPACE_1_INIT = 65 |
| Modbus definitions from specs: https://modbus.org/docs/Modbus_Application_Protocol_V1_1b3.pdf. | |
| const uint8_t | FUNCTION_CODE_USER_DEFINED_SPACE_1_END = 72 |
| const uint8_t | FUNCTION_CODE_USER_DEFINED_SPACE_2_INIT = 100 |
| const uint8_t | FUNCTION_CODE_USER_DEFINED_SPACE_2_END = 110 |
| const uint8_t | FUNCTION_CODE_MASK = 0x7F |
| const uint8_t | FUNCTION_CODE_EXCEPTION_MASK = 0x80 |
| using esphome::modbus::RegisterValues = StaticVector<uint16_t, MAX_NUM_OF_REGISTERS_TO_READ> |
| using esphome::modbus::ResponseStatus = std::optional<ModbusExceptionCode> |
|
strong |
Definition at line 63 of file modbus_definitions.h.
|
strong |
Definition at line 17 of file modbus_definitions.h.
|
strong |
| Enumerator | |
|---|---|
| CUSTOM | |
| COIL | |
| DISCRETE_INPUT | |
| HOLDING | |
| INPUT_REGISTER | |
| ESPDEPRECATED | |
Definition at line 47 of file modbus_definitions.h.
|
inline |
Definition at line 43 of file modbus_definitions.h.
|
inline |
Definition at line 44 of file modbus_definitions.h.
|
inline |
Definition at line 41 of file modbus_definitions.h.
|
inline |
Definition at line 42 of file modbus_definitions.h.
| const uint8_t esphome::modbus::FUNCTION_CODE_EXCEPTION_MASK = 0x80 |
Definition at line 61 of file modbus_definitions.h.
| const uint8_t esphome::modbus::FUNCTION_CODE_MASK = 0x7F |
Definition at line 60 of file modbus_definitions.h.
| const uint8_t esphome::modbus::FUNCTION_CODE_USER_DEFINED_SPACE_1_END = 72 |
Definition at line 12 of file modbus_definitions.h.
| const uint8_t esphome::modbus::FUNCTION_CODE_USER_DEFINED_SPACE_1_INIT = 65 |
Modbus definitions from specs: https://modbus.org/docs/Modbus_Application_Protocol_V1_1b3.pdf.
Definition at line 11 of file modbus_definitions.h.
| const uint8_t esphome::modbus::FUNCTION_CODE_USER_DEFINED_SPACE_2_END = 110 |
Definition at line 15 of file modbus_definitions.h.
| const uint8_t esphome::modbus::FUNCTION_CODE_USER_DEFINED_SPACE_2_INIT = 100 |
Definition at line 14 of file modbus_definitions.h.