Skip to content

Basic transmit (TX) support with AM, FM, SSB and PTT (Fixes #1336) - #1480

Open
gamgsp wants to merge 1 commit into
gqrx-sdr:masterfrom
gamgsp:feat-basic-tx-support
Open

gamgsp wants to merge 1 commit into
gqrx-sdr:masterfrom
gamgsp:feat-basic-tx-support

Conversation

@gamgsp

@gamgsp gamgsp commented Nov 2, 2026

Copy link
Copy Markdown

This PR adds basic transmission support in Gqrx for TX-capable SDRs (such as HackRF One, USRP, and PlutoSDR), addressing #1336.

Changes

  • TX DSP Chain (tx_chain):
    • Implemented multi-mode modulation hierarchical block supporting Narrowband FM (NFM), Amplitude Modulation (AM), Single Sideband (USB and LSB via Hilbert transform), and Continuous Wave (CW).
    • Includes microphone gain control, optional CTCSS sub-audible tone generator, arbitrary resampler to hardware TX sample rate, and RF power scaling.
    • Integrated TX power meter block for real-time power level monitoring.
  • Receiver Flowgraph & T/R Switching (receiver):
    • Added TX top block and sink management via osmosdr::sink.
    • Handles half-duplex T/R switching by pausing the RX top block during transmission to prevent hardware conflicts (e.g. on HackRF) and muting RX audio to prevent feedback.
    • Added dynamic setters for TX frequency, split mode, power, mic gain, and CTCSS tone.
  • Transmitter Dock Widget (DockTxCtl):
    • Added dedicated dock window with PTT toggle button, modulation selector, separate split TX frequency control, CTCSS tone selector, and mic/RF power sliders.
    • Added PTT action to the main toolbar and Space keyboard shortcut.
  • Hamlib Remote Control (RemoteControl):
    • Added rigctl PTT status commands (t, T, \get_ptt, \set_ptt).
    • Added split mode and TX frequency commands (s, S, i, I, \get_split_vfo, \set_split_vfo, \get_split_freq, \set_split_freq).
    • Added RFPOWER and MICGAIN level controls.
    • Updated dump_state and protocol documentation.

Fixes #1336

Add basic transmission support for SDR devices with TX capabilities (e.g. HackRF, USRP, PlutoSDR).

- Implement tx_chain hierarchical block supporting AM, NFM, USB, LSB, and CW modes with resampling, CTCSS tone generation, and RF power scaling
- Add TX flowgraph management and half-duplex T/R switching in receiver
- Add DockTxCtl dock widget with PTT button, mode selector, split TX frequency control, mic gain, and RF power sliders
- Add toolbar PTT action and Spacebar keyboard shortcut
- Implement Hamlib rigctl PTT (t, T, \get_ptt, \set_ptt) and split mode (s, S, i, I) commands in RemoteControl

Fixes gqrx-sdr#1336
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature request] Basic TX support

1 participant