Transmit an IQ file
sdr_transmit_iqTransmit IQ waveform files through an SDR, supporting int16, complex64, WAV formats, and optional cyclic repeat for continuous output.
Instructions
Transmit an arbitrary IQ waveform read from a file on this machine.
Formats: 'int16' interleaved little-endian I,Q (what sdr_capture_iq writes), 'complex64' (what a GNU Radio file sink writes), 'wav' (2 channels as I and Q), or 'auto' to infer from the extension.
With cyclic=true the buffer REPEATS FOREVER and transmission continues after this call returns - use sdr_tx_disable to stop. With cyclic=false the buffer plays once. Requires SDR_MCP_ALLOW_TX=1. Only transmit into a dummy load or on frequencies you are licensed to use.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the IQ file | |
| lo_hz | Yes | TX local oscillator in Hz | |
| scale | No | Peak amplitude, 0 to 1 | |
| cyclic | No | Repeat forever (true) or play once (false) | |
| tx_gain_db | No | TX attenuation in dB; 0 is full output. Must be set, because the firmware idles at maximum attenuation. | |
| file_format | No | Input sample format | auto |
| max_samples | No | ||
| sample_rate_hz | No | TX sample rate; leave unset to keep the current one | |
| response_format | No | markdown for reading, json for structured output | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |