ESPHome 2026.3.0
Loading...
Searching...
No Matches
esphome::api::ExecuteServiceResponse Class Referencefinal

#include <api_pb2.h>

Inheritance diagram for esphome::api::ExecuteServiceResponse:
esphome::api::ProtoMessage

Public Member Functions

const char * message_name () const override
 
void encode (ProtoWriteBuffer &buffer) const
 
uint32_t calculate_size () const
 
const char * dump_to (DumpBuffer &out) const override
 
- Public Member Functions inherited from esphome::api::ProtoMessage
void encode (ProtoWriteBuffer &buffer) const
 
uint32_t calculate_size () const
 

Data Fields

uint32_t call_id {0}
 
bool success {false}
 
StringRef error_message {}
 
const uint8_t * response_data {nullptr}
 
uint16_t response_data_len {0}
 

Static Public Attributes

static constexpr uint8_t MESSAGE_TYPE = 131
 
static constexpr uint8_t ESTIMATED_SIZE = 34
 

Additional Inherited Members

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

Detailed Description

Definition at line 1293 of file api_pb2.h.

Member Function Documentation

◆ calculate_size()

uint32_t esphome::api::ExecuteServiceResponse::calculate_size ( ) const

Definition at line 1258 of file api_pb2.cpp.

◆ dump_to()

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

Implements esphome::api::ProtoMessage.

Definition at line 1429 of file api_pb2_dump.cpp.

◆ encode()

void esphome::api::ExecuteServiceResponse::encode ( ProtoWriteBuffer & buffer) const

Definition at line 1250 of file api_pb2.cpp.

◆ message_name()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 1298 of file api_pb2.h.

Field Documentation

◆ call_id

uint32_t esphome::api::ExecuteServiceResponse::call_id {0}

Definition at line 1300 of file api_pb2.h.

◆ error_message

StringRef esphome::api::ExecuteServiceResponse::error_message {}

Definition at line 1302 of file api_pb2.h.

◆ ESTIMATED_SIZE

uint8_t esphome::api::ExecuteServiceResponse::ESTIMATED_SIZE = 34
staticconstexpr

Definition at line 1296 of file api_pb2.h.

◆ MESSAGE_TYPE

uint8_t esphome::api::ExecuteServiceResponse::MESSAGE_TYPE = 131
staticconstexpr

Definition at line 1295 of file api_pb2.h.

◆ response_data

const uint8_t* esphome::api::ExecuteServiceResponse::response_data {nullptr}

Definition at line 1304 of file api_pb2.h.

◆ response_data_len

uint16_t esphome::api::ExecuteServiceResponse::response_data_len {0}

Definition at line 1305 of file api_pb2.h.

◆ success

bool esphome::api::ExecuteServiceResponse::success {false}

Definition at line 1301 of file api_pb2.h.


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