ESPHome  2024.11.0
Public Member Functions | Data Fields | Protected Attributes
esphome::esp32_ble_tracker::ESPBTClient Class Referenceabstract

#include <esp32_ble_tracker.h>

Inheritance diagram for esphome::esp32_ble_tracker::ESPBTClient:
esphome::esp32_ble_tracker::ESPBTDeviceListener esphome::esp32_ble_client::BLEClientBase esphome::ble_client::BLEClient esphome::bluetooth_proxy::BluetoothConnection

Public Member Functions

virtual bool gattc_event_handler (esp_gattc_cb_event_t event, esp_gatt_if_t gattc_if, esp_ble_gattc_cb_param_t *param)=0
 
virtual void gap_event_handler (esp_gap_ble_cb_event_t event, esp_ble_gap_cb_param_t *param)=0
 
virtual void connect ()=0
 
virtual void disconnect ()=0
 
virtual void set_state (ClientState st)
 
ClientState state () const
 
- Public Member Functions inherited from esphome::esp32_ble_tracker::ESPBTDeviceListener
virtual void on_scan_end ()
 
virtual bool parse_device (const ESPBTDevice &device)=0
 
virtual bool parse_devices (esp_ble_gap_cb_param_t::ble_scan_result_evt_param *advertisements, size_t count)
 
virtual AdvertisementParserType get_advertisement_parser_type ()
 
void set_parent (ESP32BLETracker *parent)
 

Data Fields

int app_id
 

Protected Attributes

ClientState state_
 
- Protected Attributes inherited from esphome::esp32_ble_tracker::ESPBTDeviceListener
ESP32BLETrackerparent_ {nullptr}
 

Detailed Description

Definition at line 169 of file esp32_ble_tracker.h.

Member Function Documentation

◆ connect()

virtual void esphome::esp32_ble_tracker::ESPBTClient::connect ( )
pure virtual

◆ disconnect()

virtual void esphome::esp32_ble_tracker::ESPBTClient::disconnect ( )
pure virtual

◆ gap_event_handler()

virtual void esphome::esp32_ble_tracker::ESPBTClient::gap_event_handler ( esp_gap_ble_cb_event_t  event,
esp_ble_gap_cb_param_t *  param 
)
pure virtual

◆ gattc_event_handler()

virtual bool esphome::esp32_ble_tracker::ESPBTClient::gattc_event_handler ( esp_gattc_cb_event_t  event,
esp_gatt_if_t  gattc_if,
esp_ble_gattc_cb_param_t *  param 
)
pure virtual

◆ set_state()

virtual void esphome::esp32_ble_tracker::ESPBTClient::set_state ( ClientState  st)
inlinevirtual

Reimplemented in esphome::ble_client::BLEClient.

Definition at line 176 of file esp32_ble_tracker.h.

◆ state()

ClientState esphome::esp32_ble_tracker::ESPBTClient::state ( ) const
inline

Definition at line 177 of file esp32_ble_tracker.h.

Field Documentation

◆ app_id

int esphome::esp32_ble_tracker::ESPBTClient::app_id

Definition at line 178 of file esp32_ble_tracker.h.

◆ state_

ClientState esphome::esp32_ble_tracker::ESPBTClient::state_
protected

Definition at line 181 of file esp32_ble_tracker.h.


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