ESPHome 2026.8.0b4
Loading...
Searching...
No Matches
esphome::bluetooth_connection::StubGattBackend Class Reference

#include <bluetooth_connection_gatt_backend.h>

Public Member Functions

void set_listener (ble_device_base::GattClientListener *listener)
 
int connect (uint64_t address, uint8_t addr_type)
 
int gatt_disconnect ()
 
bool cancel_gatt_disconnect ()
 
int discover_services ()
 
int read_characteristic (uint16_t handle)
 
int write_characteristic (uint16_t handle, const uint8_t *data, uint16_t len, bool response)
 
int read_descriptor (uint16_t handle)
 
int write_descriptor (uint16_t handle, const uint8_t *data, uint16_t len)
 
int notify_characteristic (uint16_t handle, bool enable)
 
int pair ()
 
int update_connection_params (uint16_t min_interval, uint16_t max_interval, uint16_t latency, uint16_t timeout)
 
ble_device_base::GattServiceTable get_service_table ()
 
void set_connection_type (ble_device_base::ConnectionType ct)
 
void release_services ()
 

Detailed Description

Definition at line 27 of file bluetooth_connection_gatt_backend.h.

Member Function Documentation

◆ cancel_gatt_disconnect()

bool esphome::bluetooth_connection::StubGattBackend::cancel_gatt_disconnect ( )
inline

Definition at line 32 of file bluetooth_connection_gatt_backend.h.

◆ connect()

int esphome::bluetooth_connection::StubGattBackend::connect ( uint64_t address,
uint8_t addr_type )
inline

Definition at line 30 of file bluetooth_connection_gatt_backend.h.

◆ discover_services()

int esphome::bluetooth_connection::StubGattBackend::discover_services ( )
inline

Definition at line 33 of file bluetooth_connection_gatt_backend.h.

◆ gatt_disconnect()

int esphome::bluetooth_connection::StubGattBackend::gatt_disconnect ( )
inline

Definition at line 31 of file bluetooth_connection_gatt_backend.h.

◆ get_service_table()

ble_device_base::GattServiceTable esphome::bluetooth_connection::StubGattBackend::get_service_table ( )
inline

Definition at line 47 of file bluetooth_connection_gatt_backend.h.

◆ notify_characteristic()

int esphome::bluetooth_connection::StubGattBackend::notify_characteristic ( uint16_t handle,
bool enable )
inline

Definition at line 42 of file bluetooth_connection_gatt_backend.h.

◆ pair()

int esphome::bluetooth_connection::StubGattBackend::pair ( )
inline

Definition at line 43 of file bluetooth_connection_gatt_backend.h.

◆ read_characteristic()

int esphome::bluetooth_connection::StubGattBackend::read_characteristic ( uint16_t handle)
inline

Definition at line 34 of file bluetooth_connection_gatt_backend.h.

◆ read_descriptor()

int esphome::bluetooth_connection::StubGattBackend::read_descriptor ( uint16_t handle)
inline

Definition at line 38 of file bluetooth_connection_gatt_backend.h.

◆ release_services()

void esphome::bluetooth_connection::StubGattBackend::release_services ( )
inline

Definition at line 49 of file bluetooth_connection_gatt_backend.h.

◆ set_connection_type()

void esphome::bluetooth_connection::StubGattBackend::set_connection_type ( ble_device_base::ConnectionType ct)
inline

Definition at line 48 of file bluetooth_connection_gatt_backend.h.

◆ set_listener()

void esphome::bluetooth_connection::StubGattBackend::set_listener ( ble_device_base::GattClientListener * listener)
inline

Definition at line 29 of file bluetooth_connection_gatt_backend.h.

◆ update_connection_params()

int esphome::bluetooth_connection::StubGattBackend::update_connection_params ( uint16_t min_interval,
uint16_t max_interval,
uint16_t latency,
uint16_t timeout )
inline

Definition at line 44 of file bluetooth_connection_gatt_backend.h.

◆ write_characteristic()

int esphome::bluetooth_connection::StubGattBackend::write_characteristic ( uint16_t handle,
const uint8_t * data,
uint16_t len,
bool response )
inline

Definition at line 35 of file bluetooth_connection_gatt_backend.h.

◆ write_descriptor()

int esphome::bluetooth_connection::StubGattBackend::write_descriptor ( uint16_t handle,
const uint8_t * data,
uint16_t len )
inline

Definition at line 39 of file bluetooth_connection_gatt_backend.h.


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