ESPHome 2025.7.0
Loading...
Searching...
No Matches
esphome::api::DeviceInfoResponse Class Reference

#include <api_pb2.h>

Inheritance diagram for esphome::api::DeviceInfoResponse:
esphome::api::ProtoMessage

Public Member Functions

const char * message_name () const override
 
void encode (ProtoWriteBuffer buffer) const override
 
void calculate_size (uint32_t &total_size) const override
 
void dump_to (std::string &out) const override
 
- Public Member Functions inherited from esphome::api::ProtoMessage
virtual ~ProtoMessage ()=default
 
void decode (const uint8_t *buffer, size_t length)
 
std::string dump () const
 

Data Fields

bool uses_password {false}
 
std::string name {}
 
std::string mac_address {}
 
std::string esphome_version {}
 
std::string compilation_time {}
 
std::string model {}
 
bool has_deep_sleep {false}
 
std::string project_name {}
 
std::string project_version {}
 
uint32_t webserver_port {0}
 
uint32_t legacy_bluetooth_proxy_version {0}
 
uint32_t bluetooth_proxy_feature_flags {0}
 
std::string manufacturer {}
 
std::string friendly_name {}
 
uint32_t legacy_voice_assistant_version {0}
 
uint32_t voice_assistant_feature_flags {0}
 
std::string suggested_area {}
 
std::string bluetooth_mac_address {}
 
bool api_encryption_supported {false}
 
std::vector< DeviceInfodevices {}
 
std::vector< AreaInfoareas {}
 
AreaInfo area {}
 

Static Public Attributes

static constexpr uint8_t MESSAGE_TYPE = 10
 
static constexpr uint8_t ESTIMATED_SIZE = 219
 

Additional Inherited Members

- Protected Member Functions inherited from esphome::api::ProtoMessage
virtual bool decode_varint (uint32_t field_id, ProtoVarInt value)
 
virtual bool decode_length (uint32_t field_id, ProtoLengthDelimited value)
 
virtual bool decode_32bit (uint32_t field_id, Proto32Bit value)
 
virtual bool decode_64bit (uint32_t field_id, Proto64Bit value)
 

Detailed Description

Definition at line 482 of file api_pb2.h.

Member Function Documentation

◆ calculate_size()

void esphome::api::DeviceInfoResponse::calculate_size ( uint32_t & total_size) const
overridevirtual

Reimplemented from esphome::api::ProtoMessage.

Definition at line 150 of file api_pb2.cpp.

◆ dump_to()

void esphome::api::DeviceInfoResponse::dump_to ( std::string & out) const
overridevirtual

Implements esphome::api::ProtoMessage.

Definition at line 689 of file api_pb2_dump.cpp.

◆ encode()

void esphome::api::DeviceInfoResponse::encode ( ProtoWriteBuffer buffer) const
overridevirtual

Reimplemented from esphome::api::ProtoMessage.

Definition at line 122 of file api_pb2.cpp.

◆ message_name()

const char * esphome::api::DeviceInfoResponse::message_name ( ) const
inlineoverridevirtual

Reimplemented from esphome::api::ProtoMessage.

Definition at line 487 of file api_pb2.h.

Field Documentation

◆ api_encryption_supported

bool esphome::api::DeviceInfoResponse::api_encryption_supported {false}

Definition at line 507 of file api_pb2.h.

◆ area

AreaInfo esphome::api::DeviceInfoResponse::area {}

Definition at line 510 of file api_pb2.h.

◆ areas

std::vector<AreaInfo> esphome::api::DeviceInfoResponse::areas {}

Definition at line 509 of file api_pb2.h.

◆ bluetooth_mac_address

std::string esphome::api::DeviceInfoResponse::bluetooth_mac_address {}

Definition at line 506 of file api_pb2.h.

◆ bluetooth_proxy_feature_flags

uint32_t esphome::api::DeviceInfoResponse::bluetooth_proxy_feature_flags {0}

Definition at line 500 of file api_pb2.h.

◆ compilation_time

std::string esphome::api::DeviceInfoResponse::compilation_time {}

Definition at line 493 of file api_pb2.h.

◆ devices

std::vector<DeviceInfo> esphome::api::DeviceInfoResponse::devices {}

Definition at line 508 of file api_pb2.h.

◆ esphome_version

std::string esphome::api::DeviceInfoResponse::esphome_version {}

Definition at line 492 of file api_pb2.h.

◆ ESTIMATED_SIZE

uint8_t esphome::api::DeviceInfoResponse::ESTIMATED_SIZE = 219
staticconstexpr

Definition at line 485 of file api_pb2.h.

◆ friendly_name

std::string esphome::api::DeviceInfoResponse::friendly_name {}

Definition at line 502 of file api_pb2.h.

◆ has_deep_sleep

bool esphome::api::DeviceInfoResponse::has_deep_sleep {false}

Definition at line 495 of file api_pb2.h.

◆ legacy_bluetooth_proxy_version

uint32_t esphome::api::DeviceInfoResponse::legacy_bluetooth_proxy_version {0}

Definition at line 499 of file api_pb2.h.

◆ legacy_voice_assistant_version

uint32_t esphome::api::DeviceInfoResponse::legacy_voice_assistant_version {0}

Definition at line 503 of file api_pb2.h.

◆ mac_address

std::string esphome::api::DeviceInfoResponse::mac_address {}

Definition at line 491 of file api_pb2.h.

◆ manufacturer

std::string esphome::api::DeviceInfoResponse::manufacturer {}

Definition at line 501 of file api_pb2.h.

◆ MESSAGE_TYPE

uint8_t esphome::api::DeviceInfoResponse::MESSAGE_TYPE = 10
staticconstexpr

Definition at line 484 of file api_pb2.h.

◆ model

std::string esphome::api::DeviceInfoResponse::model {}

Definition at line 494 of file api_pb2.h.

◆ name

std::string esphome::api::DeviceInfoResponse::name {}

Definition at line 490 of file api_pb2.h.

◆ project_name

std::string esphome::api::DeviceInfoResponse::project_name {}

Definition at line 496 of file api_pb2.h.

◆ project_version

std::string esphome::api::DeviceInfoResponse::project_version {}

Definition at line 497 of file api_pb2.h.

◆ suggested_area

std::string esphome::api::DeviceInfoResponse::suggested_area {}

Definition at line 505 of file api_pb2.h.

◆ uses_password

bool esphome::api::DeviceInfoResponse::uses_password {false}

Definition at line 489 of file api_pb2.h.

◆ voice_assistant_feature_flags

uint32_t esphome::api::DeviceInfoResponse::voice_assistant_feature_flags {0}

Definition at line 504 of file api_pb2.h.

◆ webserver_port

uint32_t esphome::api::DeviceInfoResponse::webserver_port {0}

Definition at line 498 of file api_pb2.h.


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