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

#include <api_pb2.h>

Inheritance diagram for esphome::api::ZWaveProxyFrame:
esphome::api::ProtoDecodableMessage esphome::api::ProtoMessage

Public Member Functions

const LogString * message_name () const override
 
void decode (const uint8_t *buffer, size_t length)
 
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::ProtoDecodableMessage
static void decode_fields (void *msg, const uint8_t *buffer, size_t length, DecodeFieldFn field)
 Walk buffer and hand every field to field.
 
static uint32_t count_repeated_field (const uint8_t *buffer, size_t length, uint32_t target_field_id)
 Count occurrences of a repeated field in a protobuf buffer.
 
- 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

const uint8_t * data {nullptr}
 
uint16_t data_len {0}
 

Static Public Attributes

static constexpr uint16_t MESSAGE_TYPE = 128
 
static constexpr uint8_t ESTIMATED_SIZE = 19
 

Static Protected Member Functions

static void decode_field (void *self, uint32_t tag, const uint8_t *data, proto_varint_value_t scalar)
 

Additional Inherited Members

- Public Types inherited from esphome::api::ProtoDecodableMessage
using DecodeFieldFn = void (*)(void *msg, uint32_t tag, const uint8_t *data, proto_varint_value_t scalar)
 Stores one decoded field into msg; generated per message type.
 
- Protected Member Functions inherited from esphome::api::ProtoMessage
 ~ProtoMessage ()=default
 

Detailed Description

Definition at line 3709 of file api_pb2.h.

Member Function Documentation

◆ calc_size_msg()

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

◆ calculate_size()

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

Definition at line 3726 of file api_pb2.h.

◆ decode()

void esphome::api::ZWaveProxyFrame::decode ( const uint8_t * buffer,
size_t length )
inline

Definition at line 3718 of file api_pb2.h.

◆ decode_field()

void esphome::api::ZWaveProxyFrame::decode_field ( void * self,
uint32_t tag,
const uint8_t * data,
proto_varint_value_t scalar )
staticprotected

Definition at line 3935 of file api_pb2.cpp.

◆ dump_to()

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

Implements esphome::api::ProtoMessage.

Definition at line 2812 of file api_pb2_dump.cpp.

◆ encode()

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

Definition at line 3722 of file api_pb2.h.

◆ encode_msg()

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

◆ message_name()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 3714 of file api_pb2.h.

Field Documentation

◆ data

const uint8_t* esphome::api::ZWaveProxyFrame::data {nullptr}

Definition at line 3716 of file api_pb2.h.

◆ data_len

uint16_t esphome::api::ZWaveProxyFrame::data_len {0}

Definition at line 3717 of file api_pb2.h.

◆ ESTIMATED_SIZE

uint8_t esphome::api::ZWaveProxyFrame::ESTIMATED_SIZE = 19
staticconstexpr

Definition at line 3712 of file api_pb2.h.

◆ MESSAGE_TYPE

uint16_t esphome::api::ZWaveProxyFrame::MESSAGE_TYPE = 128
staticconstexpr

Definition at line 3711 of file api_pb2.h.


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