Expand description
Utilities for Packet Radio in Rust.
This crate aims to provide tools for writing cross-platform packet radio software in Rust.
See the related ax25 crate for packet wrangling including no_std support.
Main features:
- Connect to TNCs via multiple methods without needing to change your code
- KISS protocol
Most developers will want to focus on tnc::TncAddress and tnc::Tnc.
- Generate or ask the user to supply an address string. This takes the form:
tnc:tcpkiss:192.168.0.1:8001or
tnc:linuxif:vk7ntk-2 - Parse this to an address:
let addr = string.parse::<TncAddress>()?; - Attempt to open the TNC:
let tnc = Tnc::open(&addr)?; - Use
send_frame()andreceive_frame()to communicate on the radio. - The
Tnccan be cloned for multithreaded use.
Several sample programs are provided in the source code repository under /examples.
Modulesยง
- tnc
- Connect to a TNC and use it to send and receive frames.