ESPHome  2022.9.2
Public Member Functions | Protected Attributes
esphome::esp32_ble_tracker::ESPBTAdvertiseTrigger Class Reference

#include <automation.h>

Inheritance diagram for esphome::esp32_ble_tracker::ESPBTAdvertiseTrigger:
esphome::Trigger< const ESPBTDevice &> esphome::esp32_ble_tracker::ESPBTDeviceListener

Public Member Functions

 ESPBTAdvertiseTrigger (ESP32BLETracker *parent)
void set_address (uint64_t address)
bool parse_device (const ESPBTDevice &device) override
- Public Member Functions inherited from esphome::Trigger< const ESPBTDevice &>
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::esp32_ble_tracker::ESPBTDeviceListener
virtual void on_scan_end ()
void set_parent (ESP32BLETracker *parent)

Protected Attributes

uint64_t address_ = 0
- Protected Attributes inherited from esphome::Trigger< const ESPBTDevice &>
Automation< Ts... > * automation_parent_
- Protected Attributes inherited from esphome::esp32_ble_tracker::ESPBTDeviceListener
ESP32BLETrackerparent_ {nullptr}

Detailed Description

Definition at line 10 of file automation.h.

Constructor & Destructor Documentation

◆ ESPBTAdvertiseTrigger()

esphome::esp32_ble_tracker::ESPBTAdvertiseTrigger::ESPBTAdvertiseTrigger ( ESP32BLETracker parent)

Definition at line 12 of file automation.h.

Member Function Documentation

◆ parse_device()

bool esphome::esp32_ble_tracker::ESPBTAdvertiseTrigger::parse_device ( const ESPBTDevice device)

Implements esphome::esp32_ble_tracker::ESPBTDeviceListener.

Definition at line 15 of file automation.h.

◆ set_address()

void esphome::esp32_ble_tracker::ESPBTAdvertiseTrigger::set_address ( uint64_t  address)

Definition at line 13 of file automation.h.

Field Documentation

◆ address_

uint64_t esphome::esp32_ble_tracker::ESPBTAdvertiseTrigger::address_ = 0

Definition at line 24 of file automation.h.

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