ESPHome  2022.8.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::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 gap_event_handler (esp_gap_ble_cb_event_t event, esp_ble_gap_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 154 of file esp32_ble_tracker.h.

Member Function Documentation

◆ connect()

virtual void esphome::esp32_ble_tracker::ESPBTClient::connect ( )
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 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)

Definition at line 160 of file esp32_ble_tracker.h.

◆ state()

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

Definition at line 161 of file esp32_ble_tracker.h.

Field Documentation

◆ app_id

int esphome::esp32_ble_tracker::ESPBTClient::app_id

Definition at line 162 of file esp32_ble_tracker.h.

◆ state_

ClientState esphome::esp32_ble_tracker::ESPBTClient::state_

Definition at line 165 of file esp32_ble_tracker.h.

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