ESPHome 2025.5.0
|
#include <mopeka_ble.h>
Public Member Functions | |
bool | parse_device (const esp32_ble_tracker::ESPBTDevice &device) override |
Parse all incoming BLE payloads to see if it is a Mopeka BLE advertisement. | |
void | set_show_sensors_without_sync (bool show_sensors_without_sync) |
![]() | |
virtual void | on_scan_end () |
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 | |
bool | show_sensors_without_sync_ |
![]() | |
ESP32BLETracker * | parent_ {nullptr} |
Definition at line 13 of file mopeka_ble.h.
|
overridevirtual |
Parse all incoming BLE payloads to see if it is a Mopeka BLE advertisement.
Currently this supports the following products:
Mopeka Pro Check - uses the chip NRF52 by Nordic
If the sync button is pressed, report the MAC so a user can add this as a sensor. Or if user has configured show_sensors_without_sync_
than report all visible sensors. Three points are used to identify a sensor:
Bluetooth service uuid
Implements esphome::esp32_ble_tracker::ESPBTDeviceListener.
Definition at line 38 of file mopeka_ble.cpp.
|
inline |
Definition at line 16 of file mopeka_ble.h.
|
protected |
Definition at line 21 of file mopeka_ble.h.