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

#include <api_pb2.h>

Inheritance diagram for esphome::api::BluetoothGATTCharacteristic:
esphome::api::ProtoMessage

Public Member Functions

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
 
virtual const char * message_name () const
 

Data Fields

std::array< uint64_t, 2 > uuid {}
 
uint32_t handle {0}
 
uint32_t properties {0}
 
std::vector< BluetoothGATTDescriptordescriptors {}
 
uint32_t short_uuid {0}
 

Detailed Description

Definition at line 1870 of file api_pb2.h.

Member Function Documentation

◆ calculate_size()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 1924 of file api_pb2.cpp.

◆ dump_to()

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

Implements esphome::api::ProtoMessage.

Definition at line 1566 of file api_pb2_dump.cpp.

◆ encode()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 1912 of file api_pb2.cpp.

Field Documentation

◆ descriptors

std::vector<BluetoothGATTDescriptor> esphome::api::BluetoothGATTCharacteristic::descriptors {}

Definition at line 1875 of file api_pb2.h.

◆ handle

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

Definition at line 1873 of file api_pb2.h.

◆ properties

uint32_t esphome::api::BluetoothGATTCharacteristic::properties {0}

Definition at line 1874 of file api_pb2.h.

◆ short_uuid

uint32_t esphome::api::BluetoothGATTCharacteristic::short_uuid {0}

Definition at line 1876 of file api_pb2.h.

◆ uuid

std::array<uint64_t, 2> esphome::api::BluetoothGATTCharacteristic::uuid {}

Definition at line 1872 of file api_pb2.h.


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