Skip to main content
Version: 26.12.1

TCI Server

AetherSDR includes a built-in TCI (Transceiver Control Interface) server. TCI is an open protocol that carries CAT control, RX/TX audio, IQ data, CW keying and spots over a single WebSocket connection, so you don't have to set up separate CAT ports, virtual audio devices and serial ports.

TCI is also the simplest way to connect WSJT-X on Windows, where AetherSDR ships no DAX driver, and on radios that have no DAX at all, such as the Hermes-Lite 2.

TCI was created by Expert Electronics for ExpertSDR3 and is now widely supported by SDR programs. It uses a WebSocket connection: text frames for commands and binary frames for audio and IQ. Any program on your computer or LAN can connect with no audio routing to configure.

TaskTraditionalTCI
CAT controlrigctld TCP or virtual serial portSingle WebSocket
RX audioDAX virtual devicesSame WebSocket
TX audioDAX TX deviceSame WebSocket
IQ dataDAX IQ devicesSame WebSocket
SpotsSeparate DX cluster connectionSame WebSocket
CW keyingSerial DTR/RTS or rigctldSame WebSocket
TCI Server applet with RX1 and TX level meters, unchecked Include TX (Line Out) and Line Out with PC Audio off controls, a visible mutes radio outputs warning, port 50001, and a Disabled button.

The TCI Server applet with separate Line Out TX inclusion and PC Audio-off consent controls.

Setup​

Turning the server on​

  • Settings → Autostart TCI with AetherSDR starts the server on every radio connect.
  • Or use the Enabled button in the TCI Server applet (applet-tray button TCI).

The TCI Server applet​

ControlMeaning
RX1 … RX8One row per receive channel: the slice it carries, a logarithmic output level meter and a 0-100% receive gain slider. Rows above the radio's slice capacity are hidden.
TXLevel meter and gain for transmit audio arriving from TCI clients. Right-click it to open TX overflow handling (see TX overflow handling).
Include TX (Line Out)Includes TX monitor audio present in the radio speaker mix in the separate Line Out recording stream. PC Audio is optional. Off by default.
Line Out with PC Audio offExplicitly allows Line Out to keep the radio audio stream open when PC Audio is off. Off by default; this mutes the radio speaker, headphone and line-out outputs while a TCI client records.
Allow TCI clients to change HL2 hardwareShown while a Hermes-Lite 2 is connected. Lets a client that enabled the AetherSDR extension set change the HL2 filter board setting. Off by default; clients can read the setting either way.
Port:TCP port the server listens on. Default 50001.
Enabled / DisabledStarts or stops the server.

Connecting a TCI client​

Point your program at:

ws://localhost:50001

or, from another machine on your LAN, ws://<computer-ip>:50001.

Testing with wscat​

npm install -g wscat
wscat -c ws://localhost:50001

You'll see the init burst with the full radio state. Then try:

vfo:0,0; # read the frequency
modulation:0; # read the mode
vfo:0,0,14074000; # tune to 14.074 MHz
modulation:0,digu; # switch to DIGU
drive; # read the drive level
drive:25; # set drive
trx:0,true; # key PTT
trx:0,false; # unkey PTT
audio_start:0; # start RX audio for receiver 0
audio_stop:0; # stop it

Using TCI with other programs​

A client that goes silent is dropped. After 5 s without any message from a client, AetherSDR sends it a WebSocket ping, which every standard WebSocket library answers by itself. A client that has sent nothing, not even that answer, for 15 s is disconnected; if it was transmitting, the radio unkeys. This covers a client that loses power or network without closing its connection, which would otherwise stay keyed until the operating system gives up on it, often after more than ten minutes.

When a VFO-B request needs a new receiver, AetherSDR waits for its acknowledged identity and radio status before selecting it for TX. A delayed reply cannot adopt another client's receiver. Disconnecting, stopping TCI, or closing the original receiver during setup cancels the pending route, including while TX selection is awaiting a reply; cleanup only removes the receiver created for it. Radios with paired receiver/panadapter topology keep that native topology.

On a radio without transmit-monitor control, mon_enable ON and mon_volume leave the model unchanged and notify clients of its current value. mon_enable OFF remains accepted, including to clear a monitor state left by a previous radio. Radios that expose monitor control keep their normal behavior.

WSJT-X​

Use a WSJT-X build with TCI support (WSJT-X Improved, or WSJT-X 3.x).

  1. File → Settings → Radio
  2. Rig: Expert Electronics (TCI)
  3. Network Server: localhost:50001
  4. PTT Method: CAT
  5. Click Test CAT; it turns green.

WSJT-X takes CAT, PTT and audio over TCI, so there are no sound-card devices to set up. WSJT-X's Pwr slider attenuates the transmitted audio. See WSJT-X Integration.

