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

Add support for AX.25 frame decoding #13

Open
bng919 opened this issue May 21, 2024 · 0 comments
Open

Add support for AX.25 frame decoding #13

bng919 opened this issue May 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@bng919
Copy link
Owner

bng919 commented May 21, 2024

Received packets are displayed in hexadecimal format containing the raw data received. It would be useful to have the ability to decode the call sign's and data fields according to the AX.25 specifications: AX.25.2.2.pdf

This would be best done in DecoderDireWolf#startDecoder() before primArr is added to decodeData:

// Convert Byte[] to byte[] (primitive type)
byte[] primArr = new byte[arr.length];
for (int i = 0; i < primArr.length; i++) {
primArr[i] = arr[i];
}
decodedData.add(primArr);
Log.info("Received packet:\n" + HexadecimalUtils.hexDump(primArr));

A field in config.properties should be created to allow the user to turn on/off AX.25 decoding.

@bng919 bng919 added the enhancement New feature or request label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant