Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AX.25 version 2.0 segmenter #252

Closed
jmkristian opened this issue Feb 25, 2020 · 2 comments
Closed

AX.25 version 2.0 segmenter #252

jmkristian opened this issue Feb 25, 2020 · 2 comments

Comments

@jmkristian
Copy link
Contributor

Direwolf segments large frames when sending AX.25 version 2.0 packets. It should not. Instead, it should simply divide the data into packets without segment headers, on an AX.25 version 2.0 connection.

From https://www.tapr.org/pdf/AX25.2.2.pdf :
"The receipt of an XID response from the other station establishes that both stations are using AX.25 version 2.2 or higher and enables the use of the segmenter/reassembler and selective reject."
"The segmenter/reassembler procedure is only enabled if both stations on the link are using AX.25 version 2.2 or higher."

An example log.txt is attached. Direwolf is configured with PACLEN 64 and V20 W3XSC-1.
log.txt

@jmkristian
Copy link
Contributor Author

In the example above, Direwolf should have transmitted:

(I cmd, n(s)=0, n(r)=1, p=0, pid=0xf0)..............10..............20..............30..............40
(I cmd, n(s)=1, n(r)=1, p=0, pid=0xf0)..............50..............60..............70.............7f<0x0d>

@wb2osz
Copy link
Owner

wb2osz commented Apr 14, 2020

Thanks for pointing that out.
Fixed in the 'dev' branch.
c15903e

@wb2osz wb2osz closed this as completed Apr 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants