Tell Elecraft radios apart by their option modules
The K3, K3S, KX2, KX3 and K4 all answer ID; with ID017;, so radio listed them all. When a radio answers ID017;, the probe now asks OM; too, and radio reads the model from its option modules as Hamlib 4.7's elecraft_open() does: 0 then 1 or 2 last for a KX2 or KX3, S and 4 for a K4, R for a K3S, else a K3. radios.conf's new elecraft= field names each, and narrows the radios the answer could be. A radio that doesn't answer OM; (a TS-570) is still listed as one of several. radios.conf gets the K3S (Hamlib 2043), which flrig drives with its K3 driver. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
4cb5ce25ff
commit
81c6e0b73f
+17
-1
@@ -10,6 +10,10 @@
|
||||
# may give the same reply
|
||||
# civ= - the radio's default CI-V address in hex (Icom). The radio
|
||||
# gives it in its reply to "read transceiver ID"
|
||||
# elecraft= - which Elecraft radio it is, as its reply to OM; (its option
|
||||
# modules) says: K3, K3S, KX2, KX3 or K4. They all answer ID;
|
||||
# alike, so radio asks OM; too, and reads the model from it
|
||||
# as Hamlib 4.7's elecraft.c does
|
||||
# flrig= - flrig's name for the radio, for `radio configure --flrig`
|
||||
# (flrig 2.0.12's rigs/ sources). Left out where flrig has
|
||||
# no driver for it, or several (the TS-480's HX and SAT)
|
||||
@@ -139,24 +143,36 @@ hamlib=2041
|
||||
flrig=TS-890S
|
||||
cat_id=024
|
||||
|
||||
# Elecraft. They all answer ID; as a Kenwood TS-570 would
|
||||
# Elecraft. They all answer ID; as a Kenwood TS-570 would; their reply to OM;
|
||||
# tells them apart
|
||||
|
||||
[Elecraft K3]
|
||||
hamlib=2029
|
||||
flrig=K3
|
||||
cat_id=017
|
||||
elecraft=K3
|
||||
|
||||
# flrig's K3 driver drives the K3S, which takes the K3's commands
|
||||
[Elecraft K3S]
|
||||
hamlib=2043
|
||||
flrig=K3
|
||||
cat_id=017
|
||||
elecraft=K3S
|
||||
|
||||
[Elecraft KX3]
|
||||
hamlib=2045
|
||||
flrig=KX3
|
||||
cat_id=017
|
||||
elecraft=KX3
|
||||
|
||||
[Elecraft KX2]
|
||||
hamlib=2044
|
||||
flrig=KX2
|
||||
cat_id=017
|
||||
elecraft=KX2
|
||||
|
||||
[Elecraft K4]
|
||||
hamlib=2047
|
||||
flrig=K4
|
||||
cat_id=017
|
||||
elecraft=K4
|
||||
|
||||
Reference in New Issue
Block a user