ESPHome  2021.11.3
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::ble_client::BLEClient

Public Member Functions

virtual void 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 connect ()=0
 
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
 
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 151 of file esp32_ble_tracker.h.

Member Function Documentation

◆ connect()

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

◆ gattc_event_handler()

virtual void 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()

void esphome::esp32_ble_tracker::ESPBTClient::set_state ( ClientState  st)
inline

Definition at line 156 of file esp32_ble_tracker.h.

◆ state()

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

Definition at line 157 of file esp32_ble_tracker.h.

Field Documentation

◆ app_id

int esphome::esp32_ble_tracker::ESPBTClient::app_id

Definition at line 158 of file esp32_ble_tracker.h.

◆ state_

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

Definition at line 161 of file esp32_ble_tracker.h.


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