|
ESPHome 2026.9.1
|
#include <mopeka_ble.h>
Public Member Functions | |
| bool | parse_device (const ble_device_base::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::ble_device_base::ESPBTDeviceListener | |
| virtual | ~ESPBTDeviceListener ()=default |
| virtual void | on_scan_end () |
| Called at the end of each scan duration period. | |
Protected Attributes | |
| bool | show_sensors_without_sync_ |
Definition at line 10 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::ble_device_base::ESPBTDeviceListener.
Definition at line 35 of file mopeka_ble.cpp.
|
inline |
Definition at line 13 of file mopeka_ble.h.
|
protected |
Definition at line 18 of file mopeka_ble.h.