esphome-api-client
0.5.0
Modern C++17 client for the ESPHome native API (plaintext + Noise)
Loading...
Searching...
No Matches
include
esphome
api
config.hpp
Go to the documentation of this file.
1
#pragma once
2
5
6
namespace
esphome::api
{
7
11
#if defined(ESPHOME_API_HAS_NOISE)
12
inline
constexpr
bool
noise_supported
=
true
;
13
#else
14
inline
constexpr
bool
noise_supported
=
false
;
15
#endif
16
18
inline
constexpr
unsigned
default_port
= 6053;
19
20
}
// namespace esphome::api
esphome::api
Definition
bytes.hpp:10
esphome::api::default_port
constexpr unsigned default_port
Default TCP port of the ESPHome native API.
Definition
config.hpp:18
esphome::api::noise_supported
constexpr bool noise_supported
True when the library was built with Noise (encrypted-transport) support.
Definition
config.hpp:14
Generated by
1.9.8