A single serial-proxy instance bound to its index — the instance-aware, ergonomic front end to SerialProxy (no instance argument on every call).
More...
#include <serial_proxy.hpp>
A single serial-proxy instance bound to its index — the instance-aware, ergonomic front end to SerialProxy (no instance argument on every call).
◆ SerialPort()
| esphome::api::SerialPort::SerialPort |
( |
SerialProxy & |
proxy, |
|
|
const std::uint32_t |
instance |
|
) |
| |
|
inline |
◆ configure()
◆ flush()
| void esphome::api::SerialPort::flush |
( |
| ) |
const |
|
inline |
◆ get_modem_pins()
◆ index()
| std::uint32_t esphome::api::SerialPort::index |
( |
| ) |
const |
|
inlinenoexcept |
◆ on_data()
Receive data for this instance only.
◆ set_modem_pins()
◆ subscribe()
| void esphome::api::SerialPort::subscribe |
( |
| ) |
const |
|
inline |
◆ unsubscribe()
| void esphome::api::SerialPort::unsubscribe |
( |
| ) |
const |
|
inline |
◆ write()
| void esphome::api::SerialPort::write |
( |
const std::string & |
data | ) |
const |
|
inline |
The documentation for this class was generated from the following file: