ESPHome
2025.2.2
Main Page
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
y
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
d
e
f
i
j
l
m
n
p
q
r
s
t
u
v
+
Enumerations
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
c
d
o
p
s
t
v
w
+
Enumerations
b
c
e
f
i
m
n
p
r
s
t
v
+
Enumerator
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Related Functions
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
+
Functions
_
a
l
m
o
s
t
u
+
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
Typedefs
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Modules
Pages
esphome
esphome
components
exposure_notifications
exposure_notifications.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
esphome/core/component.h
"
4
#include "
esphome/core/automation.h
"
5
#include "
esphome/components/esp32_ble_tracker/esp32_ble_tracker.h
"
6
#include <array>
7
8
#ifdef USE_ESP32
9
10
namespace
esphome
{
11
namespace
exposure_notifications {
12
13
struct
ExposureNotification
{
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
20
class
ExposureNotificationTrigger
:
public
Trigger
<ExposureNotification>,
21
public
esp32_ble_tracker::ESPBTDeviceListener
{
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
esp32_ble_tracker.h
esphome::exposure_notifications::ExposureNotification::rolling_proximity_identifier
std::array< uint8_t, 16 > rolling_proximity_identifier
Definition:
exposure_notifications.h:16
automation.h
esphome::exposure_notifications::ExposureNotification::associated_encrypted_metadata
std::array< uint8_t, 4 > associated_encrypted_metadata
Definition:
exposure_notifications.h:17
esphome::esp32_ble_tracker::ESPBTDeviceListener
Definition:
esp32_ble_tracker.h:120
esphome::exposure_notifications::ExposureNotification::address
std::array< uint8_t, 6 > address
Definition:
exposure_notifications.h:14
esphome::exposure_notifications::ExposureNotification
Definition:
exposure_notifications.h:13
esphome::exposure_notifications::ExposureNotificationTrigger
Definition:
exposure_notifications.h:20
esphome::esp32_ble_tracker::ESPBTDevice
Definition:
esp32_ble_tracker.h:63
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
esphome::Trigger
Definition:
automation.h:92
component.h
esphome::exposure_notifications::ExposureNotification::rssi
int rssi
Definition:
exposure_notifications.h:15
Generated by
1.8.13