Open k2fc opened 1 year ago
The ASTERIX CAT021 spec document: https://www.eurocontrol.int/sites/default/files/2021-12/asterix-adsbtr-cat021-part12-v2-6.pdf
I will start looking at the overall diff of these changes once this PR doesn't change for a day or two.
Asterix seems like an overcomplicated badly documented protocol.
Also lol: NOTE: This edition is NOT backwards compatible to category 021 edition 2.1 or earlier
I'm sorry i'm not enthusiastic about merging stuff but it's usually things i don't need / find interesting and that's just a chore. I'll try though just don't expect this to happen quickly. I don't have any big changes to readsb planned so ... at least rebasing shouldn't be much necessary for you and you can just continue to work based on your fork.
I suppose it might be worth to merge the basic skeleton ... i'll see about that the next couple days.
So this kinda needs a rebase. But i'll try and make a diff and just make one big patch i guess.
Is the merged version working for you?
So i want this as one big commit i'm making right now. It is just a diff from the current state.a Plus some whitespace fixes (trailing space / indent).
I'll see how i can attribute you. Will try just messing with a commit ;)
https://github.com/wiedehopf/readsb/tree/asterix
Ok please test this, make a new branch on your side and make a new PR using this commit i made. That should give you all the attribution properly.
I'll close this PR, feel free to just copy the text from the new PR.
@k2fc i'm trying to merge this but i'd like it to show properly on github that it was your PR ... but due to rebase and stuff anyhow it's complicated. You mind getting that branch over to you? I can change the branch name if that's an issue.
@k2fc This is merged, but it won't show as merged here as i wanted to flatten all the work in progress commits a bit.
Merged as: https://github.com/wiedehopf/readsb/commit/8dfb94b4e6062e3751ea31a2823d4bdddd49ea0d
I tried to get you to pull that branch so i can just merge it and it shows as PR on here but there was no response. If that's important to you, i can still make that happen.
Keeping this PR open even though it's merged for some visibility of the feature :)
This PR adds ASTERIX i/o support.
The following command line arguments are added: --net-ai-port --net-ao-port --net-asterix-reduce
Additionally --net-connector has the following formats added: asterix_in asterix_out
MLAT messages are not passed. I don't have access to MLAT data to work with, but MLAT data should be exchanged as CAT020.
Known issues
Most issues are caused by my lack of understanding on some of the internals.