Skip to main content

Crate agw

Crate agw 

Source
Expand description

§AGW library

Rust library for speaking AGW with e.g. Direwolf

https://github.com/ThomasHabets/agw

§Example usage

Example setup with ICom 9700

§1. Run rigctld

$ rigctld -m 3081 -r /dev/ttyUSB0 -s 19200

§3. Start direwolf

$ cat > direwolf.conf
ADEVICE pulse
PTT RIG 2 127.0.0.1:4532
CHANNEL 0
MYCALL M0QQQ-8
AGWPORT 8010
KISSPORT 8011
MODEM 1200
^D
$ direwolf -d a -p -t 0 -c direwolf.conf

§4. Run the AGW application

$ cargo build --example term
$ ./target/debug/examples/term -l blah.log -v 4 M0QQQ-3 GB7CIP

§Contributing

Pull requests welcome!

Please enable the pre-commit when developing:

(cd .git/hooks && ln -s ../../extra/pre-commit)

Modules§

async
proxy
wrap

Structs§

AGW
AGW connection.
Baud
Baud rate.
Call
Callsign, including SSID.
Connection
AX.25 connection object.
Header
MakeWriter
An object that has all the metadata needed to be able to create AGW “write some stuff on the established connection”, without owning the whole connection object.
Pid
PID number.
Port
Port number.
PortCaps
Port capabilities.
PortInfo
Port information.

Enums§

Command
Command.
Error
Packet

Constants§

HEADER_LEN

Functions§

parse_header
Parse header from bytes.

Type Aliases§

Result
Result convenience type.