ESPHome 2025.5.0
Loading...
Searching...
No Matches
exposure_notifications.h
Go to the documentation of this file.
1#pragma once
2
6#include <array>
7
8#ifdef USE_ESP32
9
10namespace esphome {
11namespace exposure_notifications {
12
14 std::array<uint8_t, 6> address;
15 int rssi;
16 std::array<uint8_t, 16> rolling_proximity_identifier;
17 std::array<uint8_t, 4> associated_encrypted_metadata;
18};
19
20class ExposureNotificationTrigger : public Trigger<ExposureNotification>,
22 public:
23 bool parse_device(const esp32_ble_tracker::ESPBTDevice &device) override;
24};
25
26} // namespace exposure_notifications
27} // namespace esphome
28
29#endif
bool parse_device(const esp32_ble_tracker::ESPBTDevice &device) override
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7