feat(tci): the transmit meters, and no temperature invented
TX_POWER and TX_SWR are read-only commands the radio answers when asked, so they are asked for on each poll of a KEYED radio and not at all otherwise: a receiving station pays nothing for meters nobody is watching. Both appear next to the S-meter only while transmitting, because showing them the rest of the time would show the last thing that happened as if it were now. An SWR of 0 draws as '—' rather than as 1.0. A perfect match on an antenna nobody has measured is the one reading an operator should never be handed. There is no temperature. The protocol's command list has TX_POWER and TX_SWR and nothing thermal at all — so rather than leave the question hanging, it is written down where the next person will look for it. A temperature invented from something else, on a transmitter, is exactly the kind of number somebody would trust.
This commit is contained in:
@@ -1238,6 +1238,8 @@ export namespace cat {
|
||||
lock: boolean;
|
||||
split: boolean;
|
||||
smeter: number;
|
||||
tx_power_w: number;
|
||||
tx_swr: number;
|
||||
modulations?: string[];
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
@@ -1273,6 +1275,8 @@ export namespace cat {
|
||||
this.lock = source["lock"];
|
||||
this.split = source["split"];
|
||||
this.smeter = source["smeter"];
|
||||
this.tx_power_w = source["tx_power_w"];
|
||||
this.tx_swr = source["tx_swr"];
|
||||
this.modulations = source["modulations"];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user