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::ChannelState Struct Reference

A snapshot of one channel's live state. More...

#include <client.hpp>

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

Public Attributes

int bearing = 0
 Current compass bearing in degrees.
 
int activeInput = 0
 Currently selected input (1..10), 0 if unknown.
 
int angleOffset = 0
 Compass offset for input 1, in degrees (0..359).
 
long intervalUs = 0
 Auto-cycle interval in microseconds.
 
Mode mode = Mode::Unknown
 Manual / auto / plan.
 
std::vector< int > activeInputs
 Inputs in the current auto cycle (CSV-parsed).
 

Detailed Description

A snapshot of one channel's live state.

Member Data Documentation

◆ activeInput

int antenna_switcher::ChannelState::activeInput = 0

Currently selected input (1..10), 0 if unknown.

◆ activeInputs

std::vector<int> antenna_switcher::ChannelState::activeInputs

Inputs in the current auto cycle (CSV-parsed).

◆ angleOffset

int antenna_switcher::ChannelState::angleOffset = 0

Compass offset for input 1, in degrees (0..359).

◆ bearing

int antenna_switcher::ChannelState::bearing = 0

Current compass bearing in degrees.

◆ intervalUs

long antenna_switcher::ChannelState::intervalUs = 0

Auto-cycle interval in microseconds.

◆ mode

Mode antenna_switcher::ChannelState::mode = Mode::Unknown

Manual / auto / plan.


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