ESPHome
2026.8.0b4
Loading...
Searching...
No Matches
esphome
components
mopeka_ble
mopeka_ble.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <vector>
4
5
#include "
esphome/components/ble_device_base/ble_device.h
"
6
#include "
esphome/core/component.h
"
7
8
namespace
esphome::mopeka_ble
{
9
10
class
MopekaListener
final :
public
ble_device_base::ESPBTDeviceListener
{
11
public
:
12
bool
parse_device
(
const
ble_device_base::ESPBTDevice
&device)
override
;
13
void
set_show_sensors_without_sync
(
bool
show_sensors_without_sync) {
14
show_sensors_without_sync_
= show_sensors_without_sync;
15
}
16
17
protected
:
18
bool
show_sensors_without_sync_
;
19
};
20
21
}
// namespace esphome::mopeka_ble
ble_device.h
esphome::ble_device_base::ESPBTDevice
Definition
ble_device.h:178
esphome::ble_device_base::ESPBTDeviceListener
Definition
ble_device.h:284
esphome::mopeka_ble::MopekaListener
Definition
mopeka_ble.h:10
esphome::mopeka_ble::MopekaListener::show_sensors_without_sync_
bool show_sensors_without_sync_
Definition
mopeka_ble.h:18
esphome::mopeka_ble::MopekaListener::set_show_sensors_without_sync
void set_show_sensors_without_sync(bool show_sensors_without_sync)
Definition
mopeka_ble.h:13
esphome::mopeka_ble::MopekaListener::parse_device
bool parse_device(const ble_device_base::ESPBTDevice &device) override
Parse all incoming BLE payloads to see if it is a Mopeka BLE advertisement.
Definition
mopeka_ble.cpp:35
component.h
esphome::mopeka_ble
Definition
mopeka_ble.cpp:5
Generated by
1.12.0