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:
David Young
2026-11-28 14:15:02 -07:00
co-authored by Claude Opus 5.5
parent 4cb5ce25ff
commit 81c6e0b73f
6 changed files with 113 additions and 13 deletions
-3
View File
@@ -12,9 +12,6 @@ control a radio, with rigctld started when the radio is plugged in.
- [ ] Run `TEST.md` against real radios, and mark the `radios.conf` values
they confirm `# verified`. Fix or remove the ones they don't
- [ ] Tell Elecraft's radios apart. The K3, KX3, KX2 and K4 all answer `ID017;`,
so `radio` lists all four. Find an Elecraft command whose reply names
the model
- [ ] Use PTT through a CM108 sound card in `radio configure` for an
interface whose radio has no CAT (a Digirig or AIOC on a handheld):
Dire Wolf's `PTT CM108`, Graywolf's cm108 method. HamPack's udev rule