ESPHome  2024.3.1
Public Member Functions
esphome::ble_client::BLEClientConnectTrigger Class Reference

#include <automation.h>

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

Public Member Functions

 BLEClientConnectTrigger (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::ESPBTClientclient
 
espbt::ClientState node_state
 
- Protected Attributes inherited from esphome::Trigger<>
Automation< Ts... > * automation_parent_
 
- Protected Attributes inherited from esphome::ble_client::BLEClientNode
BLEClientparent_
 
uint64_t address_
 

Detailed Description

Definition at line 23 of file automation.h.

Constructor & Destructor Documentation

◆ BLEClientConnectTrigger()

esphome::ble_client::BLEClientConnectTrigger::BLEClientConnectTrigger ( BLEClient parent)
inlineexplicit

Definition at line 25 of file automation.h.

Member Function Documentation

◆ gattc_event_handler()

void esphome::ble_client::BLEClientConnectTrigger::gattc_event_handler ( esp_gattc_cb_event_t  event,
esp_gatt_if_t  gattc_if,
esp_ble_gattc_cb_param_t *  param 
)
inlineoverridevirtual

Reimplemented from esphome::ble_client::BLEClientNode.

Definition at line 27 of file automation.h.

◆ loop()

void esphome::ble_client::BLEClientConnectTrigger::loop ( )
inlineoverridevirtual

Reimplemented from esphome::ble_client::BLEClientNode.

Definition at line 26 of file automation.h.


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