thombles / ax25-rs

Utilities for Packet Radio in Rust. AX.25 encoding/decoding and radio interfacing.
Apache License 2.0
54 stars 10 forks source link

Paclen restrictions are not exposed #6

Open thombles opened 3 years ago

thombles commented 3 years ago

For example when you define a radio in /etc/ax25/axports there is a paclen parameter.

paclen - is the default maximum packet size for this interface.

man page

If you try to transmit packets greater than this length then it will fail (at least in my previous testing). The linuxif TNC (and any others that work similarly) should query this information and make it available on the Tnc so the application can perform appropriate fragmentation.