mirror of
https://github.com/esphome/esphome.git
synced 2024-12-02 11:44:13 +01:00
1d2e0f74ea
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
22 lines
477 B
C++
22 lines
477 B
C++
#pragma once
|
|
|
|
#include "esphome/core/component.h"
|
|
#include "esphome/components/esp32_ble_tracker/esp32_ble_tracker.h"
|
|
|
|
#ifdef USE_ESP32
|
|
|
|
namespace esphome {
|
|
namespace mopeka_ble {
|
|
|
|
class MopekaListener : public esp32_ble_tracker::ESPBTDeviceListener {
|
|
public:
|
|
bool parse_device(const esp32_ble_tracker::ESPBTDevice &device) override;
|
|
|
|
protected:
|
|
bool parse_sync_button_(const std::vector<uint8_t> &message);
|
|
};
|
|
|
|
} // namespace mopeka_ble
|
|
} // namespace esphome
|
|
|
|
#endif
|