ESPHome 2026.9.0-dev
Loading...
Searching...
No Matches
serial_proxy.h File Reference

Go to the source code of this file.

Data Structures

class  esphome::serial_proxy::SerialProxy
 

Namespaces

namespace  esphome
 
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.