ESPHome  2024.7.1
Public Member Functions
esphome::ble_client::BLEClientDisconnectTrigger Class Reference

#include <automation.h>

Inheritance diagram for esphome::ble_client::BLEClientDisconnectTrigger:
esphome::Trigger<> esphome::ble_client::BLEClientNode

Public Member Functions

 BLEClientDisconnectTrigger (BLEClient *parent)
void loop () override
void gattc_event_handler (esp_gattc_cb_event_t event, esp_gatt_if_t gattc_if, esp_ble_gattc_cb_param_t *param) override
- Public Member Functions inherited from esphome::Trigger<>
void trigger (Ts... x)
 Inform the parent automation that the event has triggered. More...
void set_automation_parent (Automation< Ts... > *automation_parent)
void stop_action ()
 Stop any action connected to this trigger. More...
bool is_action_running ()
 Returns true if any action connected to this trigger is running. More...
- Public Member Functions inherited from esphome::ble_client::BLEClientNode
virtual void gap_event_handler (esp_gap_ble_cb_event_t event, esp_ble_gap_cb_param_t *param)
void set_address (uint64_t address)
BLEClientparent ()
void set_ble_client_parent (BLEClient *parent)

Additional Inherited Members

- Data Fields inherited from esphome::ble_client::BLEClientNode
espbt::ClientState node_state
- Protected Attributes inherited from esphome::Trigger<>
Automation< Ts... > * automation_parent_
- Protected Attributes inherited from esphome::ble_client::BLEClientNode
uint64_t address_

Detailed Description

Definition at line 37 of file automation.h.

Constructor & Destructor Documentation

◆ BLEClientDisconnectTrigger()

esphome::ble_client::BLEClientDisconnectTrigger::BLEClientDisconnectTrigger ( BLEClient parent)

Definition at line 39 of file automation.h.

Member Function Documentation

◆ gattc_event_handler()

void esphome::ble_client::BLEClientDisconnectTrigger::gattc_event_handler ( esp_gattc_cb_event_t  event,
esp_gatt_if_t  gattc_if,
esp_ble_gattc_cb_param_t *  param 

Reimplemented from esphome::ble_client::BLEClientNode.

Definition at line 41 of file automation.h.

◆ loop()

void esphome::ble_client::BLEClientDisconnectTrigger::loop ( )

Reimplemented from esphome::ble_client::BLEClientNode.

Definition at line 40 of file automation.h.

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