|
antenna-switcher-client 0.5.0
Async C++17 client for the antenna-switcher device over the ESPHome native API
|
Domain-specific async client for the antenna-switcher ESP32 device.
More...
#include <cstdint>#include <functional>#include <memory>#include <string>#include <vector>
Go to the source code of this file.
Classes | |
| struct | antenna_switcher::PlanStep |
| One step of a plan: either switch to an input, or wait for a delay. More... | |
| struct | antenna_switcher::ChannelState |
| A snapshot of one channel's live state. More... | |
| struct | antenna_switcher::Options |
| Everything needed to reach and authenticate with the device. More... | |
| class | antenna_switcher::AntennaSwitcher |
| Async, event-driven controller for the antenna-switcher device. More... | |
Namespaces | |
| namespace | antenna_switcher |
| namespace | antenna_switcher::detail |
| Command-string builders — pure, device-free, and unit-tested offline. | |
Enumerations | |
| enum class | antenna_switcher::Channel { antenna_switcher::One = 1 , antenna_switcher::Two = 2 } |
| One of the two switchers on the device. More... | |
| enum class | antenna_switcher::TimeUnit { antenna_switcher::Ms , antenna_switcher::Us } |
| Time unit for auto-cycle intervals and plan delays. More... | |
| enum class | antenna_switcher::Mode { antenna_switcher::Manual , antenna_switcher::Auto , antenna_switcher::Plan , antenna_switcher::Unknown } |
| Operating mode reported by the device. More... | |
Domain-specific async client for the antenna-switcher ESP32 device.
A thin wrapper over esphome-api-client (esphome::api) that speaks the two RS-485 antenna switchers' command grammar (manual / auto / plan / stop) and surfaces their live state. The generic ESPHome client stays an internal dependency — only the antenna-switcher surface is exposed here.