ESPHome
2025.2.0
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
api
api_noise_context.h
Go to the documentation of this file.
1
#pragma once
2
#include <cstdint>
3
#include <array>
4
#include "
esphome/core/defines.h
"
5
6
namespace
esphome
{
7
namespace
api {
8
9
#ifdef USE_API_NOISE
10
using
psk_t
= std::array<uint8_t, 32>;
11
12
class
APINoiseContext
{
13
public
:
14
void
set_psk
(
psk_t
psk) {
psk_
= psk; }
15
const
psk_t
&
get_psk
()
const
{
return
psk_
; }
16
17
protected
:
18
psk_t
psk_
;
19
};
20
#endif // USE_API_NOISE
21
22
}
// namespace api
23
}
// namespace esphome
defines.h
esphome::api::APINoiseContext::get_psk
const psk_t & get_psk() const
Definition:
api_noise_context.h:15
esphome::api::APINoiseContext::set_psk
void set_psk(psk_t psk)
Definition:
api_noise_context.h:14
esphome::api::APINoiseContext
Definition:
api_noise_context.h:12
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
esphome::api::APINoiseContext::psk_
psk_t psk_
Definition:
api_noise_context.h:18
esphome::api::psk_t
std::array< uint8_t, 32 > psk_t
Definition:
api_noise_context.h:10
Generated by
1.8.13