|
ESPHome 2026.11.0-dev
|
Go to the source code of this file.
Data Structures | |
| class | esphome::serial_proxy::SerialProxyTap |
| Observes a port's traffic without owning it, and may inject bytes of its own. More... | |
| class | esphome::serial_proxy::SerialProxy |
| struct | esphome::serial_proxy::SerialProxy::IdentityScratch |
Namespaces | |
| namespace | esphome |
| namespace | esphome::usb_uart |
| namespace | esphome::usb_host |
| namespace | esphome::uart |
| namespace | esphome::api |
| namespace | esphome::api::enums |
| namespace | esphome::serial_proxy |
Enumerations | |
| enum | esphome::serial_proxy::SerialProxyLineStateFlag : uint32_t { esphome::serial_proxy::SERIAL_PROXY_LINE_STATE_FLAG_RTS = 1 << 0 , esphome::serial_proxy::SERIAL_PROXY_LINE_STATE_FLAG_DTR = 1 << 1 } |
| Bit flags for the line_states field exchanged with API clients. More... | |
| enum class | esphome::serial_proxy::SerialProxyResult : uint8_t { esphome::serial_proxy::SERIAL_PROXY_RESULT_OK , esphome::serial_proxy::SERIAL_PROXY_RESULT_ASSUMED_SUCCESS , esphome::serial_proxy::SERIAL_PROXY_RESULT_PORT_IN_USE , esphome::serial_proxy::SERIAL_PROXY_RESULT_INVALID_ARGUMENT , esphome::serial_proxy::SERIAL_PROXY_RESULT_ERROR , esphome::serial_proxy::SERIAL_PROXY_RESULT_TIMEOUT , esphome::serial_proxy::SERIAL_PROXY_RESULT_NOT_SUPPORTED } |
| Result of a client-initiated operation; mapped to api::enums::SerialProxyStatus by the API layer. More... | |
Variables | |
| constexpr size_t | esphome::serial_proxy::SERIAL_PROXY_MAX_READ_SIZE = 256 |
| Maximum bytes to read from UART in a single loop iteration. | |
| constexpr uint32_t | esphome::serial_proxy::SERIAL_PROXY_MAX_WRITE_STALL_MS = 1000 |
| Longest main-loop stall client writes may cause per loop pass, shared by every instance; bytes the UART cannot buffer within it are dropped. | |