|
ESPHome 2025.10.3
|
#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) |
Public Member Functions inherited from esphome::esp32_ble_tracker::ESPBTDeviceListener | |
| virtual void | on_scan_end () |
| virtual bool | parse_devices (const BLEScanResult *scan_results, size_t count) |
| virtual AdvertisementParserType | get_advertisement_parser_type () |
| void | set_parent (ESP32BLETracker *parent) |
Protected Attributes | |
| bool | show_sensors_without_sync_ |
Protected Attributes inherited from esphome::esp32_ble_tracker::ESPBTDeviceListener | |
| 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.