Add radio configure --flrig, which puts flrig in charge of the radio
flrig can't reach a radio through rigctld, and the two can't share its port, so `radio configure` leaves flrig alone and says why. With --flrig, flrig gets the radio, its by-id port, the baud rate it answered at and PTT by CAT, and rigctld runs Hamlib's FLRig backend (model 4) against flrig's XML-RPC port, so every other program still talks to rigctld. Running it again without --flrig gives the port back to rigctld. flrig's settings are FLTK preferences files: flrig.prefs names the radio, and <radio>.prefs (which flrig reads only with a version in it) has its port, baud rate (as its place in flrig's list) and PTT. Long values carry on in lines starting with +, as FLTK writes them. A different radio or port you set is left alone unless --force. radios.conf gets flrig's names for the radios, from flrig 2.0.12. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
b2ffaf9592
commit
53e748ccb9
@@ -106,14 +106,23 @@ Dire Wolf, not1mm, QLog and POTACAT quit:
|
||||
cheap USB chips where only hw: works; note if this is one.
|
||||
12. Run `radio configure` again: each program is "already set up", and
|
||||
rigctld restarts.
|
||||
13. With a rig set by hand in WSJT-X, `radio configure` leaves it alone, and
|
||||
13. Quit everything, run `radio configure --flrig`, and start flrig. It opens
|
||||
on the radio, on its by-id port at the baud rate `radio` found, with PTT
|
||||
by CAT, and shows the radio's frequency. `rigctl -m 2 -r 127.0.0.1:4532 f`
|
||||
shows the same frequency, through rigctld and flrig. WSJT-X's "Test CAT"
|
||||
and "Test PTT" still work. Quit flrig: rigctld loses the radio, and gets
|
||||
it back within a few seconds of starting flrig again. Then run
|
||||
`radio configure` without --flrig, and check rigctld has the radio's port
|
||||
again. The settings were checked against flrig 2.0.12's source and FLTK
|
||||
1.4.5's preferences format.
|
||||
14. With a rig set by hand in WSJT-X, `radio configure` leaves it alone, and
|
||||
`--force` replaces it. The `.bak-` copy has the old settings.
|
||||
14. Unplug the radio, plug it in again, and check rigctld reconnects within
|
||||
15. Unplug the radio, plug it in again, and check rigctld reconnects within
|
||||
a few seconds. Reboot and check it starts at login.
|
||||
|
||||
| Date | Commit | Radio | rigctld | WSJT-X | JS8Call | Pat | fldigi | Dire Wolf | not1mm | QLog | POTACAT | Graywolf | Notes |
|
||||
|------|--------|-------|---------|--------|---------|-----|--------|-----------|--------|------|---------|----------|-------|
|
||||
| | | | | | | | | | | | | | |
|
||||
| Date | Commit | Radio | rigctld | WSJT-X | JS8Call | Pat | fldigi | Dire Wolf | not1mm | QLog | POTACAT | Graywolf | flrig | Notes |
|
||||
|------|--------|-------|---------|--------|---------|-----|--------|-----------|--------|------|---------|----------|-------|-------|
|
||||
| | | | | | | | | | | | | | | |
|
||||
|
||||
## Pairing radios with sound cards
|
||||
|
||||
|
||||
Reference in New Issue
Block a user