ESPHome  2022.9.1
Public Member Functions | Data Fields | Protected Member Functions
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 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}
 
bool has_bluetooth_proxy {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 254 of file api_pb2.h.

Member Function Documentation

◆ decode_length()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 506 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 484 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 554 of file api_pb2.cpp.

◆ encode()

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

Implements esphome::api::ProtoMessage.

Definition at line 540 of file api_pb2.cpp.

Field Documentation

◆ compilation_time

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

Definition at line 260 of file api_pb2.h.

◆ esphome_version

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

Definition at line 259 of file api_pb2.h.

◆ has_bluetooth_proxy

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

Definition at line 266 of file api_pb2.h.

◆ has_deep_sleep

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

Definition at line 262 of file api_pb2.h.

◆ mac_address

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

Definition at line 258 of file api_pb2.h.

◆ model

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

Definition at line 261 of file api_pb2.h.

◆ name

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

Definition at line 257 of file api_pb2.h.

◆ project_name

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

Definition at line 263 of file api_pb2.h.

◆ project_version

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

Definition at line 264 of file api_pb2.h.

◆ uses_password

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

Definition at line 256 of file api_pb2.h.

◆ webserver_port

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

Definition at line 265 of file api_pb2.h.


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