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

#include <api_pb2.h>

Inheritance diagram for esphome::api::SerialProxyDataReceived:
esphome::api::ProtoMessage

Public Member Functions

const LogString * message_name () const override
 
void set_data (const uint8_t *data, size_t len)
 
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}
 
const uint8_t * data_ptr_ {nullptr}
 
size_t data_len_ {0}
 

Static Public Attributes

static constexpr uint16_t MESSAGE_TYPE = 139
 
static constexpr uint8_t ESTIMATED_SIZE = 23
 

Additional Inherited Members

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

Detailed Description

Definition at line 3915 of file api_pb2.h.

Member Function Documentation

◆ calc_size_msg()

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

◆ calculate_size()

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

Definition at line 3934 of file api_pb2.h.

◆ dump_to()

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

Implements esphome::api::ProtoMessage.

Definition at line 2898 of file api_pb2_dump.cpp.

◆ encode()

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

Definition at line 3930 of file api_pb2.h.

◆ encode_msg()

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

◆ message_name()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 3920 of file api_pb2.h.

◆ set_data()

void esphome::api::SerialProxyDataReceived::set_data ( const uint8_t * data,
size_t len )
inline

Definition at line 3925 of file api_pb2.h.

Field Documentation

◆ data_len_

size_t esphome::api::SerialProxyDataReceived::data_len_ {0}

Definition at line 3924 of file api_pb2.h.

◆ data_ptr_

const uint8_t* esphome::api::SerialProxyDataReceived::data_ptr_ {nullptr}

Definition at line 3923 of file api_pb2.h.

◆ ESTIMATED_SIZE

uint8_t esphome::api::SerialProxyDataReceived::ESTIMATED_SIZE = 23
staticconstexpr

Definition at line 3918 of file api_pb2.h.

◆ instance

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

Definition at line 3922 of file api_pb2.h.

◆ MESSAGE_TYPE

uint16_t esphome::api::SerialProxyDataReceived::MESSAGE_TYPE = 139
staticconstexpr

Definition at line 3917 of file api_pb2.h.


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