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

#include <api_pb2.h>

Inheritance diagram for esphome::api::BluetoothGATTService:
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}
 
std::vector< BluetoothGATTCharacteristiccharacteristics {}
 
uint32_t short_uuid {0}
 

Detailed Description

Definition at line 1885 of file api_pb2.h.

Member Function Documentation

◆ calculate_size()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 1945 of file api_pb2.cpp.

◆ dump_to()

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

Implements esphome::api::ProtoMessage.

Definition at line 1580 of file api_pb2_dump.cpp.

◆ encode()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 1934 of file api_pb2.cpp.

Field Documentation

◆ characteristics

std::vector<BluetoothGATTCharacteristic> esphome::api::BluetoothGATTService::characteristics {}

Definition at line 1889 of file api_pb2.h.

◆ handle

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

Definition at line 1888 of file api_pb2.h.

◆ short_uuid

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

Definition at line 1890 of file api_pb2.h.

◆ uuid

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

Definition at line 1887 of file api_pb2.h.


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