TCP KISS TNC Options

When choosing which device to use for Radiomail, the Vara options are
easily understood.

For the KISS TNC Modem, you can discover a BLE or TCP modem. For the BLE,
something like a Mobilinkd TNC3 comes to mind. For the TCP, a computer
running Direwolf is probably the most common.

The question: Could the TCP Modem be a Kantronics KPC3+ (the quintessential
TNC) connected to a computer via a USB serial cable? I know you can put the
KPC3+ into KISS mode but how can its presence be broadcast over TCP?

Still figuring this out...

-73- Mitch N8XS

In *nix OS you can easily redirect a serial device stream to a TCP socket with the `nc` utility

For example, on macOS, I can expose a TNC connected to USB serial for the TCP port 8002

nc -k -l 8002 > /dev/cu.usbmodem208B358A41301 < /dev/cu.usbmodem208B358A41301

then I can advertise its existence with dns-sd

dns-sd -R "KISS TNC on iMac" _kiss-tnc._tcp local 8002

If RadioMail is on the same network than the computer, it will discover and use that device.

Georges - Thanks for the data! I have an old Mac Mini that I can use for
this purpose.

I will investigate.

My (possibly incorrect) assumption is that this feat cannot be accomplished
on a Windows machine. (?)

Mitch N8XS

I can’t speak for Windows as I don’t use it. But assuming you can run a bash terminal (which I vaguely heard it’s possible now How to Install and Use the Linux Bash Shell on Windows 10), you should be able to run `nc`.

Alternatively, search for netcat on Windows and see what comes up.

WRT to dns-sd, I have not tested this but seems that you can install the bonjour sdk and get it running on Windows as well.

https://stackoverflow.com/questions/54216363/how-to-install-the-dns-sd-command-line-test-tool-on-windows-or-linux

(attachments)

How would you advertise it on a Debian box running direwolf?

Best Regards,

Scott
K0SHD

Dire Wolf has zero-conf built in. It's not released yet, so you have to compile from source from the `dev` branch
https://github.com/wb2osz/direwolf/pull/307
alternatively, you can advertise on linux with `avahi-publish`:

avahi-publish -s "My TNC" _kiss-tnc._tcp 8001 "pn=144.800 1200,434.125 9600"

more info on leveraging dns-sd for TCP/IP KISS TNC discovery https://github.com/hessu/aprs-specs/blob/master/TCP-KISS-DNS-SD.md

In KISS TNC Modem settings there is no IP nor Port of the TNC for TCP connection. Is it possible to connect UZ7HO type KISS TNC over TCP to RadioMail.
In my case the IP is 10.0.0.88 and KISS server Port 8200.
UZ7HO running on Win10 MiniPC. How should I connect it?

73 Jouko OH5RM

Current 1.0.0 version relies on zero-conf for packet TNC so there is not ability to specify host or port. You can have your host broadcast its configuration via dns-ds as described here in thread. I realize it's cumbersome for some users, particularly on Windows.

There is an upcoming update of RadioMail (1.0.2) that provides an option to manually enter host and port. Will be released soon, it's pending Apple approval.

(attachments)