ESPHome 2026.3.0
Loading...
Searching...
No Matches
esphome::serial_proxy Namespace Reference

Data Structures

class  SerialProxy
 

Enumerations

enum  SerialProxyLineStateFlag : uint32_t { SERIAL_PROXY_LINE_STATE_FLAG_RTS = 1 << 0 , SERIAL_PROXY_LINE_STATE_FLAG_DTR = 1 << 1 }
 Bit flags for the line_states field exchanged with API clients. More...
 

Functions

void __attribute__ ((noinline)) SerialProxy
 

Variables

constexpr size_t SERIAL_PROXY_MAX_READ_SIZE = 256
 Maximum bytes to read from UART in a single loop iteration.
 

Enumeration Type Documentation

◆ SerialProxyLineStateFlag

Bit flags for the line_states field exchanged with API clients.

Bit positions are stable API — new signals must use the next available bit.

Enumerator
SERIAL_PROXY_LINE_STATE_FLAG_RTS 

RTS (Request To Send)

SERIAL_PROXY_LINE_STATE_FLAG_DTR 

DTR (Data Terminal Ready)

Definition at line 36 of file serial_proxy.h.

Function Documentation

◆ __attribute__()

void esphome::serial_proxy::__attribute__ ( (noinline) )

Definition at line 62 of file serial_proxy.cpp.

Variable Documentation

◆ SERIAL_PROXY_MAX_READ_SIZE

size_t esphome::serial_proxy::SERIAL_PROXY_MAX_READ_SIZE = 256
inlineconstexpr

Maximum bytes to read from UART in a single loop iteration.

Definition at line 42 of file serial_proxy.h.