ESPHome 2025.8.0b1
Loading...
Searching...
No Matches
esphome::api::BluetoothGATTReadResponse Class Reference

#include <api_pb2.h>

Inheritance diagram for esphome::api::BluetoothGATTReadResponse:
esphome::api::ProtoMessage

Public Member Functions

const char * message_name () const override
 
void set_data (const uint8_t *data, size_t len)
 
void encode (ProtoWriteBuffer buffer) const override
 
void calculate_size (ProtoSize &size) const override
 
void dump_to (std::string &out) const override
 
- Public Member Functions inherited from esphome::api::ProtoMessage
virtual ~ProtoMessage ()=default
 
std::string dump () const
 

Data Fields

uint64_t address {0}
 
uint32_t handle {0}
 
const uint8_t * data_ptr_ {nullptr}
 
size_t data_len_ {0}
 

Static Public Attributes

static constexpr uint8_t MESSAGE_TYPE = 74
 
static constexpr uint8_t ESTIMATED_SIZE = 17
 

Detailed Description

Definition at line 1948 of file api_pb2.h.

Member Function Documentation

◆ calculate_size()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 1986 of file api_pb2.cpp.

◆ dump_to()

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

Implements esphome::api::ProtoMessage.

Definition at line 1611 of file api_pb2_dump.cpp.

◆ encode()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 1981 of file api_pb2.cpp.

◆ message_name()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 1953 of file api_pb2.h.

◆ set_data()

void esphome::api::BluetoothGATTReadResponse::set_data ( const uint8_t * data,
size_t len )
inline

Definition at line 1959 of file api_pb2.h.

Field Documentation

◆ address

uint64_t esphome::api::BluetoothGATTReadResponse::address {0}

Definition at line 1955 of file api_pb2.h.

◆ data_len_

size_t esphome::api::BluetoothGATTReadResponse::data_len_ {0}

Definition at line 1958 of file api_pb2.h.

◆ data_ptr_

const uint8_t* esphome::api::BluetoothGATTReadResponse::data_ptr_ {nullptr}

Definition at line 1957 of file api_pb2.h.

◆ ESTIMATED_SIZE

uint8_t esphome::api::BluetoothGATTReadResponse::ESTIMATED_SIZE = 17
staticconstexpr

Definition at line 1951 of file api_pb2.h.

◆ handle

uint32_t esphome::api::BluetoothGATTReadResponse::handle {0}

Definition at line 1956 of file api_pb2.h.

◆ MESSAGE_TYPE

uint8_t esphome::api::BluetoothGATTReadResponse::MESSAGE_TYPE = 74
staticconstexpr

Definition at line 1950 of file api_pb2.h.


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