Rhizo-HF-connector is a file exchange solution for HF modems.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
Makefile
README.md
ardop.c
ardop.h
buffer.c
buffer.h
common.c
common.h
connector.c
connector.h
doxyfile
dstar.c
dstar.h
net.c
net.h
ring_buffer.c
ring_buffer.h
spool.c
spool.h
vara.c
vara.h

README.md

Rhizo-HF-connector

Rhizo-HF-connector is a file exchange solution compatible with different HF modems.

Rhizo-HF-connector controls a TNC to transmit or receive files, though a inotify-driven interface, in which files written to a specified directory are automatically transmitted by the TNC, and files received from TNC are written to a specified directory.

Support for the following TNCs are implemented: VARA and Ardop (works with ardop versions 1, 2 and ofdm).

Usage

Option Description
-r [ardop,dstar,vara] Choose modem/radio type
-i input_spool_directory Input spool directory (Messages to send)
-o output_spool_directory Output spool directory (Received messages)
-c callsign Station Callsign (Eg: PU2HFF)
-d remote_callsign Remote Station Callsign
-a tnc_ip_address IP address of the TNC
-p tcp_base_port TCP base port of the TNC. For VARA and ARDOP ports tcp_base_port and tcp_base_port+1 are used
-t timeout Time to wait before disconnect when idling
-h Prints this help

Vara

Example for running rz-hf-connector with VARA modem, on base port 8300:

$ rz-hf-connector -r vara -i l1/ -o l2/ -c BB2ITU -d UU2ITU -a 127.0.0.1 -p 8300 -t 60

Ardop

Example of invocation command for Ardop2 with an ICOM IC-7100, base port: 8515:

$ ardopc2 8515 -c /dev/ttyUSB0 ARDOP ARDOP -k FEFE88E01C0001FD -u FEFE88E01C0000FD

With the following ALSA configuration (global-wide ALSA configuration in "/etc/asound.conf"):

pcm.ARDOP {type rate slave {pcm "hw:1,0" rate 48000}}

Associated rz-hf-connector command example:

$ rz-hf-connector -r ardop -i /var/spool/outgoing_messages/ -o /var/spool/incoming_messages/ -c BB2UIT -d PP2UIT -a 127.0.0.1 -p 8515 -t 60

D-Star

Not implemented yet.

Author

Rafael Diniz <rafael (AT) rhizomatica (DOT) org>