sdrangel/plugins/channeltx/modrtty
Daniele Forsi 570c1f6877 Remove unused includes and use more direct includes 2024-04-20 19:10:18 +02:00
..
CMakeLists.txt Add initial RTTY Mod without API 2023-09-01 17:10:26 +01:00
readme.md Fix typing errors found with codespell and more 2024-04-06 12:39:18 +02:00
rttymod.cpp Remove unused includes and use more direct includes 2024-04-11 23:31:34 +02:00
rttymod.h Frequency Scanner: allow scanning channels of a MIMO device 2023-12-14 21:57:49 +01:00
rttymodbaseband.cpp Remove unused includes and use more direct includes 2024-04-11 23:31:34 +02:00
rttymodbaseband.h Rewriting of copyright notices for plugins/channeltx. Part of #1893 2023-11-18 06:36:53 +01:00
rttymodgui.cpp Remove unused includes and use more direct includes 2024-04-11 23:31:34 +02:00
rttymodgui.h Rewriting of copyright notices for plugins/channeltx. Part of #1893 2023-11-18 06:36:53 +01:00
rttymodgui.ui Add acronym decoder widget 2023-09-04 13:01:22 +01:00
rttymodplugin.cpp Updated versions and changelogs 2024-04-14 11:41:00 +02:00
rttymodplugin.h Rewriting of copyright notices for plugins/channeltx. Part of #1893 2023-11-18 06:36:53 +01:00
rttymodrepeatdialog.cpp Rewriting of copyright notices for plugins/channeltx. Part of #1893 2023-11-18 06:36:53 +01:00
rttymodrepeatdialog.h Rewriting of copyright notices for plugins/channeltx. Part of #1893 2023-11-18 06:36:53 +01:00
rttymodrepeatdialog.ui Add initial RTTY Mod without API 2023-09-01 17:10:26 +01:00
rttymodsettings.cpp Remove unused includes and use more direct includes 2024-04-11 23:31:34 +02:00
rttymodsettings.h Rewriting of copyright notices for plugins/channeltx. Part of #1893 2023-11-18 06:36:53 +01:00
rttymodsource.cpp Rewriting of copyright notices for plugins/channeltx. Part of #1893 2023-11-18 06:36:53 +01:00
rttymodsource.h Remove unused includes and use more direct includes 2024-04-20 19:10:18 +02:00
rttymodtxsettingsdialog.cpp Rewriting of copyright notices for plugins/channeltx. Part of #1893 2023-11-18 06:36:53 +01:00
rttymodtxsettingsdialog.h Rewriting of copyright notices for plugins/channeltx. Part of #1893 2023-11-18 06:36:53 +01:00
rttymodtxsettingsdialog.ui Tidy up 2023-09-01 20:09:37 +01:00
rttymodwebapiadapter.cpp Rewriting of copyright notices for plugins/channeltx. Part of #1893 2023-11-18 06:36:53 +01:00
rttymodwebapiadapter.h Rewriting of copyright notices for plugins/channeltx. Part of #1893 2023-11-18 06:36:53 +01:00

readme.md

RTTY Modulator Plugin

Introduction

This plugin can be used to modulate RTTY (Radioteletype) encoded text. RTTY uses BFSK (Binary Frequency Shift Keying), where transmission of data alternates between two frequencies, the mark frequency and the space frequency. The RTTY Modulator should be centered in between these frequencies. The baud rate, frequency shift (difference between mark and space frequencies), filter bandwidth and baudot character set are configurable.

Interface

The top and bottom bars of the channel window are described here

RTTY Modulator plugin GUI

1: Frequency shift from center frequency of transmission

Use the wheels to adjust the frequency shift in Hz from the center frequency of transmission. Left click on a digit sets the cursor position at this digit. Right click on a digit sets all digits on the right to zero. This effectively floors value at the digit position. Wheels are moved with the mousewheel while pointing at the wheel or by selecting the wheel with the left mouse click and using the keyboard arrows. Pressing shift simultaneously moves digit by 5 and pressing control moves it by 2.

2: Channel power

Average total power in dB relative to a +/- 1.0 amplitude signal generated in the pass band.

3: Channel mute

Use this button to toggle mute for this channel.

4: Mode

Contains a list of common baud rate and frequency shift settings. To specify your own, set this option to Custom.

45.45/170 is common for amateur RTTY.

5: Baud

Specifies the baud rate in symbols (bits) per second.

6: Frequency Shift

Adjusts the frequency shift (different between mark and space frequencies) in Hz.

7: RF Bandwidth

This specifies the bandwidth of a LPF that is applied to the output signal to limit the RF bandwidth.

8: Gain

Adjusts the gain in dB from -60 to 0dB.

9: Level meter in %

  • top bar (beige): average value
  • bottom bar (brown): instantaneous peak value
  • tip vertical bar (bright red): peak hold value

10: UDP

When checked, a UDP port is opened to receive text from other features or applications that will be transmitted.

11: UDP address

IP address of the interface to open the UDP port on, to receive text to be transmitted.

12: UDP port

UDP port number to receive text to be transmitted on.

13: Baudot Character Set

Specifies the Baudot character set used to encode the text to transmit. The following character sets are supported:

  • ITA 2
  • UK
  • European
  • US
  • Russian
  • Murray

14: Bit Ordering

Specifies whether bits are transmitted least-significant-bit first (LSB) or most-significant-bit first (MSB).

15: Mark/Space Frequency

When unchecked, the mark frequency is the higher RF frequency, when checked the space frequency is higher.

16: Unshift on Space

When checked, the Baudot character set will shift to letters when a space character (' ') is transmitted.

17: Repeat

Check this button to repeatedly transmit a packet. Right click to open the dialog to adjust the number of times the packet should be repeated.

18: Clear Transmitted Text

Press to clear the transmitted text.

19: Text to Transmit

Enter text to transmit. Pressing return will transmit the text and clear this field. Press the arrow to display and select a list of pre-defined text or previously transmitted text to enter in to the field.

The list of pre-defined text can be customised via the Transmit Settings dialog (20).

20: TX

Press to transmit the current text. The text field will not be cleared.

Right click to open a dialog to adjust additional Transmit Settings, including the list of pre-defined text.

Predefined text supports the following variable substitutions:

  • ${callsign} - Gets replaced with the station name from Preferences > My Position
  • ${location} = Gets replaced with the Maidenhead locator for the position specified under Preferences > My Position

The substitutions are applied when the Transmit Settings dialog is closed.

21: Transmitted Text

The transmitted text area shows characters as they are transmitted.

Holding the cursor over an acronym may show a tooltip with the decoded acronym.

API

Full details of the API can be found in the Swagger documentation. Below are a few examples.

To transmit the current text simply send a "tx" action:

curl -X POST "http://127.0.0.1:8091/sdrangel/deviceset/0/channel/0/actions" -d '{"channelType": "RTTYMod",  "direction": 1, "RTTYModActions": { "tx": 1 }}'

To transmit text specified on the command line:

curl -X POST "http://127.0.0.1:8091/sdrangel/deviceset/0/channel/0/actions" -d '{"channelType": "RTTYMod",  "direction": 1, "RTTYModActions": { "tx": 1, "payload": {"text": "CQ CQ CQ anyone using SDRangel CQ" }}}'

To set the baud rate and frequency shift:

curl -X PATCH "http://127.0.0.1:8091/sdrangel/deviceset/0/channel/0/settings" -d '{"channelType": "RTTYMod", "direction": 1, "RTTYModSettings": {"baud": 45.45, "frequencyShift": 170 }}'