ESPHome 2026.3.3
Loading...
Searching...
No Matches
esphome::api::BluetoothGATTWriteRequest Class Referencefinal

#include <api_pb2.h>

Inheritance diagram for esphome::api::BluetoothGATTWriteRequest:
esphome::api::ProtoDecodableMessage esphome::api::ProtoMessage

Public Member Functions

const char * message_name () const override
 
const char * dump_to (DumpBuffer &out) const override
 
- Public Member Functions inherited from esphome::api::ProtoDecodableMessage
virtual void decode (const uint8_t *buffer, size_t length)
 
- Public Member Functions inherited from esphome::api::ProtoMessage
void encode (ProtoWriteBuffer &buffer) const
 
uint32_t calculate_size () const
 

Data Fields

uint64_t address {0}
 
uint32_t handle {0}
 
bool response {false}
 
const uint8_t * data {nullptr}
 
uint16_t data_len {0}
 

Static Public Attributes

static constexpr uint8_t MESSAGE_TYPE = 75
 
static constexpr uint8_t ESTIMATED_SIZE = 29
 

Protected Member Functions

bool decode_length (uint32_t field_id, ProtoLengthDelimited value) override
 
bool decode_varint (uint32_t field_id, proto_varint_value_t value) override
 
- Protected Member Functions inherited from esphome::api::ProtoDecodableMessage
 ~ProtoDecodableMessage ()=default
 
virtual bool decode_32bit (uint32_t field_id, Proto32Bit value)
 
- Protected Member Functions inherited from esphome::api::ProtoMessage
 ~ProtoMessage ()=default
 

Additional Inherited Members

- Static Public Member Functions inherited from esphome::api::ProtoDecodableMessage
static uint32_t count_repeated_field (const uint8_t *buffer, size_t length, uint32_t target_field_id)
 Count occurrences of a repeated field in a protobuf buffer.
 

Detailed Description

Definition at line 2082 of file api_pb2.h.

Member Function Documentation

◆ decode_length()

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

Reimplemented from esphome::api::ProtoDecodableMessage.

Definition at line 2457 of file api_pb2.cpp.

◆ decode_varint()

bool esphome::api::BluetoothGATTWriteRequest::decode_varint ( uint32_t field_id,
proto_varint_value_t value )
overrideprotectedvirtual

Reimplemented from esphome::api::ProtoDecodableMessage.

Definition at line 2441 of file api_pb2.cpp.

◆ dump_to()

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

Implements esphome::api::ProtoMessage.

Definition at line 1986 of file api_pb2_dump.cpp.

◆ message_name()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 2087 of file api_pb2.h.

Field Documentation

◆ address

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

Definition at line 2089 of file api_pb2.h.

◆ data

const uint8_t* esphome::api::BluetoothGATTWriteRequest::data {nullptr}

Definition at line 2092 of file api_pb2.h.

◆ data_len

uint16_t esphome::api::BluetoothGATTWriteRequest::data_len {0}

Definition at line 2093 of file api_pb2.h.

◆ ESTIMATED_SIZE

uint8_t esphome::api::BluetoothGATTWriteRequest::ESTIMATED_SIZE = 29
staticconstexpr

Definition at line 2085 of file api_pb2.h.

◆ handle

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

Definition at line 2090 of file api_pb2.h.

◆ MESSAGE_TYPE

uint8_t esphome::api::BluetoothGATTWriteRequest::MESSAGE_TYPE = 75
staticconstexpr

Definition at line 2084 of file api_pb2.h.

◆ response

bool esphome::api::BluetoothGATTWriteRequest::response {false}

Definition at line 2091 of file api_pb2.h.


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