ESPHome
2024.11.0
esphome
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/esp32_ble_tracker/esp32_ble_tracker.h
"
6
#include "
esphome/core/component.h
"
7
8
#ifdef USE_ESP32
9
10
namespace
esphome
{
11
namespace
mopeka_ble {
12
13
class
MopekaListener
:
public
esp32_ble_tracker::ESPBTDeviceListener
{
14
public
:
15
bool
parse_device
(
const
esp32_ble_tracker::ESPBTDevice
&device)
override
;
16
void
set_show_sensors_without_sync
(
bool
show_sensors_without_sync) {
17
show_sensors_without_sync_
= show_sensors_without_sync;
18
}
19
20
protected
:
21
bool
show_sensors_without_sync_
;
22
};
23
24
}
// namespace mopeka_ble
25
}
// namespace esphome
26
27
#endif
esphome::mopeka_ble::MopekaListener::show_sensors_without_sync_
bool show_sensors_without_sync_
Definition:
mopeka_ble.h:21
esp32_ble_tracker.h
esphome::mopeka_ble::MopekaListener::set_show_sensors_without_sync
void set_show_sensors_without_sync(bool show_sensors_without_sync)
Definition:
mopeka_ble.h:16
esphome::esp32_ble_tracker::ESPBTDeviceListener
Definition:
esp32_ble_tracker.h:120
esphome::mopeka_ble::MopekaListener::parse_device
bool parse_device(const esp32_ble_tracker::ESPBTDevice &device) override
Parse all incoming BLE payloads to see if it is a Mopeka BLE advertisement.
Definition:
mopeka_ble.cpp:38
esphome::esp32_ble_tracker::ESPBTDevice
Definition:
esp32_ble_tracker.h:63
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
component.h
esphome::mopeka_ble::MopekaListener
Definition:
mopeka_ble.h:13
Generated by
1.8.13