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