On FlexRadio, the first TCI audio transmission can create AetherSDR's DAX TX stream when none exists. AetherSDR waits for both the creation reply and radio status confirming that its stream is selected before continuing the original request. A refused, cancelled or timed-out request cannot resume later. If the stream already exists but is not selected, select it with TX stream in DAX Audio while the radio is idle, then initiate a new transmission.

On a slow link, such as SmartLink, that first transmission can time out in WSJT-X or JTDX, which wait one second for the trx reply. Key again; the stream now exists.

MSHV​

Settings → Interface, select TCI, enter localhost and port 50001, and enable audio streaming if wanted.

Log4OM v2​

Settings → Radio, choose TCI and enter localhost:50001. Log4OM receives spots, and clicking a spot in AetherSDR sends clicked_on_spot back to it.

For spots supplied by a FlexRadio, AetherSDR forwards the radio's click notification to TCI clients as rx_clicked_on_spot, including clicks made in SmartSDR or Maestro. The radio's panadapter handle identifies the receiver. If that handle is zero or cannot be matched, the notification uses the first slice.

CW Skimmer and SDC​

Point SDC or CW Skimmer at AetherSDR's TCI port. IQ flows as DAX IQ at 24, 48, 96 or 192 kHz within the connected model’s DAX IQ limits (SDC negotiates 96 kHz), and dds: follows the panadapter center. Up to four IQ subscriptions can run at once, so several skimmers can share one server. Receivers on the same panadapter share its IQ stream, so four independent bands need four panadapters. IQ is not offered as int16 or over wss. Requests outside an identified model’s supported iq_samplerate rates leave the rate unchanged and return the current rate. A valid rate negotiated before model identification is remembered without starting IQ streams; it is applied within the model’s limits once the model is known. A retained 192 kHz subscription uses 96 kHz on a model limited to 96 kHz, then returns to 192 kHz when a capable model is connected.

IQ on a Hermes-Lite 2​

On a Hermes-Lite 2 there is no DAX IQ: the IQ comes straight from the receiver chain in AetherSDR. iq_samplerate accepts 24, 48, 96 or 192 kHz, and a client that does not ask gets 48 kHz. When the HL2 runs at a higher rate, the IQ is decimated to the requested rate; when it runs lower, the IQ stays at the radio’s rate and that is the rate in the frame header. Changing iq_samplerate while IQ is running gives a short transient in the stream. When the network cannot keep up (a 192 kHz stream is about 1.5 MB/s), IQ frames are dropped instead of the connection being closed, so a skimmer on a slow link sees gaps rather than a disconnect.

JTDX​

JTDX has TCI support but is no longer maintained and can crash with some TCI servers. WSJT-X is recommended instead.

Other TCI clients​

