2.1 KiB
Rigctrl plugin
Introduction
The rigctrl plugin allows SDRangel to be controlled via Hamlib's rigctrld protocol. This allows other software that implements the rigctrld protocol, such at the satelite tracking software GPredict, to control SDRangel, to adjust for doppler or to automatically switch between different satellite frequencies and modes.
Interface
Enable rigctrl server
Checking this option will enable the rigctrl server in SDRangel. The default is disabled.
API Address
The rigctrl plugin using the SDRangel REST API to control SDRangel. Please specify the API address of the SDRangel instance to control. The default is http://127.0.0.1:8091.
Port
The rigctrl plugin opens a TCP port to receive commands from a rigctrl client on. Please specify a free TCP port number. The default rigctrld port is 4532.
Max Frequency Offset
The maximum frequency offset controls whether the center frequency or frequency offset is adjusted when a new frequency is received by a rigctrl command. If the difference between the new frequency and the current center frequency is less than this value, the input offset (in the demodulator) will be adjusted. If the difference is greater than this value, the center frequency will be set to the received frequency. To only ever set the center frequency, set this value to 0. The default value is 10000.
Device Index
The device index specifies the SDRangel device set that will be controlled by received rigctrl commands. Defaults to 0.
Channel Index
The channel index specifies the SDRangel channel that will be controlled by received rigctrl commands. Defaults to 0.
Supported rigctrl Commands
The following rigctrl commands are supported:
- F / set_freq
- f / get_freq
- M / set_mode
- get_powerstat
- set_powerstat
Example rigctrl Session
Run SDRangel and from the Preferences menu select rigctrl. Check "Enable rigctrl server" and press OK.
In a terminal window, run:
telnet localhost 4532 set_mode AM, 1000 set_freq 100000000 set_powerstat 1