#include <modbus.h>
Definition at line 126 of file modbus.h.
◆ ModbusDeviceCommand()
| esphome::modbus::ModbusDeviceCommand::ModbusDeviceCommand |
( |
ModbusClientDevice * | device, |
|
|
uint8_t | address, |
|
|
std::span< const uint8_t > | pdu, |
|
|
bool | continuous = false, |
|
|
uint16_t | seq = 0 ) |
|
inline |
◆ classify()
| static CommandPriority esphome::modbus::ModbusDeviceCommand::classify |
( |
uint8_t | function_code | ) |
|
|
inlinestatic |
◆ complete_broadcast()
| void esphome::modbus::ModbusDeviceCommand::complete_broadcast |
( |
| ) |
|
|
inline |
◆ decrement_pending()
| bool esphome::modbus::ModbusDeviceCommand::decrement_pending |
( |
| ) |
|
|
inline |
◆ error()
| bool esphome::modbus::ModbusDeviceCommand::error |
( |
ExceptionCode | exception_code | ) |
|
◆ increment_pending()
| bool esphome::modbus::ModbusDeviceCommand::increment_pending |
( |
| ) |
|
|
inline |
◆ interrupt()
| bool esphome::modbus::ModbusDeviceCommand::interrupt |
( |
| ) |
|
◆ make_continuous()
| void esphome::modbus::ModbusDeviceCommand::make_continuous |
( |
bool | continuous | ) |
|
|
inline |
◆ max_pending()
| uint8_t esphome::modbus::ModbusDeviceCommand::max_pending |
( |
| ) |
const |
|
inline |
◆ notify_retired()
| bool esphome::modbus::ModbusDeviceCommand::notify_retired |
( |
| ) |
|
◆ priority()
◆ requeue()
| void esphome::modbus::ModbusDeviceCommand::requeue |
( |
uint16_t | seq | ) |
|
|
inline |
◆ response()
| bool esphome::modbus::ModbusDeviceCommand::response |
( |
std::span< const uint8_t > | response_pdu | ) |
|
◆ retire()
| void esphome::modbus::ModbusDeviceCommand::retire |
( |
| ) |
|
|
inline |
◆ same_frame()
| bool esphome::modbus::ModbusDeviceCommand::same_frame |
( |
uint8_t | address, |
|
|
std::span< const uint8_t > | pdu ) const |
|
inline |
True if this command carries the same wire frame (address + PDU) as the given one.
Definition at line 256 of file modbus.h.
◆ sent()
| bool esphome::modbus::ModbusDeviceCommand::sent |
( |
| ) |
|
◆ silent_retire()
| void esphome::modbus::ModbusDeviceCommand::silent_retire |
( |
| ) |
|
|
inline |
◆ timed_out()
| bool esphome::modbus::ModbusDeviceCommand::timed_out |
( |
| ) |
|
◆ waiting_state()
| bool esphome::modbus::ModbusDeviceCommand::waiting_state |
( |
| ) |
const |
|
inline |
◆ continuous
| bool esphome::modbus::ModbusDeviceCommand::continuous {false} |
◆ device
◆ frame
| ModbusFrame esphome::modbus::ModbusDeviceCommand::frame |
◆ pending
| uint8_t esphome::modbus::ModbusDeviceCommand::pending {1} |
◆ seq
| uint16_t esphome::modbus::ModbusDeviceCommand::seq {0} |
◆ state
The documentation for this struct was generated from the following files: