ESPHome  2024.10.2
Public Member Functions | Protected Attributes
esphome::esp32_ble_tracker::ESPBTDeviceListener Class Referenceabstract

#include <esp32_ble_tracker.h>

Inheritance diagram for esphome::esp32_ble_tracker::ESPBTDeviceListener:
esphome::airthings_ble::AirthingsListener esphome::atc_mithermometer::ATCMiThermometer esphome::b_parasite::BParasite esphome::ble_presence::BLEPresenceDevice esphome::ble_rssi::BLERSSISensor esphome::ble_scanner::BLEScanner esphome::bluetooth_proxy::BluetoothProxy esphome::esp32_ble_tracker::BLEEndOfScanTrigger esphome::esp32_ble_tracker::BLEManufacturerDataAdvertiseTrigger esphome::esp32_ble_tracker::BLEServiceDataAdvertiseTrigger esphome::esp32_ble_tracker::ESPBTAdvertiseTrigger esphome::esp32_ble_tracker::ESPBTClient esphome::exposure_notifications::ExposureNotificationTrigger esphome::inkbird_ibsth1_mini::InkbirdIbstH1Mini esphome::mopeka_ble::MopekaListener esphome::mopeka_pro_check::MopekaProCheck esphome::mopeka_std_check::MopekaStdCheck esphome::pvvx_mithermometer::PVVXMiThermometer esphome::radon_eye_ble::RadonEyeListener esphome::ruuvi_ble::RuuviListener esphome::ruuvitag::RuuviTag esphome::xiaomi_ble::XiaomiListener esphome::xiaomi_cgd1::XiaomiCGD1 esphome::xiaomi_cgdk2::XiaomiCGDK2 esphome::xiaomi_cgg1::XiaomiCGG1 esphome::xiaomi_cgpr1::XiaomiCGPR1 esphome::xiaomi_gcls002::XiaomiGCLS002 esphome::xiaomi_hhccjcy01::XiaomiHHCCJCY01 esphome::xiaomi_hhccjcy10::XiaomiHHCCJCY10 esphome::xiaomi_hhccpot002::XiaomiHHCCPOT002 esphome::xiaomi_jqjcy01ym::XiaomiJQJCY01YM esphome::xiaomi_lywsd02::XiaomiLYWSD02 esphome::xiaomi_lywsd02mmc::XiaomiLYWSD02MMC esphome::xiaomi_lywsd03mmc::XiaomiLYWSD03MMC esphome::xiaomi_lywsdcgq::XiaomiLYWSDCGQ esphome::xiaomi_mhoc303::XiaomiMHOC303 esphome::xiaomi_mhoc401::XiaomiMHOC401 esphome::xiaomi_miscale::XiaomiMiscale esphome::xiaomi_mjyd02yla::XiaomiMJYD02YLA esphome::xiaomi_mue4094rt::XiaomiMUE4094RT esphome::xiaomi_rtcgq02lm::XiaomiRTCGQ02LM esphome::xiaomi_wx08zm::XiaomiWX08ZM

Public Member Functions

virtual void on_scan_end ()
 
virtual bool parse_device (const ESPBTDevice &device)=0
 
virtual bool parse_devices (esp_ble_gap_cb_param_t::ble_scan_result_evt_param *advertisements, size_t count)
 
virtual AdvertisementParserType get_advertisement_parser_type ()
 
void set_parent (ESP32BLETracker *parent)
 

Protected Attributes

ESP32BLETrackerparent_ {nullptr}
 

Detailed Description

Definition at line 120 of file esp32_ble_tracker.h.

Member Function Documentation

◆ get_advertisement_parser_type()

virtual AdvertisementParserType esphome::esp32_ble_tracker::ESPBTDeviceListener::get_advertisement_parser_type ( )
inlinevirtual

◆ on_scan_end()

virtual void esphome::esp32_ble_tracker::ESPBTDeviceListener::on_scan_end ( )
inlinevirtual

