ESPHome 2026.10.0
Loading...
Searching...
No Matches
esphome::api::HelloResponse Class Referencefinal

#include <api_pb2.h>

Inheritance diagram for esphome::api::HelloResponse:
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 api_version_major {0}
 
uint32_t api_version_minor {0}
 
StringRef server_info {}
 
StringRef name {}
 

Static Public Attributes

static constexpr uint16_t MESSAGE_TYPE = 2
 
static constexpr uint8_t ESTIMATED_SIZE = 26
 

Additional Inherited Members

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

Detailed Description

Definition at line 460 of file api_pb2.h.

Member Function Documentation

◆ calc_size_msg()

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

Definition at line 38 of file api_pb2.cpp.

◆ calculate_size()

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

Definition at line 476 of file api_pb2.h.

◆ dump_to()

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

Implements esphome::api::ProtoMessage.

Definition at line 961 of file api_pb2_dump.cpp.

◆ encode()

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

Definition at line 472 of file api_pb2.h.

◆ encode_msg()

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

Definition at line 30 of file api_pb2.cpp.

◆ message_name()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 465 of file api_pb2.h.

Field Documentation

◆ api_version_major

uint32_t esphome::api::HelloResponse::api_version_major {0}

Definition at line 467 of file api_pb2.h.

◆ api_version_minor

uint32_t esphome::api::HelloResponse::api_version_minor {0}

Definition at line 468 of file api_pb2.h.

◆ ESTIMATED_SIZE

uint8_t esphome::api::HelloResponse::ESTIMATED_SIZE = 26
staticconstexpr

Definition at line 463 of file api_pb2.h.

◆ MESSAGE_TYPE

uint16_t esphome::api::HelloResponse::MESSAGE_TYPE = 2
staticconstexpr

Definition at line 462 of file api_pb2.h.

◆ name

StringRef esphome::api::HelloResponse::name {}

Definition at line 470 of file api_pb2.h.

◆ server_info

StringRef esphome::api::HelloResponse::server_info {}

Definition at line 469 of file api_pb2.h.


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