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
@@ -17,9 +17,11 @@ control a radio.
|
||||
the model
|
||||
- [ ] `radio configure`, the rest. It writes the rigctld user service and
|
||||
points WSJT-X, JS8Call, Pat, fldigi, Dire Wolf, not1mm, QLog, POTACAT
|
||||
and Graywolf at it. Still to do:
|
||||
- [ ] flrig can't use rigctld, so it can't run alongside it. Say so, or
|
||||
offer flrig as the controller instead
|
||||
and Graywolf at it, or with --flrig, puts flrig in charge of the radio
|
||||
behind rigctld. Still to do:
|
||||
- [ ] With --flrig, nothing starts flrig: rigctld retries until it's
|
||||
running. An autostart entry for flrig, or a user service, would save
|
||||
starting it by hand
|
||||
- [ ] More than one radio at once: a rigctld for each, on its own port
|
||||
- [ ] rigctld retries every 5 seconds while the radio is off or unplugged.
|
||||
Start it when the radio is plugged in instead (see hotplug below)
|
||||
|
||||
Reference in New Issue
Block a user