ESPHome  2024.11.0
Public Member Functions | Data Fields
esphome::esp32_ble_client::BLEService Class Reference

#include <ble_service.h>

Public Member Functions

 ~BLEService ()
 
void parse_characteristics ()
 
void release_characteristics ()
 
BLECharacteristicget_characteristic (espbt::ESPBTUUID uuid)
 
BLECharacteristicget_characteristic (uint16_t uuid)
 

Data Fields

bool parsed = false
 
espbt::ESPBTUUID uuid
 
uint16_t start_handle
 
uint16_t end_handle
 
std::vector< BLECharacteristic * > characteristics
 
BLEClientBaseclient
 

Detailed Description

Definition at line 18 of file ble_service.h.

Constructor & Destructor Documentation

◆ ~BLEService()

esphome::esp32_ble_client::BLEService::~BLEService ( )

Definition at line 27 of file ble_service.cpp.

Member Function Documentation

◆ get_characteristic() [1/2]

BLECharacteristic * esphome::esp32_ble_client::BLEService::get_characteristic ( espbt::ESPBTUUID  uuid)

Definition at line 13 of file ble_service.cpp.

◆ get_characteristic() [2/2]

BLECharacteristic * esphome::esp32_ble_client::BLEService::get_characteristic ( uint16_t  uuid)

Definition at line 23 of file ble_service.cpp.

◆ parse_characteristics()

void esphome::esp32_ble_client::BLEService::parse_characteristics ( )

Definition at line 39 of file ble_service.cpp.

◆ release_characteristics()

void esphome::esp32_ble_client::BLEService::release_characteristics ( )

Definition at line 32 of file ble_service.cpp.

Field Documentation

◆ characteristics

std::vector<BLECharacteristic *> esphome::esp32_ble_client::BLEService::characteristics

Definition at line 25 of file ble_service.h.

◆ client

BLEClientBase* esphome::esp32_ble_client::BLEService::client

Definition at line 26 of file ble_service.h.

◆ end_handle

uint16_t esphome::esp32_ble_client::BLEService::end_handle

Definition at line 24 of file ble_service.h.

◆ parsed

bool esphome::esp32_ble_client::BLEService::parsed = false

Definition at line 21 of file ble_service.h.

◆ start_handle

uint16_t esphome::esp32_ble_client::BLEService::start_handle

Definition at line 23 of file ble_service.h.

◆ uuid

espbt::ESPBTUUID esphome::esp32_ble_client::BLEService::uuid

Definition at line 22 of file ble_service.h.


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