f522d88fc5
Update CMakeLists.txt to allow static libraries to be built |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
readme.md | ||
rigctlserver.cpp | ||
rigctlserver.h | ||
rigctlservergui.cpp | ||
rigctlservergui.h | ||
rigctlservergui.ui | ||
rigctlserverplugin.cpp | ||
rigctlserverplugin.h | ||
rigctlserversettings.cpp | ||
rigctlserversettings.h | ||
rigctlserverwebapiadapter.cpp | ||
rigctlserverwebapiadapter.h | ||
rigctlserverworker.cpp | ||
rigctlserverworker.h |
RigCtl server plugin
Introduction
The rigctl server plugin allows SDRangel to be controlled via Hamlib's rigctld protocol. This allows other software that implements the rigctld protocol, such at the satellite tracking software GPredict, to control SDRangel, to adjust for doppler or to automatically switch between different satellite frequencies and modes.
Interface
1: Start/Stop plugin
This button starts or stops the plugin
2: Enable rigctrl server
Checking this option will enable the rigctrl server in SDRangel. The default is disabled.
3: Refresh list of devices and channels
Use this button to refresh the list of devices (4) and channels (5)
4: Select device set
Specify the SDRangel device set that will be controlled by received rigctl commands. Defaults to R0.
5: Select channel
The channel index specifies the SDRangel channel that will be controlled by received rigctl commands. Defaults to 0.
6: Port
The rigctl server plugin opens a TCP port to receive commands from a rigctl client. Please specify a free TCP port number. The default rigctld port is 4532.
7: Max Frequency Offset in Hz
The maximum frequency offset controls whether the center frequency or frequency offset is adjusted when a new frequency is received by a rigctl 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.
Supported rigctrl Commands
The following rigctrl commands are supported:
- F / set_freq
- f / get_freq
- M / set_mode
- m / get_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