Kiss-tnc is a library for connecting to KISS TNCs, such as Direwolf. It can be used to read and write frames, which can be useful for APRS and AX.25 utilities.
``` let mut tnc = Tnc::connect("localhost:8001"); // Direwolf default port number tnc.sendframe("Hello world!".asbytes()); // Send "Hello world!" over the air tnc.flush();
// Reads a frame from the TNC
// In most cases you can ignore port
- it only matters if
// you have multiple channels
let (port, data) = tnc.read_frame().unwrap();
```