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

#include <automation.h>

Inheritance diagram for esphome::esp32_ble_tracker::BLEManufacturerDataAdvertiseTrigger:
esphome::Trigger< const adv_data_t &> esphome::esp32_ble_tracker::ESPBTDeviceListener

Public Member Functions

 BLEManufacturerDataAdvertiseTrigger (ESP32BLETracker *parent)
 
void set_address (uint64_t address)
 
void set_manufacturer_uuid16 (uint16_t uuid)
 
void set_manufacturer_uuid32 (uint32_t uuid)
 
void set_manufacturer_uuid128 (uint8_t *uuid)
 
bool parse_device (const ESPBTDevice &device) override
 
- Public Member Functions inherited from esphome::Trigger< const adv_data_t &>
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
 
ESPBTUUID uuid_
 
- Protected Attributes inherited from esphome::Trigger< const adv_data_t &>
Automation< Ts... > * automation_parent_
 
- Protected Attributes inherited from esphome::esp32_ble_tracker::ESPBTDeviceListener
ESP32BLETrackerparent_ {nullptr}
 

Detailed Description

Definition at line 53 of file automation.h.

Constructor & Destructor Documentation

◆ BLEManufacturerDataAdvertiseTrigger()

esphome::esp32_ble_tracker::BLEManufacturerDataAdvertiseTrigger::BLEManufacturerDataAdvertiseTrigger ( ESP32BLETracker parent)
inlineexplicit

Definition at line 55 of file automation.h.

Member Function Documentation

◆ parse_device()

bool esphome::esp32_ble_tracker::BLEManufacturerDataAdvertiseTrigger::parse_device ( const ESPBTDevice device)
inlineoverridevirtual

Implements esphome::esp32_ble_tracker::ESPBTDeviceListener.

Definition at line 61 of file automation.h.

◆ set_address()

void esphome::esp32_ble_tracker::BLEManufacturerDataAdvertiseTrigger::set_address ( uint64_t  address)
inline

Definition at line 56 of file automation.h.

◆ set_manufacturer_uuid128()

void esphome::esp32_ble_tracker::BLEManufacturerDataAdvertiseTrigger::set_manufacturer_uuid128 ( uint8_t *  uuid)
inline

Definition at line 59 of file automation.h.

◆ set_manufacturer_uuid16()

void esphome::esp32_ble_tracker::BLEManufacturerDataAdvertiseTrigger::set_manufacturer_uuid16 ( uint16_t  uuid)
inline

Definition at line 57 of file automation.h.

◆ set_manufacturer_uuid32()

void esphome::esp32_ble_tracker::BLEManufacturerDataAdvertiseTrigger::set_manufacturer_uuid32 ( uint32_t  uuid)
inline

Definition at line 58 of file automation.h.

Field Documentation

◆ address_

uint64_t esphome::esp32_ble_tracker::BLEManufacturerDataAdvertiseTrigger::address_ = 0
protected

Definition at line 75 of file automation.h.

◆ uuid_

ESPBTUUID esphome::esp32_ble_tracker::BLEManufacturerDataAdvertiseTrigger::uuid_
protected

Definition at line 76 of file automation.h.


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