SPEEDBIRD

Bluetooth radios and nodes#

SPEEDBIRD talks to handhelds, TNCs and mesh nodes over Bluetooth (page Control › Bluetooth, API /api/bluetooth, code core/bluetooth.py, CAT driver radio/thd7x.py).

Family Models Link What SPEEDBIRD does
Kenwood TH-D74 / TH-D75 TH-D74A/E, TH-D75A/E Classic SPP KISS TNC (RX → APRS decodes, optional TX); CAT via rig: thd7x
Benshi-family HTs BTECH UV-PRO / GMRS-PRO / UV-50PRO, VGC VR-N76 / VR-N7500 / VR-N1000, Radioddity GA-5WB / DB50-B, Retevis RT-660 Classic SPP KISS TNC
Mobilinkd TNC2, TNC3 (SPP), TNC4 (BLE) SPP / BLE KISS TNC
LoRa APRS CA2RXU tracker/iGate, ESP32 LoRa APRS BLE (Nordic UART) / SPP KISS TNC (433.775 MHz LoRa APRS)
Generic PicoAPRS, HC-05/06 TNC boards SPP KISS TNC
Meshtastic T-Beam, T-Echo, T-Deck, Heltec V3, RAK4631, Station G2, T1000 BLE Added to the Mesh page as a BLE device (meshbridge --ble)
Icom ID-52 / ID-50 / ID-5100 SPP Recognised; use the bound port with rig: icom and the D-RATS mode
RNode SPP/BLE Recognised only (Reticulum framing, not used yet)

How it works#

A KISS-capable radio is a hardware TNC: it demodulates packet itself and hands SPEEDBIRD every AX.25 frame it copies. Each frame becomes a normal aprs decode on the bus (decode.<device id>, fields.via = "bluetooth:<family>"), so it appears on Live, Data, the map and the Nodes page under the device id, exactly like frames from SPEEDBIRD's own AFSK demodulator. audio_hz is null, freq_hz comes from freq_hz: in the device config or from the dial of radio: <rig radio id>.

Transmit is off by default. With tx_enabled: true, frames sent from the Bluetooth page, POST /api/bluetooth/devices/{id}/send, or a KISS TCP client (kiss_port:) go out through the radio's own TNC. The AX.25 source must be the station callsign (any SSID, 47 CFR 97.119) unless allow_any_source: true. Messages use the tocall APZSBD (APZ = experimental block, no registered tocall yet).

Setup#

  1. Put the radio in pairing mode (TH-D74/D75: Menu › Configuration › Bluetooth › On, then Pairing Mode).
  2. Bluetooth › Scan, then Pair (Linux, BlueZ bluetoothctl; confirm the passkey on the radio). On Windows and macOS pair in the system Bluetooth settings, then add the radio by its serial port.
  3. Add… — pick the family, optionally a frequency label, KISS TCP port and transmit.
bluetooth:
  - {id: d75, name: TH-D75, family: kenwood-thd7x, address: "AA:BB:CC:DD:EE:FF", freq_hz: 144390000}
  - {id: uvpro, family: benshi, port: COM7}                       # Windows "Standard Serial over Bluetooth link"
  - {id: tnc4, family: mobilinkd, address: "AA:BB:CC:DD:EE:01", ble: true, kiss_port: 8101, tx_enabled: true}
meshtastic:
  devices:
    - {id: roof, ble: "AA:BB:CC:DD:EE:03"}                        # or the advertised name, e.g. Meshtastic_9f1c
radios:
  - {id: d75cat, name: TH-D75, rig: thd7x, port: /dev/ttyACM0}    # CAT over USB while Bluetooth carries KISS

Device keys: id, name, family, one of address (Linux RFCOMM socket; channel: or SDP lookup via sdptool, else 1) / address + ble: true (needs pip install speedbird[bluetooth]) / port (serial: Windows COM, macOS /dev/cu.*, Linux /dev/rfcommN) / host + tcp_port (a networked KISS TNC); freq_hz, radio, baud (label, 1200), tx_enabled, allow_any_source, kiss_port (+ kiss_host, default 127.0.0.1), kiss_init, kiss_exit. UI-added devices live in <state>/bluetooth.json.

TH-D74 / TH-D75 notes#

Status#

Unit-tested with simulated radios and streams (tests/test_bluetooth.py). Not yet tried with real hardware: the SPEEDBIRD host (.182) is a KVM VM with no Bluetooth adapter; a USB Bluetooth dongle must be passed through in the hypervisor (like the T-Beam), then apt install bluez and systemctl enable --now bluetooth. deploy/install.sh adds the speedbird user to the bluetooth group (BlueZ D-Bus policy for scan/pair). The TH-D7x command details follow community PC-command notes and Hamlib's thd74 backend.