ESPHome 2026.5.1
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
11
13 std::array<uint8_t, 6> address;
14 int rssi;
15 std::array<uint8_t, 16> rolling_proximity_identifier;
16 std::array<uint8_t, 4> associated_encrypted_metadata;
17};
18
19class ExposureNotificationTrigger : public Trigger<ExposureNotification>,
21 public:
22 bool parse_device(const esp32_ble_tracker::ESPBTDevice &device) override;
23};
24
25} // namespace esphome::exposure_notifications
26
27#endif
bool parse_device(const esp32_ble_tracker::ESPBTDevice &device) override