Announcing the experimental beta test release of :
https://github.com/hotpaw2/hl2_relay
This is a UDP to UDP relay server specifically designed for the
Hermes Lite 2 SDR's METIS Protocol 1.
This server could be particularly beneficial for network connections
with severe latency jitter, exceeding the 10 mS to 40 mS buffering
capabilities of the FPGA, and causing HL2 Rx/Tx relay chatter noise
and Tx breakup. Unlike other methods, this server runs on a Linux or
macOS server with only one accessible IP addresses, and thus does
not require a Raspberry Pi server to have its built-in WiFi enabled.
It’s a command-line utility that is useful for SDR client applications
that allow manual configuration of both the IP address and the port
number used to connect to the HL2.
For example, you can use the following command to start the server:
./hl2_relay -a <IP_ADDRESS_OF_HL2> -p 1026
I run the hl2_relay server on a Raspberry Pi 4 that is co-located
and on the same LAN as my two HL2 radios. However, the Pi is not
connected to any HL2 via any direct Ethernet cable. I configure
my SDR application to connect to this virtual HL2 server on the Pi
using the IP address of my Raspberry Pi 4 (not the IP address of
the HL2 itself), and the port number 1026. The hl2_relay server on
the Pi then acts as a buffering relay, and relays all UDP packets
from my SDR application to the Pi's port 1026, to the HL2's port
1024, as well as relaying UDP data from the HL2 back to my SDR
application.
The size of the fifo buffering can be configured.
For instance, you can use the following command to change the default
buffering sizes:
./hl2_relay -a <IP_ADDRESS_OF_HL2> -p 1026 -tb 80 -rb 40
These default settings add 200 mS of buffering to packets transmitted
to the HL2, and add 100 mS of buffering to data packets returned
from the HL2 back to the SDR client application. (The parameters
add 2.5 mS of buffering per UDP packet of 1032 bytes in the METIS
OpenHPSDR Protocol 1 format.) This setting allows me to use my HL2
remotely without experiencing significant hiccups, even over a
mediocre WiFi connection that has a varying ping latency from 3 mS
to nearly 200 mS between my SDR app host and either the HL2 or the
colocated Pi 4 server.
I’ve been conducting tests to evaluate the reception and transmission
of both SSB and CW modes using my iPhone’s rtl_tcp SDR app. The app
is available from Apple’s App Store. (Testflight invitations and/or
promo codes for free downloads of the iOS/iPhone/iPad app for HL2
users are available upon request via email. Please provide your
callsign.)
It’s important to note that the added latency will cause significant
challenges in QSO operations due to the extremely slow turnaround
times for SSB and CW signals. Attempting QSK CW type operations
through this relay server is likely to result in a poor experience.
If you decide to try this setup, please send feedback and bug reports.
Thanks and 73,
Ron
N6YWU