ESPHome 2025.5.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

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}
 

Protected Member Functions

bool decode_length (uint32_t field_id, ProtoLengthDelimited value) override
 
bool decode_varint (uint32_t field_id, ProtoVarInt value) override
 
- Protected Member Functions inherited from esphome::api::ProtoMessage
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 360 of file api_pb2.h.

Member Function Documentation

◆ calculate_size()

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

Implements esphome::api::ProtoMessage.

Definition at line 929 of file api_pb2.cpp.

◆ decode_length()

bool esphome::api::DeviceInfoResponse::decode_length ( uint32_t field_id,
ProtoLengthDelimited value )
overrideprotectedvirtual

Reimplemented from esphome::api::ProtoMessage.

Definition at line 858 of file api_pb2.cpp.

◆ decode_varint()

bool esphome::api::DeviceInfoResponse::decode_varint ( uint32_t field_id,
ProtoVarInt value )
overrideprotectedvirtual

Reimplemented from esphome::api::ProtoMessage.

Definition at line 820 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 951 of file api_pb2.cpp.

◆ encode()

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

Implements esphome::api::ProtoMessage.

Definition at line 908 of file api_pb2.cpp.

Field Documentation

◆ api_encryption_supported

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

Definition at line 380 of file api_pb2.h.

◆ bluetooth_mac_address

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

Definition at line 379 of file api_pb2.h.

◆ bluetooth_proxy_feature_flags

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

Definition at line 373 of file api_pb2.h.

◆ compilation_time

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

Definition at line 366 of file api_pb2.h.

◆ esphome_version

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

Definition at line 365 of file api_pb2.h.

◆ friendly_name

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

Definition at line 375 of file api_pb2.h.

◆ has_deep_sleep

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

Definition at line 368 of file api_pb2.h.

◆ legacy_bluetooth_proxy_version

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

Definition at line 372 of file api_pb2.h.

◆ legacy_voice_assistant_version

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

Definition at line 376 of file api_pb2.h.

◆ mac_address

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

Definition at line 364 of file api_pb2.h.

◆ manufacturer

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

Definition at line 374 of file api_pb2.h.

◆ model

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

Definition at line 367 of file api_pb2.h.

◆ name

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

Definition at line 363 of file api_pb2.h.

◆ project_name

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

Definition at line 369 of file api_pb2.h.

◆ project_version

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

Definition at line 370 of file api_pb2.h.

◆ suggested_area

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

Definition at line 378 of file api_pb2.h.

◆ uses_password

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

Definition at line 362 of file api_pb2.h.

◆ voice_assistant_feature_flags

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

Definition at line 377 of file api_pb2.h.

◆ webserver_port

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

Definition at line 371 of file api_pb2.h.


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