1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 09:48:45 -05:00
sdrangel/plugins/feature/rigctlserver
Jon Beniston c966f1cb5a dd maximize button to MainSpectrum and expandible Channels and Features.
Add sizeToContents in ChannelGUI and FeatureGUI, called when widget is
rolled, so we can remove resizing code from all of the individual
channels and features.

In RollupContents, use minimumSizeHint for calculated size, so that
minimumWidth can come from .ui file.

In DeviceGUI::sizeToContents(), call adjustSize(), so Device GUIs start
out at minimum needed size (which should restore appearance prior to
last patch).

In stackSubWindows, use available space for channels if no
spectrum/features present.
In stackSubWindows, fix spectrum from being sized too big, resulting in
scroll bars appearing.
Reset user-defined channel width in stackSubWindows, when channels are
removed.
Don't stack maximized windows.

There's one hack in Channel/FeatureGUI::maximizeWindow(). It seems that
when maximimzing a window, QOpenGLWidgets aren't always paint properly
immediately afterwards, so the code forces an additional update. I can't
see why the first call to paintGL doesn't work.
2022-11-11 12:24:27 +00:00
..
CMakeLists.txt Install debug symbols on Windows for debug builds 2022-02-06 12:56:58 +00:00
readme.md RigCtl Server: added plugin 2020-09-28 19:37:40 +02:00
rigctlserver.cpp Fixed some signal/slot connects. Removed unnecessary m_channelMessageQueue in ChannelAPI. Fixes #1185 2022-03-23 22:32:23 +01:00
rigctlserver.h FeatureAPI: Added more convenient getIdentifier pure virtual method 2022-03-26 12:25:35 +01:00
rigctlservergui.cpp dd maximize button to MainSpectrum and expandible Channels and Features. 2022-11-11 12:24:27 +00:00
rigctlservergui.h dd maximize button to MainSpectrum and expandible Channels and Features. 2022-11-11 12:24:27 +00:00
rigctlservergui.ui Massive UI revamping (v7): Fixed sizing of feature windows. Part of #1209 2022-04-24 19:34:48 +02:00
rigctlserverplugin.cpp Updated main and plugin versions 2022-05-14 13:16:33 +02:00
rigctlserverplugin.h Removed dangling PluginInstanceGUI references 2020-10-05 16:30:24 +02:00
rigctlserversettings.cpp Massive UI revamping (v7): created configurations with just Features for now 2022-04-05 16:28:07 +02:00
rigctlserversettings.h Massive UI revamping (v7): created configurations with just Features for now 2022-04-05 16:28:07 +02:00
rigctlserverwebapiadapter.cpp Fix cut and paste errors from PTT feature 2021-01-15 11:00:03 +00:00
rigctlserverwebapiadapter.h RigCtl Server: added plugin 2020-09-28 19:37:40 +02:00
rigctlserverworker.cpp Replace deprecated QMutex(Recursive) with QRecursiveMutex 2022-09-17 23:00:07 +02:00
rigctlserverworker.h Replace deprecated QMutex(Recursive) with QRecursiveMutex 2022-09-17 23:00:07 +02:00

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

File source channel plugin GUI

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