ESPHome 2025.9.0-dev
Loading...
Searching...
No Matches
esphome::api::BluetoothGATTNotifyDataResponse Class Reference

#include <api_pb2.h>

Inheritance diagram for esphome::api::BluetoothGATTNotifyDataResponse:
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 = 79
 
static constexpr uint8_t ESTIMATED_SIZE = 17
 

Detailed Description

Definition at line 2041 of file api_pb2.h.

Member Function Documentation

◆ calculate_size()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 2074 of file api_pb2.cpp.

◆ dump_to()

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

Implements esphome::api::ProtoMessage.

Definition at line 1647 of file api_pb2_dump.cpp.

◆ encode()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 2069 of file api_pb2.cpp.

◆ message_name()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 2046 of file api_pb2.h.

◆ set_data()

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

Definition at line 2052 of file api_pb2.h.

Field Documentation

◆ address

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

Definition at line 2048 of file api_pb2.h.

◆ data_len_

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

Definition at line 2051 of file api_pb2.h.

◆ data_ptr_

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

Definition at line 2050 of file api_pb2.h.

◆ ESTIMATED_SIZE

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

Definition at line 2044 of file api_pb2.h.

◆ handle

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

Definition at line 2049 of file api_pb2.h.

◆ MESSAGE_TYPE

uint8_t esphome::api::BluetoothGATTNotifyDataResponse::MESSAGE_TYPE = 79
staticconstexpr

Definition at line 2043 of file api_pb2.h.


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