1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-17 22:01:45 -05:00
sdrangel/plugins/misc/rigctrl
Jon Beniston 49cb082c7e Add rigctrl plugin.
plugins/misc/rigctrl - Add rigctrl plugin.
sdrbase/plugin/pluginapi.h/.cpp - Add misc plugin registration.
sdrbase/plugin/pluginmanager.h/.cpp - Add misc plugin registration.
sdrbase/plugin/plugininterface.h/.cpp - Add top level UI and global settings serialization callbacks.
sdrbase/settings/mainsettings.h/cpp - Allow plugins to save global settings in main settings file.
sdrgui/mainwindow.cpp - Load settings after plugins are loaded, to allow plugin settings to be loaded and saved.
sdrsrv/maincore.cpp - Support loading/saving of plugin settings.
2020-09-08 15:47:20 +01:00
..
CMakeLists.txt Add rigctrl plugin. 2020-09-08 15:47:20 +01:00
readme.md Add rigctrl plugin. 2020-09-08 15:47:20 +01:00
rigctrl.cpp Add rigctrl plugin. 2020-09-08 15:47:20 +01:00
rigctrl.h Add rigctrl plugin. 2020-09-08 15:47:20 +01:00
rigctrlgui.cpp Add rigctrl plugin. 2020-09-08 15:47:20 +01:00
rigctrlgui.h Add rigctrl plugin. 2020-09-08 15:47:20 +01:00
rigctrlgui.ui Add rigctrl plugin. 2020-09-08 15:47:20 +01:00
rigctrlplugin.cpp Add rigctrl plugin. 2020-09-08 15:47:20 +01:00
rigctrlplugin.h Add rigctrl plugin. 2020-09-08 15:47:20 +01:00
rigctrlsettings.cpp Add rigctrl plugin. 2020-09-08 15:47:20 +01:00
rigctrlsettings.h Add rigctrl plugin. 2020-09-08 15:47:20 +01:00

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