ESPHome 2026.1.4
Loading...
Searching...
No Matches
esphome::api::DeviceInfoResponse Class Referencefinal

#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 (ProtoSize &size) const override
 
const char * dump_to (DumpBuffer &out) const override
 
- Public Member Functions inherited from esphome::api::ProtoMessage
virtual ~ProtoMessage ()=default
 

Data Fields

StringRef name {}
 
StringRef mac_address {}
 
StringRef esphome_version {}
 
StringRef compilation_time {}
 
StringRef model {}
 
bool has_deep_sleep {false}
 
StringRef project_name {}
 
StringRef project_version {}
 
uint32_t webserver_port {0}
 
uint32_t bluetooth_proxy_feature_flags {0}
 
StringRef manufacturer {}
 
StringRef friendly_name {}
 
uint32_t voice_assistant_feature_flags {0}
 
StringRef suggested_area {}
 
StringRef bluetooth_mac_address {}
 
bool api_encryption_supported {false}
 
std::array< DeviceInfo, ESPHOME_DEVICE_COUNT > devices {}
 
std::array< AreaInfo, ESPHOME_AREA_COUNT > areas {}
 
AreaInfo area {}
 
uint32_t zwave_proxy_feature_flags {0}
 
uint32_t zwave_home_id {0}
 

Static Public Attributes

static constexpr uint8_t MESSAGE_TYPE = 10
 
static constexpr uint8_t ESTIMATED_SIZE = 255
 

Detailed Description

Definition at line 485 of file api_pb2.h.

Member Function Documentation

◆ calculate_size()

void esphome::api::DeviceInfoResponse::calculate_size ( ProtoSize & size) const
overridevirtual

Reimplemented from esphome::api::ProtoMessage.

Definition at line 123 of file api_pb2.cpp.

◆ dump_to()

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

Implements esphome::api::ProtoMessage.

Definition at line 803 of file api_pb2_dump.cpp.

◆ encode()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 68 of file api_pb2.cpp.

◆ message_name()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 490 of file api_pb2.h.

Field Documentation

◆ api_encryption_supported

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

Definition at line 524 of file api_pb2.h.

◆ area

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

Definition at line 533 of file api_pb2.h.

◆ areas

std::array<AreaInfo, ESPHOME_AREA_COUNT> esphome::api::DeviceInfoResponse::areas {}

Definition at line 530 of file api_pb2.h.

◆ bluetooth_mac_address

StringRef esphome::api::DeviceInfoResponse::bluetooth_mac_address {}

Definition at line 521 of file api_pb2.h.

◆ bluetooth_proxy_feature_flags

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

Definition at line 510 of file api_pb2.h.

◆ compilation_time

StringRef esphome::api::DeviceInfoResponse::compilation_time {}

Definition at line 495 of file api_pb2.h.

◆ devices

std::array<DeviceInfo, ESPHOME_DEVICE_COUNT> esphome::api::DeviceInfoResponse::devices {}

Definition at line 527 of file api_pb2.h.

◆ esphome_version

StringRef esphome::api::DeviceInfoResponse::esphome_version {}

Definition at line 494 of file api_pb2.h.

◆ ESTIMATED_SIZE

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

Definition at line 488 of file api_pb2.h.

◆ friendly_name

StringRef esphome::api::DeviceInfoResponse::friendly_name {}

Definition at line 513 of file api_pb2.h.

◆ has_deep_sleep

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

Definition at line 498 of file api_pb2.h.

◆ mac_address

StringRef esphome::api::DeviceInfoResponse::mac_address {}

Definition at line 493 of file api_pb2.h.

◆ manufacturer

StringRef esphome::api::DeviceInfoResponse::manufacturer {}

Definition at line 512 of file api_pb2.h.

◆ MESSAGE_TYPE

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

Definition at line 487 of file api_pb2.h.

◆ model

StringRef esphome::api::DeviceInfoResponse::model {}

Definition at line 496 of file api_pb2.h.

◆ name

StringRef esphome::api::DeviceInfoResponse::name {}

Definition at line 492 of file api_pb2.h.

◆ project_name

StringRef esphome::api::DeviceInfoResponse::project_name {}

Definition at line 501 of file api_pb2.h.

◆ project_version

StringRef esphome::api::DeviceInfoResponse::project_version {}

Definition at line 504 of file api_pb2.h.

◆ suggested_area

StringRef esphome::api::DeviceInfoResponse::suggested_area {}

Definition at line 518 of file api_pb2.h.

◆ voice_assistant_feature_flags

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

Definition at line 515 of file api_pb2.h.

◆ webserver_port

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

Definition at line 507 of file api_pb2.h.

◆ zwave_home_id

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

Definition at line 539 of file api_pb2.h.

◆ zwave_proxy_feature_flags

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

Definition at line 536 of file api_pb2.h.


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