antenna-switcher-client 0.5.0
Async C++17 client for the antenna-switcher device over the ESPHome native API
Loading...
Searching...
No Matches
Public Attributes | List of all members
antenna_switcher::Options Struct Reference

Everything needed to reach and authenticate with the device. More...

#include <client.hpp>

Collaboration diagram for antenna_switcher::Options:
Collaboration graph
[legend]

Public Attributes

std::string host
 Device hostname or IP.
 
std::uint16_t port = 6053
 ESPHome native API port.
 
std::string noise_psk
 base64 Noise key (api.encryption.key); empty ⇒ plaintext.
 
std::string client_info = "antenna-switcher-client"
 Identification sent in HelloRequest.
 

Detailed Description

Everything needed to reach and authenticate with the device.

Member Data Documentation

◆ client_info

std::string antenna_switcher::Options::client_info = "antenna-switcher-client"

Identification sent in HelloRequest.

◆ host

std::string antenna_switcher::Options::host

Device hostname or IP.

◆ noise_psk

std::string antenna_switcher::Options::noise_psk

base64 Noise key (api.encryption.key); empty ⇒ plaintext.

◆ port

std::uint16_t antenna_switcher::Options::port = 6053

ESPHome native API port.


The documentation for this struct was generated from the following file: