Skip to content

QRV Link 0.0.4

Choose a tag to compare

@jonnyborbs jonnyborbs released this 21 Nov 01:06
e5a97f1

Release 0.0.4 of QRV Link: firmware for an ESP32-S3 adapter that connects iPhone/iPad packet apps (RadioMail, aprs.fi and other apps that support BLE KISS TNCs) to a Kenwood TM-D750 over the radio's USB port. Apps find the adapter over Bluetooth as "QRV Link".

This is an early test build. Expect rough edges.

What's new in 0.0.4

  • New name: QRV Link (QRV is the Q-code for "I am ready"). The adapter now shows up as "QRV Link" instead of its earlier name, and the project lives at github.com/jonnyborbs/qrv-link (old links redirect).
  • Frequency control (QSY). Apps can tune the radio's packet band to a frequency and back, using the same commands as Island Magic's B.B. Link adapter. When the app finishes, the band goes back to the memory channel (or VFO frequency) it was on.
  • Baud rate. Apps can switch the radio's TNC between 1200 and 9600 baud. Your original speed comes back when the app disconnects.
  • Firmware/capability queries. The adapter answers apps' version and capability questions, and it declares its features (Write KISS data:01) so apps can detect frequency control without relying on its name.
  • Safer recovery. If the adapter loses power during a session, it puts the radio's channel, TNC speed and packet mode back the next time it starts.

Also includes the earlier fixes: your previous packet mode (for example APRS 12) is restored after an app disconnects, quickly (about 0.1 s).

If you already run an earlier version, flash this file the same way; your settings aren't affected. Your phone will see a new adapter name: in your app, select QRV Link again.

What you need

  • An Espressif ESP32-S3-DevKitC-1-N16R8 board (16 MB flash, 8 MB PSRAM), available here on Amazon. This file is built for that board only.
  • The board's USB-OTG solder jumper bridged, so the board can power the radio-side USB port (see the README).
  • A computer (Mac, Windows or Linux) with Google Chrome or Microsoft Edge. Safari and Firefox can't flash boards.
  • A USB-C data cable. Some charge-only cables don't carry data.
  • On the TM-D750: menu 984 (KISS) = USB (Main Unit).

Install the firmware (in your browser, nothing to install)

  1. Connect the board's USB-C port labeled UART or COM (the name depends on the board version) to your computer. Don't use the port labeled USB; that one goes to the radio later. You can leave the radio unplugged while installing.
  2. Quit any program that might be using the board's serial port, such as the Arduino IDE.
  3. In Chrome or Edge, open the QRV Link installer and click Install/Upgrade QRV Link.
  4. A list of ports appears. Choose the board: it's called USB Single Serial on a Mac and USB-Enhanced-SERIAL CH343 on Windows. Click Connect. If your Mac asks whether to allow the accessory to connect, click Allow. On Windows, if the board isn't in the list, install the CH343 driver and try again.
  5. The installer shows what's on the board now. In the Version list, choose 0.0.4, then click the install button. It takes about a minute, and the board restarts on its own when it's done.

If it can't connect or installing fails: hold down the board's BOOT button, press and release RST, then let go of BOOT, and try again. After installing, press RST once more.

Alternative: Terminal (Mac)

Download qrv-link-0.0.4-esp32s3.bin under Assets at the bottom of this page. Then, if you have Homebrew, run these two commands in Terminal (adjust the path if your download is elsewhere):

brew install esptool
esptool --chip esp32s3 write-flash 0x0 ~/Downloads/qrv-link-0.0.4-esp32s3.bin

esptool finds the board on its own. If you have several serial devices connected, add --port /dev/cu.usbmodemXXXX (run ls /dev/cu.* to see the names).

Use it

  1. Connect the board's USB port (the native one) to the USB port on the TM-D750's main unit.
  2. Power the board through its UART / COM port, from your computer or any USB charger.
  3. In your app's TNC/Bluetooth settings, choose QRV Link. When the app connects, the adapter switches the radio's TNC to KISS mode. When the app disconnects, the adapter puts the TNC back the way you had it.

To see what the adapter is doing, connect it to your computer, open the installer, click Install/Upgrade QRV Link, connect to the board and click Show logs.

Known limitations

  • Frequency control from RadioMail needs a RadioMail version that reads the adapter's capability declaration. Current versions only offer it to adapters named "B.B. Link"; the adapter is ready for when that changes.
  • The radio's TNC band is used as-is. Set the KISS band and frequency on the radio before connecting.
  • After the radio is switched off and on, the adapter may not see it again on its own. Unplug and replug the USB cable between the adapter and the radio.
  • If your iPhone still shows an older adapter name, turn Bluetooth off and on again.

Details

  • Version 0.0.4, built from commit e5a97f1 with ESP-IDF v5.5.6.
  • Single merged image (bootloader + partition table + app) for flash address 0x0; DIO, 80 MHz, 16 MB.
  • SHA-256 of qrv-link-0.0.4-esp32s3.bin: 2e851882060b99c16cf10415eff892fe279b6c067d4bf6611019a74500008cee
  • Licensed under the Mozilla Public License 2.0.