ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
esphome::api::SerialProxyRequestResponse Class Referencefinal

#include <api_pb2.h>

Inheritance diagram for esphome::api::SerialProxyRequestResponse:
esphome::api::ProtoMessage

Public Member Functions

const LogString * message_name () const override
 
uint8_t * encode (ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
 
uint32_t calculate_size () const
 
const char * dump_to (DumpBuffer &out) const override
 
- Public Member Functions inherited from esphome::api::ProtoMessage
uint8_t * encode (ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
 
uint32_t calculate_size () const
 

Static Public Member Functions

static uint8_t * encode_msg (const void *self, uint8_t *pos PROTO_ENCODE_DEBUG_PARAM)
 
static uint32_t calc_size_msg (const void *self)
 
- Static Public Member Functions inherited from esphome::api::ProtoMessage
static uint8_t * encode_msg (const void *self, uint8_t *pos PROTO_ENCODE_DEBUG_PARAM)
 
static uint32_t calc_size_msg (const void *self)
 

Data Fields

uint32_t instance {0}
 
enums::SerialProxyRequestType type {}
 
enums::SerialProxyStatus status {}
 
StringRef error_message {nullptr, 0}
 

Static Public Attributes

static constexpr uint16_t MESSAGE_TYPE = 147
 
static constexpr uint8_t ESTIMATED_SIZE = 17
 

Additional Inherited Members

- Protected Member Functions inherited from esphome::api::ProtoMessage
 ~ProtoMessage ()=default
 

Detailed Description

Definition at line 4055 of file api_pb2.h.

Member Function Documentation

◆ calc_size_msg()

uint32_t esphome::api::SerialProxyRequestResponse::calc_size_msg ( const void * self)
static

Definition at line 4285 of file api_pb2.cpp.

◆ calculate_size()

uint32_t esphome::api::SerialProxyRequestResponse::calculate_size ( ) const
inline

Definition at line 4071 of file api_pb2.h.

◆ dump_to()

const char * esphome::api::SerialProxyRequestResponse::dump_to ( DumpBuffer & out) const
overridevirtual

Implements esphome::api::ProtoMessage.

Definition at line 2956 of file api_pb2_dump.cpp.

◆ encode()

uint8_t * esphome::api::SerialProxyRequestResponse::encode ( ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
inline

Definition at line 4067 of file api_pb2.h.

◆ encode_msg()

uint8_t * esphome::api::SerialProxyRequestResponse::encode_msg ( const void * self,
uint8_t *pos PROTO_ENCODE_DEBUG_PARAM )
static

Definition at line 4277 of file api_pb2.cpp.

◆ message_name()

const LogString * esphome::api::SerialProxyRequestResponse::message_name ( ) const
inlineoverridevirtual

Reimplemented from esphome::api::ProtoMessage.

Definition at line 4060 of file api_pb2.h.

Field Documentation

◆ error_message

StringRef esphome::api::SerialProxyRequestResponse::error_message {nullptr, 0}

Definition at line 4065 of file api_pb2.h.

◆ ESTIMATED_SIZE

uint8_t esphome::api::SerialProxyRequestResponse::ESTIMATED_SIZE = 17
staticconstexpr

Definition at line 4058 of file api_pb2.h.

◆ instance

uint32_t esphome::api::SerialProxyRequestResponse::instance {0}

Definition at line 4062 of file api_pb2.h.

◆ MESSAGE_TYPE

uint16_t esphome::api::SerialProxyRequestResponse::MESSAGE_TYPE = 147
staticconstexpr

Definition at line 4057 of file api_pb2.h.

◆ status

enums::SerialProxyStatus esphome::api::SerialProxyRequestResponse::status {}

Definition at line 4064 of file api_pb2.h.

◆ type

enums::SerialProxyRequestType esphome::api::SerialProxyRequestResponse::type {}

Definition at line 4063 of file api_pb2.h.


The documentation for this class was generated from the following files: