#include <modbus.h>
Definition at line 55 of file modbus.h.
◆ on_modbus_data()
virtual void esphome::modbus::ModbusDevice::on_modbus_data |
( |
const std::vector< uint8_t > & |
data | ) |
|
|
pure virtual |
◆ on_modbus_error()
virtual void esphome::modbus::ModbusDevice::on_modbus_error |
( |
uint8_t |
function_code, |
|
|
uint8_t |
exception_code |
|
) |
| |
|
inlinevirtual |
◆ on_modbus_read_registers()
virtual void esphome::modbus::ModbusDevice::on_modbus_read_registers |
( |
uint8_t |
function_code, |
|
|
uint16_t |
start_address, |
|
|
uint16_t |
number_of_registers |
|
) |
| |
|
inlinevirtual |
◆ send()
void esphome::modbus::ModbusDevice::send |
( |
uint8_t |
function, |
|
|
uint16_t |
start_address, |
|
|
uint16_t |
number_of_entities, |
|
|
uint8_t |
payload_len = 0 , |
|
|
const uint8_t * |
payload = nullptr |
|
) |
| |
|
inline |
◆ send_raw()
void esphome::modbus::ModbusDevice::send_raw |
( |
const std::vector< uint8_t > & |
payload | ) |
|
|
inline |
◆ set_address()
void esphome::modbus::ModbusDevice::set_address |
( |
uint8_t |
address | ) |
|
|
inline |
◆ set_parent()
void esphome::modbus::ModbusDevice::set_parent |
( |
Modbus * |
parent | ) |
|
|
inline |
◆ waiting_for_response()
bool esphome::modbus::ModbusDevice::waiting_for_response |
( |
| ) |
|
|
inline |
◆ address_
uint8_t esphome::modbus::ModbusDevice::address_ |
|
protected |
◆ Modbus
friend esphome::modbus::ModbusDevice::Modbus |
|
protected |
◆ parent_
Modbus* esphome::modbus::ModbusDevice::parent_ |
|
protected |
The documentation for this class was generated from the following file:
- /opt/build/esphome/esphome/components/modbus/modbus.h