ESPHome 2026.10.0
Loading...
Searching...
No Matches
esphome::api::BluetoothGATTService Class Referencefinal

#include <api_pb2.h>

Inheritance diagram for esphome::api::BluetoothGATTService:
esphome::api::ProtoMessage

Public Member Functions

uint8_t * encode (ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
 
uint32_t calculate_size () const
 
const char * dump_to (DumpBuffer &out) const override
 
- Public Member Functions inherited from esphome::api::ProtoMessage
uint8_t * encode (ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
 
uint32_t calculate_size () const
 
virtual const LogString * message_name () const
 

Static Public Member Functions

static uint8_t * encode_msg (const void *self, uint8_t *pos PROTO_ENCODE_DEBUG_PARAM)
 
static uint32_t calc_size_msg (const void *self)
 
- Static Public Member Functions inherited from esphome::api::ProtoMessage
static uint8_t * encode_msg (const void *self, uint8_t *pos PROTO_ENCODE_DEBUG_PARAM)
 
static uint32_t calc_size_msg (const void *self)
 

Data Fields

std::array< uint64_t, 2 > uuid {}
 
uint32_t handle {0}
 
FixedVector< BluetoothGATTCharacteristic > characteristics {}
 
uint32_t short_uuid {0}
 

Additional Inherited Members

- Protected Member Functions inherited from esphome::api::ProtoMessage
 ~ProtoMessage ()=default
 

Detailed Description

Definition at line 2491 of file api_pb2.h.

Member Function Documentation

◆ calc_size_msg()

uint32_t esphome::api::BluetoothGATTService::calc_size_msg ( const void * self)
static

Definition at line 2602 of file api_pb2.cpp.

◆ calculate_size()

uint32_t esphome::api::BluetoothGATTService::calculate_size ( ) const
inline

Definition at line 2502 of file api_pb2.h.

◆ dump_to()

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

Implements esphome::api::ProtoMessage.

Definition at line 2200 of file api_pb2_dump.cpp.

◆ encode()

uint8_t * esphome::api::BluetoothGATTService::encode ( ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
inline

Definition at line 2498 of file api_pb2.h.

◆ encode_msg()

uint8_t * esphome::api::BluetoothGATTService::encode_msg ( const void * self,
uint8_t *pos PROTO_ENCODE_DEBUG_PARAM )
static

Definition at line 2589 of file api_pb2.cpp.

Field Documentation

◆ characteristics

FixedVector<BluetoothGATTCharacteristic> esphome::api::BluetoothGATTService::characteristics {}

Definition at line 2495 of file api_pb2.h.

◆ handle

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

Definition at line 2494 of file api_pb2.h.

◆ short_uuid

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

Definition at line 2496 of file api_pb2.h.

◆ uuid

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

Definition at line 2493 of file api_pb2.h.


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