◆ parse_device()

virtual bool esphome::esp32_ble_tracker::ESPBTDeviceListener::parse_device ( const ESPBTDevice device)
pure virtual

Implemented in esphome::esp32_ble_tracker::BLEEndOfScanTrigger, esphome::xiaomi_ble::XiaomiListener, esphome::esp32_ble_tracker::BLEManufacturerDataAdvertiseTrigger, esphome::ble_client::BLEClient, esphome::ble_presence::BLEPresenceDevice, esphome::ble_rssi::BLERSSISensor, esphome::bluetooth_proxy::BluetoothProxy, esphome::mopeka_std_check::MopekaStdCheck, esphome::esp32_ble_tracker::BLEServiceDataAdvertiseTrigger, esphome::mopeka_pro_check::MopekaProCheck, esphome::esp32_ble_client::BLEClientBase, esphome::ruuvi_ble::RuuviListener, esphome::atc_mithermometer::ATCMiThermometer, esphome::pvvx_mithermometer::PVVXMiThermometer, esphome::xiaomi_miscale::XiaomiMiscale, esphome::xiaomi_rtcgq02lm::XiaomiRTCGQ02LM, esphome::exposure_notifications::ExposureNotificationTrigger, esphome::xiaomi_cgpr1::XiaomiCGPR1, esphome::xiaomi_mjyd02yla::XiaomiMJYD02YLA, esphome::xiaomi_wx08zm::XiaomiWX08ZM, esphome::xiaomi_mue4094rt::XiaomiMUE4094RT, esphome::xiaomi_cgd1::XiaomiCGD1, esphome::xiaomi_cgdk2::XiaomiCGDK2, esphome::xiaomi_cgg1::XiaomiCGG1, esphome::xiaomi_lywsd02mmc::XiaomiLYWSD02MMC, esphome::xiaomi_lywsd03mmc::XiaomiLYWSD03MMC, esphome::xiaomi_mhoc401::XiaomiMHOC401, esphome::b_parasite::BParasite, esphome::ble_scanner::BLEScanner, esphome::ruuvitag::RuuviTag, esphome::xiaomi_gcls002::XiaomiGCLS002, esphome::xiaomi_hhccjcy01::XiaomiHHCCJCY01, esphome::xiaomi_hhccpot002::XiaomiHHCCPOT002, esphome::xiaomi_jqjcy01ym::XiaomiJQJCY01YM, esphome::xiaomi_lywsd02::XiaomiLYWSD02, esphome::xiaomi_lywsdcgq::XiaomiLYWSDCGQ, esphome::xiaomi_mhoc303::XiaomiMHOC303, esphome::inkbird_ibsth1_mini::InkbirdIbstH1Mini, esphome::xiaomi_hhccjcy10::XiaomiHHCCJCY10, esphome::esp32_ble_tracker::ESPBTAdvertiseTrigger, esphome::mopeka_ble::MopekaListener, esphome::airthings_ble::AirthingsListener, and esphome::radon_eye_ble::RadonEyeListener.

◆ parse_devices()

virtual bool esphome::esp32_ble_tracker::ESPBTDeviceListener::parse_devices ( esp_ble_gap_cb_param_t::ble_scan_result_evt_param *  advertisements,
size_t  count 
)
inlinevirtual

Reimplemented in esphome::bluetooth_proxy::BluetoothProxy.

Definition at line 124 of file esp32_ble_tracker.h.

◆ set_parent()

void esphome::esp32_ble_tracker::ESPBTDeviceListener::set_parent ( ESP32BLETracker parent)
inline

Definition at line 130 of file esp32_ble_tracker.h.

Field Documentation

◆ parent_

ESP32BLETracker* esphome::esp32_ble_tracker::ESPBTDeviceListener::parent_ {nullptr}
protected

Definition at line 133 of file esp32_ble_tracker.h.


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