Any program that implements the TCI protocol can connect, for example:

  • HamDeck — Stream Deck automation via TCI
  • TCI-Hamlib Adapter (DL3NEY) — bridges TCI to Hamlib for programs that only support rigctld
  • eesdr-tci — a Python TCI client library for scripting
  • AH-4-style tuner interfaces and band-pass switch controllers that watch tune: (for example HB9DUT's TCI_ICOM_Tuner_Interface)

Using several clients at once​

Several TCI programs can be connected at once, and each keys the slice it asked for:

  • trx keys the receiver the client named. A plain trx:0 resolves against the receiver the client declared in its audio_start, so a second WSJT-X instance does not take transmit from the first.
  • An externally selected TX slice only wins when split was requested, or when VFO B set up a route for that exact receiver, so satellite and cross-band split still work.
  • A receiver that cannot be resolved is declined, never keyed on slice A instead.
  • Every refused PTT is answered with trx:<n>,false;, including a second client trying to key while another holds TCI PTT. WSJT-X shows this as "TCI failed to set ptt".
  • After a refusal, a new request uses its own microphone or transmit-audio source. On FlexRadio, a TCI transmit-audio request also requires AetherSDR’s TX stream to be Selected in DAX Audio (see DAX Virtual Audio).
  • Receiver numbers are stable. If a slice closes mid-session, the other slices keep their receiver numbers, and the freed number goes to the next new slice.
  • A VFO B request from one client does not retune another client's slice.

Audio streaming​

TCI audio is sent and received as binary frames on the same WebSocket.

  • Audio doesn't flow until the client asks for it with audio_start:<receiver>;.
  • PC Audio does not need to be on. On a FlexRadio, TCI receive audio comes from DAX channels that the TCI server claims for itself; your speaker volume and mute don't affect it. On other radios it comes straight from the slice.
  • RTL-SDR receive audio follows the stable receiver map and remains independent of speaker gain and mute; receiver squelch still applies. Normal launches offer one RTL receiver. Extra receivers belong to the process-only evaluation, not a higher production limit. RTL has no transmit or IQ export.
  • If a client reconnects more than 10 seconds later, its receive audio is re-bound to the right DAX channels automatically.
  • TX audio from a client is resampled from the rate the client declares, so 8, 12 and 24 kHz programs are not mis-pitched.
  • DAX goes back the way it was after each transmission. On a FlexRadio, TCI turns on the radio's DAX transmit input while a client transmits, then restores it once the radio is back in receive, so your next microphone transmission is not silent. Disconnecting or switching radios discards the previous session's DAX hold.

Sample rate and format​

The default is 48 kHz. A client can request 8000, 12000, 24000 or 48000 Hz:

audio_samplerate:24000;

Any other rate (44.1 kHz, for example) is refused and the previous rate is echoed back. Each client has its own rate and converter.

Audio is float32 stereo by default. A client can ask for int16 and/or mono:

audio_stream_sample_type:int16;
audio_stream_channels:1;

Receive gain and level metering​

Each RX slider attenuates the audio sent to every TCI client receiving that channel. 0% mutes the stream; 100% is unity gain and preserves the source audio level. The slider does not amplify audio above unity. Dragging shows the gain as a percentage; arrow keys adjust it by five percentage points. Gains are saved independently for each channel.

The RX meter shows the post-gain output on a logarithmic -60 to 0 dBFS RMS scale. Half the bar is -30 dBFS RMS. The thumb indicates gain, not measured audio level. Moving the slider updates the meter immediately using the most recent source level. Speaker volume, speaker mute and DAX applet gain do not adjust TCI receive audio.

The meter measures RMS, not peaks, so leave headroom for speech transients when adjusting recording levels in an external application. A larger logarithmic meter indication does not mean the stream has been amplified.

Line Out recording​

Clients start and stop a separate stereo mix with line_out_start:<receiver>; and line_out_stop:<receiver>;. It uses TCI stream type 4, fixed at 48 kHz stereo float32, independently of ordinary RX format negotiation. The receiver number labels the subscription; its content is the same complete playback mix, not that receiver alone. RX and Line Out can run together.

PC Audio is optional. When PC Audio is off and the separate default-off Line Out with PC Audio off consent is disabled, the subscription remains active but no Line Out type-4 frames are sent; it does not transmit encoded silence. Enable the consent setting to allow the radio audio stream to stay open; while a TCI client records, this mutes the radio speaker, headphone and line-out outputs. With PC Audio on, Line Out keeps the incoming radio audio and software mixer running without opening an additional playback device. It records the final shared stereo mix, including the open slices' existing volume, pan and mute, client-side RX DSP, and other sources in that mix. PC playback master volume and mute do not affect the recording, including when PC Audio is off. The TCI RX, TX and MIC faders do not add another recording gain to Line Out. It does not record other applications or separate local cue/sidetone devices.

Include TX (Line Out) is off by default. When off, Line Out sends silence throughout radio TX, including any simultaneous RX: TX monitor and RX cannot be separated after mixing. When on, it records the existing playback mix during TX without adding a separate TX source. On FlexRadio, enable MON yourself to hear and record radio-side TX monitor audio. Subscribing never changes MON, radio input routing or transmitter state.

Switching PC Audio on or off does not stop an active Line Out subscription. When PC Audio is turned off without consent, the subscription remains active but sends no type-4 frames until PC Audio is restored or consent is enabled. Withdrawing consent while PC Audio is off also stops type-4 delivery without removing the subscription. The radio audio stream is released after the last Line Out listener stops unless PC playback still needs it; consent alone does not keep the stream open. Server-side line_out_recorder_* file recording is not implemented. Live TX, MON and multi-client recording qualification remain outstanding (#6410).

TX overflow handling​

Right-click the TX meter in the TCI Server applet to choose how transmit samples beyond ±1.0 are treated:

ModeBehavior
Clip (saturating ±1.0)Default. Hard-clamps overshoots to ±1.0.
NaN guard (zero NaN/Inf only)Passes samples through bit-exact, only zeroing NaN/Inf. Best for digital-mode tone fidelity.
Measure only (true bypass)Never changes samples; counts overshoots for telemetry.

FT8/WSJT-X users who want exact tones can choose NaN guard or Measure only.

Reference​

Server identity​

The init burst announces device:AetherSDR; and protocol:ExpertSDR3,2.1;, followed by the full radio state and ready;.

Protocol coverage​

AetherSDR implements the TCI 2.0 command set, including:

CategoryCommands
VFO / modevfo, modulation, rx_filter_band, dds, if, vfo_limits, if_limits, vfo_lock
TXtrx, tx_enable, tune, drive, tune_drive, tx_frequency, tx_gain
RIT / XITrit_enable/offset, xit_enable/offset, split_enable
Audiovolume, mute, rx_volume, rx_mute, rx_balance, mon_enable, mon_volume, mic_level
AGC / SQLagc_mode, agc_gain, sql_enable, sql_level, lock
DSPrx_nb_enable/param, rx_nr_enable, rx_anf_enable, rx_apf_enable, rx_bin_enable, rx_anc_enable, rx_dse_enable, rx_nf_enable
CWcw_macros_speed, cw_keyer_speed, cw_msg, cw_macros, cw_macros_stop, cw_terminal, keyer
Audio streamingaudio_start/stop, audio_samplerate, audio_stream_sample_type, audio_stream_channels, audio_stream_samples
IQiq_start/stop, iq_samplerate
Spotsspot, spot_delete, spot_clear, clicked_on_spot
Sensorsrx_sensors_enable, tx_sensors_enable, hw_sensors_enable, rx_channel_sensors, tx_sensors, hw_sensors
Digitaldigl_offset, digu_offset

Notes:

  • cw_macros_delay is unsupported and produces no value or confirmation. It specifies a delay before transmission; the radio's CW break-in delay is a different setting and is unaffected.
  • rx_ctun_ex:<trx>,<bool>; is accepted as a Thetis extension. It switches center lock on that receiver's slice, inverted: true (click-tune on) turns center lock off, false turns it on. TCI Remote sends rx_ctun_ex:0,true; on connect.
  • volume is in dB, as the spec defines it; the older percent form is still accepted. It is the same master level as the title-bar slider: the computer's level with PC Audio on, the radio's Line Out level with it off. mic_level is a global 0–100 %.
  • sql_level is a threshold in dB, −140 to 0, as the spec defines it. A positive value (the 0–100 level older builds took) is ignored. −140 dB, or any value at or below what the lowest level is reported as, opens the squelch fully. The slice stores a 0–100 level, so the reply states the threshold that level really gives: on a Flex the top of the scale is −60 dB, and any higher value is answered as −60.
  • agc_gain is the AGC gain in dB, −20 to 120, as the spec defines it. TCI maps the AGC-T control (0–100) onto that range in 1.4 dB steps on every radio: AGC-T 65 reads as 71 dB; the default AGC-T depends on the radio. A value outside the range is held at its end. Notifications follow observed threshold changes and state the gain the AGC-T step really gives. A request discarded because the receive path changed announces no requested value. With a KiwiSDR replacing the receiver, agc_gain carries the KiwiSDR's AGC threshold in dB unchanged.
  • The server also broadcasts which slice has focus in the GUI, plus DSP, squelch, RIT/XIT and TX power when they change.
  • Opening a slice announces rx_enable:<trx>,true; and its tx_enable permission. Closing a slice sends tx_enable:<trx>,false; and rx_enable:<trx>,false; after approximately 500 ms. A band-change recreation within that window keeps its receiver number and sends no close notifications; surviving receivers keep their numbers. TX permission still follows ownership, mode, and panadapter inhibits. trx_count is not re-sent.
  • Malformed arguments (for example to volume: or modulation:) are rejected, never applied to slice 0.
  • A vfo: confirmation reports the frequency the radio actually reached.
  • tx_enable:<trx>,true; means that receiver may request PTT. It is not the current TX-slice assignment: AetherSDR routes a PTT request when it arrives, and the radio still enforces its own frequency and safety interlocks. Permission is withheld while disconnected, on receive-only backends or modes, and for transmit-inhibited panadapters. On multi-client radios, the receiver's ownership must be confirmed as belonging to this AetherSDR session first.
  • Panadapter spectrum forwarding: subscribed clients receive the panadapter's FFT rows.

Tune notifications​

tune:<trx>,true|false; is broadcast to every client on every tune edge, whether the tune came from the TX applet, any TCI client or the radio, and it follows the matching trx:. A tune: SET always gets an answer, and the init burst includes the current tune: state. A tune that a TCI client started stops when that client disconnects or the server stops. tune:-1,true keys nothing.

Sensor telemetry​

rx_sensors_enable:true; # S-meter updates
tx_sensors_enable:true; # power, SWR, mic and ALC while transmitting or tuning
hw_sensors_enable:true,500; # supply voltage, current and temperature

RX sensors broadcast each receiver's S-meter in dBm:

rx_channel_sensors:0,0,-97.3;

TX sensors broadcast during transmit and tune, including ALC. They follow this station's own transmission only: on a multiFLEX radio, another station's transmission sends none.

Hardware sensors go only to the client that enabled them, as hw_sensors:<volts>,<amps>,<°C>;, every 30–1000 ms (200 ms when the interval is left out). hw_sensors_enable gets no reply. A value the radio does not measure is sent as NaN, because the three fields are positional and the specification forbids empty arguments. No radio reports its current consumption, so the second field is always NaN. A Hermes-Lite 2 reports temperature only:

hw_sensors:NaN,NaN,42.0;

A FLEX reports supply voltage and temperature. An ANAN reports its supply rail only, hw_sensors:<volts>,NaN,NaN;. An Icom sends NaN in the first field: its Vd meter is the PA drain voltage, not the supply voltage the field names. A radio that measures none of the three sends nothing.

The SWR field is the same trusted SWR the S-meter shows. A reading taken without measurable forward power, for example in a speech pause, does not replace it: the last reading taken under carrier is held. A worse SWR under carrier is reported at once. When the radio unkeys, the held value is cleared, so the next transmission starts again from 1.0. A persistent below-unity reading from the radio, which means it cannot measure SWR, is reported as 10.0.

CW keying​

cw_macros:0,CQ CQ CQ DE N0CALL; # send text
cw_macros_stop; # stop
cw_keyer_speed:25; # speed
keyer:0,true; # key down
keyer:0,false; # key up

AetherSDR extension set​

AetherSDR offers its own TCI commands as one opt-in set. A client that does not ask for it receives exactly the same traffic as without it. To turn it on for one connection, the client sends:

aethersdr_ext_enable:true;

The server answers with the set's version and the items this radio offers, then the current state of the offered items. An item sends as many state lines as it needs, and may send none. On a Hermes-Lite 2 with one receiver, for example:

aethersdr_ext:1,tx_filter_band,hl2,rx_antenna,tx_antenna,rx_rf_gain,rx_auto_rf_gain,rx_overload,tx_power_max;
aethersdr_tx_filter_band:0,100,2900;
aethersdr_hl2_filter_board:n2adr_rxtx,false;
aethersdr_rx_antennas:0,ANT;
aethersdr_rx_antenna:0,ANT;
aethersdr_tx_antennas:0,ANT,RF1;
aethersdr_tx_antenna:0,ANT;
aethersdr_rx_rf_gain_range:0,-12,48,1;
aethersdr_rx_rf_gain:0,20;
aethersdr_rx_auto_rf_gain:false;
aethersdr_rx_overload:clean,false,0;
aethersdr_tx_power_max:0,5;

On a radio that offers no item, the answer is aethersdr_ext:1; alone.

  • Every command of the set starts with aethersdr_. Before the enable, the server ignores them without a reply, like any unknown command.
  • The list holds only what the connected radio can do, and an enabled client gets a new aethersdr_ext: line, followed again by the state lines, when that changes. A command for an item not in the list is ignored.
  • The enable is per connection. aethersdr_ext_enable:false; stops all extension traffic to that client, and so does disconnecting.
  • The older extensions (rx_record, rx_play, tx_gain, active_slice, rx_ctun_ex) work without the enable, as before.

Asking for a new extension​

An extension is anything a client sees that TCI 2.1 does not define: a new command, a new argument, field or value on an existing command, or a new extension set. If your TCI client needs one, start by joining the AetherSDR Discord's TCI channel and making the case for it there: https://discord.gg/XFJkKeHeqB. The request then goes through an RFC, and its pull request must give all of the following in its description:

  • The user need, naming the released client that asks for it.
  • Prior art: a search for an existing implementation that already does this (TCI-X, another server). If one exists, AetherSDR adopts its name under the aethersdr_ prefix rather than inventing a new one.
  • Why TCI 2.1 is not enough.
  • A regression commitment: the author fixes any regression in the extension for two releases after it ships. One that breaks in a release and is not fixed by the next one is removed.
  • Compatibility evidence: a test plan, and the results of base runs with WSJT-X on a radio, showing that a plain TCI 2.1 client sees no change and receives no extension traffic.

Every extension joins the opt-in aethersdr_ set. AetherSDR adds no bare commands and gives no TCI 2.1 command a new meaning, except to fix a spec-compliance bug. The older extensions (rx_record, rx_play, tx_gain, active_slice, rx_ctun_ex) and the dsb modulation value are frozen: they keep working but gain nothing new. Only the maintainer can waive an item, by saying so on the pull request. The contributor rules are in AGENTS.md and were ruled on #7312.

TX passband: tx_filter_band​

Offered when the connected radio has TX low and high cut controls (the Phone applet's), for example a Flex or a Hermes-Lite 2. Not on the simulator, an RTL-SDR, or an Icom without a TX bandwidth profile.

aethersdr_tx_filter_band:0; # read
aethersdr_tx_filter_band:0,100,2900; # set low and high cut, audio Hz
  • <trx> is the transmit receiver. A read or set for another one is ignored. When transmit moves to another receiver, the line is sent again; the last line sent names the new <trx>, and an earlier one may still name the old.
  • Values are positive audio Hz, as in the Phone applet; the sideband follows the mode. A negative value is taken as positive and a reversed pair is swapped.
  • The value is set the way the Phone applet sets it: 0 to 10000 Hz, at least 50 Hz wide. On a radio with fixed edges (an Icom) it goes to the nearest ones.
  • Every change, from any source (the Phone applet, a TX profile, CAT, another client), is sent as aethersdr_tx_filter_band:<trx>,<low>,<high>; to every client that enabled the set. That is also the answer to a set. A set that the limits changed but that left the passband as it was is answered to the sender only. A set that changes nothing gets no answer.
  • Allowed while transmitting, as in the Phone applet, except on a Hermes-Lite 2: there a set while transmitting is refused, the passband stays as it was, and the line sent back carries the unchanged pair. Unkeyed it applies at once.
  • The value is the operator's setting. On a Hermes-Lite 2 it applies to USB and LSB voice; CW, AM, FM and the digital modes transmit with their mode's own passband.

Hermes-Lite 2 hardware: hl2​

Offered while a Hermes-Lite 2 is connected (a radio that answers the HL2 settings of Radio Setup → HL2 Hardware). Not on any other radio.

aethersdr_hl2_filter_board; # read
aethersdr_hl2_filter_board:n2adr_txonly,true; # set the board and its HPF
aethersdr_hl2_ioboard_status; # read the IO board, once
  • Changes need the operator's permission. A set is accepted only while Allow TCI clients to change HL2 hardware is on in the TCI Server applet. It is off by default. While it is off, every set is refused the way the refusals below are: the client that sent it gets the setting that stands, and AetherSDR shows the reason. Reads always work.
  • Filter board. <board> is none, n2adr_rxtx (N2ADR, receive and transmit) or n2adr_txonly (N2ADR, transmit only); <hpf> is the 3 MHz high-pass, true or false. This is the HL2 Hardware page's setting and is saved the same way. The high-pass applies to n2adr_txonly only, as on that page; with another board a set leaves it as it is. A set is refused while transmitting or tuning, or while the radio is still finishing a transmission, because the board's relays follow the transmit filter: the client that sent it gets the setting that stands, and AetherSDR shows the reason. It is also refused before the radio has an identity to save the setting against. Every change, from the page or another client, is sent as aethersdr_hl2_filter_board:<board>,<hpf>; to every client that enabled the set. A change made on the page wins over a client's set that had not been applied yet. With the setting on, a set that changes nothing gets no answer, unless it asked for an HPF the board does not use; then it gets the setting that stands.
  • IO board status. Read from the N2ADR IO board when asked, and answered only to the client that asked: aethersdr_hl2_ioboard_status:<pins>,<receiving>,<in1>,<in2>,<in3>,<in4>,<in5>,<tuner>,<fault>,<firmware>; (<pins> the input pin byte, <tuner> 238 = send RF, 0 = tuned, 240 or more = failed). aethersdr_hl2_ioboard_status:none; when no IO board answers, the radio is not connected, or another read is still pending. It is never sent unasked.

Antennas: rx_antenna and tx_antenna​

rx_antenna is offered while a receiver of the connected radio has a receive antenna list, tx_antenna while one has a transmit antenna list and the radio can transmit. A Flex publishes its ports (for example ANT1, ANT2, RX_A); a Hermes-Lite 2 receives on ANT and transmits on ANT or RF1. An RTL-SDR is not offered tx_antenna.

aethersdr_rx_antennas:0; # read: aethersdr_rx_antennas:0,ANT1,ANT2,RX_A;
aethersdr_rx_antenna:0; # read: aethersdr_rx_antenna:0,ANT1;
aethersdr_rx_antenna:0,ANT2; # set
aethersdr_tx_antennas:0; # read: aethersdr_tx_antennas:0,ANT,RF1;
aethersdr_tx_antenna:0,RF1; # set
  • <trx> is the TCI receiver. A receiver without a list is ignored.
  • A set names an antenna from that receiver's list, in any case; the answer uses the list's spelling. A name not in the list gets no answer. A set naming the antenna already in use changes nothing and is answered with it, to the sender only. A name with :, , or ; is left out of the list.
  • The set goes the way the RX applet's antenna menus set it, so the radio's own rules still apply. The answer, sent to every client that enabled the set, is the antenna in use afterwards: if the radio refused, it is the old one.
  • Every change is sent the same way, whoever made it, and so is a list that changes. When transmit moves to another receiver, its aethersdr_tx_antenna line is sent again.
  • The receive antenna may change while transmitting. The transmit antenna may not: while the radio transmits or tunes, a set is answered with the antenna in use, to the sender only, and AetherSDR shows the reason in its status bar once per transmission. On a Hermes-Lite 2, in the short tail after it stops transmitting, the refusal comes from its backend instead, and the old antenna is sent to every client that enabled the set. This is stricter than the RX applet on a Flex. On a Hermes-Lite 2, RF1 turns the PA off and has its own drive, which the drive: line reports.
  • KiwiSDR receivers that the RX applet lists as antennas are not in the list. While one is assigned to a receiver, aethersdr_rx_antenna still reports the radio's port, although what you hear comes from the KiwiSDR. A receive-antenna set releases the KiwiSDR receiver, as choosing a port in the RX applet does, even when it names the port in use.

Receive RF gain: rx_rf_gain​

Offered while the connected radio has an RF Gain control on the panadapter and has told AetherSDR its range in dB, for example a Flex or a Hermes-Lite 2. Not on the simulator, and not on an Icom, whose RF gain is in percent.

aethersdr_rx_rf_gain_range:0; # read the range: min, max, step in dB
aethersdr_rx_rf_gain:0; # read the gain
aethersdr_rx_rf_gain:0,20; # set the gain, dB
  • <trx> is the receiver. The gain belongs to the receiver's panadapter, so every receiver on that panadapter reports the same value. On a Hermes-Lite 2 all receivers share one front end, and a change is reported for each of them.
  • A set is limited to the range and moved to the nearest step, then applied the way the panadapter's RF Gain control applies it.
  • Every change, from any source (the RF Gain control, CAT, another client), is sent as aethersdr_rx_rf_gain:<trx>,<db>; to every client that enabled the set. That is also the answer to a set. A set that the limits moved onto the current value is answered to the sender only. A set that changes nothing gets no answer.
  • The range line is sent again when the radio reports a new range, and both lines are sent again when a receiver appears or moves to another panadapter.
  • On a Hermes-Lite 2 with automatic RF gain on, the value is the gain the radio is running at, which can be below the operator's setting (see aethersdr_rx_overload). A set still writes the operator's setting, so while automatic gain holds the gain down, the value reported after a set is that setting minus the aethersdr_rx_overload offset.
  • Allowed while transmitting.

Automatic RF gain: rx_auto_rf_gain​

Offered while the connected radio has automatic RF gain (the Hermes-Lite 2). There is one switch for the whole radio, so the command has no <trx>.

aethersdr_rx_auto_rf_gain; # read
aethersdr_rx_auto_rf_gain:true; # turn on (false: off)
  • The answer, and every change from any source, is aethersdr_rx_auto_rf_gain:<bool>; to every client that enabled the set.
  • The radio can refuse to turn it on. The answer then reads false, and AetherSDR shows the reason on the panadapter, as it does for the Auto box.
  • Asking for the state it is already in gets no answer.

Front-end overload: rx_overload​

Offered while the connected radio watches its converter for clipping (the Hermes-Lite 2). Read only.

aethersdr_rx_overload; # read
aethersdr_rx_overload:hot,true,6; # level, automatic gain on, dB below setting
  • The level is unobserved (no reading yet), clean, marginal, hot or at_floor (still clipping with the automatic gain as low as it may go).
  • The second field says whether automatic RF gain is running, and the third how many dB it holds the gain below the operator's setting.
  • Every change is sent to every client that enabled the set, at most one line every 100 ms. After a reconnect the level starts at unobserved.

Span: rx_span​

Offered when the connected radio lets the panadapter's span be changed (the desktop's -/+ span buttons are live), for example a Flex, a Hermes-Lite 2, an ANAN, an Icom with a scope or an RTL-SDR. Not on the simulator.

aethersdr_rx_span_rates; # read: how span works on this radio
aethersdr_rx_span:1; # read the span of receiver 1, Hz
aethersdr_rx_span:1,192000; # set it
  • aethersdr_rx_span_rates:<follows_rate>,<radio_wide>[,<hz>...]; says what the span is. follows_rate is true where the span is the receiver's sample rate, so only the listed values exist (a Hermes-Lite 2: aethersdr_rx_span_rates:true,true,48000,96000,192000,384000;). radio_wide is true where every panadapter shares one span, so a set on any receiver changes them all. The list holds the rates a set can reach now: a Hermes-Lite 2 drops its wider ones as receivers open (the network link is shared) and in low bandwidth mode, and the line is sent again when that changes. A radio with a continuous span lists none.
  • <trx> is the receiver; the span is that of the panadapter it is on. A receiver that does not exist is ignored.
  • A set goes where the desktop's span buttons send it. Where the span is the sample rate, it is moved to the nearest listed rate; otherwise it is kept inside the panadapter's limits, when the radio reports them.
  • One exception: while a panadapter shows a KiwiSDR, the desktop's span buttons leave the radio's panadapter alone, but a set still changes the span of the radio's panadapter behind it.
  • The answer is aethersdr_rx_span:<trx>,<hz>; with the span the radio reports, sent to every client that enabled the set, for every receiver whose span moved. A radio that keeps its span (a Hermes-Lite 2 refuses a span the network link cannot carry) is answered with the span it kept; with no report two seconds after the set, the span in force is sent. A set that the rounding left at the current span is answered to the sender only; a set of exactly the current span gets no answer.
  • Every change from any source (the desktop, a band change, another client) is sent the same way. The line is also sent, unasked, when a receiver appears or moves to another panadapter. This is not the TCI iq_samplerate, which keeps its own meaning.
  • Where the span is the sample rate, a set is refused while transmitting or tuning, and answered to the sender with the span in force; AetherSDR shows the reason in its status bar once per transmission. After the over, a set is accepted again once the radio is receiving, as for tx_antenna. On a Hermes-Lite 2 that is as soon as the key-up has been delivered: a set in the short tail after it is accepted, as the desktop's span buttons are, since the rate only changes the receivers. A set made while a profile loads waits for the load and is checked when it was made, not when it reaches the radio. On a Hermes-Lite 2 a span change rebuilds every receiver's DSP at the new rate. The connection and the stream stay up; the panadapter and the audio of every receiver may glitch briefly, and the answer comes when the rebuild is done. Elsewhere a set is allowed while transmitting, as the span buttons are.
  • On a Hermes-Lite 2 the TCI IQ stream is taken at the radio's rate, which is the span. A span below a client's iq_samplerate therefore also lowers the IQ rate, and iq_samplerate: is sent again with the rate the frames now carry. It never goes above the radio's rate.

Transmit power ceiling: tx_power_max​

Offered while the connected radio can transmit and has reported its maximum transmit power. Read only.

aethersdr_tx_power_max; # read: aethersdr_tx_power_max:0,5;
aethersdr_tx_power_max:0; # the same, naming the transmitting receiver
  • aethersdr_tx_power_max:<trx>,<watts>; is the radio's maximum transmit power in whole watts, the value that drive: 100 stands for, sent for <trx>, the receiver that transmits. It is the same ceiling AetherSDR shows and publishes over MQTT as max_power_level: on a Flex, the radio's own maximum power level (higher with a Power Genius XL or an Aurora); on an Icom that AetherSDR has a power table for, the model's rated power for the band of the transmit frequency; on a Hermes-Lite 2, 5.
  • It is the radio's rating, not the drive setting and not a measurement. It does not say the radio will transmit at the current frequency, and on a Hermes-Lite 2 it ignores the TX route: with transmit on RF1 it still reads 5.
  • There is one line, for the receiver that transmits. A read naming another receiver is ignored, and so is a read with anything after the receiver.
  • The line is sent again when the value or the receiver changes: tuning into a band with another ceiling, moving transmit to another receiver, or a reconnect. Tuning within a band sends nothing. While no receiver transmits, the line keeps naming the last one that did. If that receiver is closed, the line moves to receiver 0.
  • A receive-only radio, such as an RTL-SDR, is not offered it, and neither is a radio with no reported ceiling: one that has not reported it yet, or an Icom without a power table.

Known issues​

  • If a client that holds PTT dies without closing its connection (power loss, a pulled cable, a dropped Wi-Fi link), the radio stays keyed until the operating system gives up on the TCP connection (#5985).
  • Transmit audio from a TCI client passes through the Phone/CW microphone chain, so the mic profile, MIC level and PROC change what a digital-mode client puts on the air (#5844).
  • A cross-band tune from a TCI client does not recall the radio's band stack, so the per-band antenna, mode and filters are not restored (#3543).
  • The TCI port listens on every network interface with no password, so any machine that can reach it can tune and key the radio (#5296).

Troubleshooting​

The TCI / CAT / rigctld category in Help → Support & Diagnostics... logs the TCI server. See Support and Logging.

The server won't start because port 50001 is in use​

Another program already listens on the TCI port.

  1. Change the Port: field in the TCI Server applet.
  2. Point each TCI client at the new port.

A client connects but gets no audio​

Audio only flows after the client sends audio_start.

  1. Check that the client has audio streaming turned on. WSJT-X sends audio_start automatically.
  2. Test by hand with wscat: send audio_start:0; and watch for binary frames.

Recordings are too quiet at 100% receive gain​

At 100%, AetherSDR passes the source audio level without amplification.

  1. Check that the appropriate RX slider in the TCI Server applet is at 100% to remove client-side attenuation.
  2. If the recording remains too quiet, adjust recording gain or normalization in the recording application, if supported. Check strong signals for clipping.
  3. Do not raise speaker volume or the TX slider to adjust TCI receive audio; these control different paths.

WSJT-X shows "TCI failed to set ptt"​

AetherSDR refused the PTT request. This happens when another TCI client already holds PTT, or when the requested receiver can't be resolved to a slice.

  1. Stop the other client's transmission, then try again.
  2. Check that each WSJT-X instance uses its own receiver.

TCI keys the wrong slice​

The PTT routing needs a log to diagnose.

  1. Start AetherSDR with QT_LOGGING_RULES="aether.cat.info=true". This logs one line per PTT decision: the requested receiver, the mapped slice, the chosen slice, the slice holding TX and any cached route.
  2. Reproduce the problem and include that log when you report it.

JTDX crashes​

This is a known JTDX bug; JTDX is no longer maintained.

  1. Use WSJT-X instead.

A client on another computer can't connect​

A firewall is blocking the TCI port, or the client is using localhost.

  1. Open the TCI port (TCP) in the firewall of the computer running AetherSDR.
  2. Point the client at ws://<computer-ip>:<port>.

See also​