jontio / JAERO

Demodulate and decode Aero signals. These signals contain SatCom ACARS messages as used by planes beyond VHF ACARS range
https://jontio.zapto.org/hda1/jaero.html
MIT License
224 stars 39 forks source link

Switch to more generic libacars API, drop ARINC622-specific calls #35

Closed szpajder closed 5 years ago

szpajder commented 5 years ago

Currently, JAERO uses libacars API:

This patch causes JAERO to use libacars more extensively. In particular:

Having this change in place, whatever new ACARS application becomes supported in libacars, it will be decoded straight away, without any JAERO code modifications. It will be just a matter of replacing libacars.dll (or libacars.so) with the new, more capable version.

As an example - ACARS downlink messages with label SA:

16:56:44 25-12-18 AES:AA6BC0 GES:44 2 .N77022 ! SA 6 Flight UA998

        S90AUA09980L2133238HS

The latest libacars code from unstable branch has a decoder for this type, but JAERO won't call it, so the message will still be printed undecoded, even if the latest libacars is installed. With this patch applied, it looks as follows:

16:56:44 25-12-18 AES:AA6BC0 GES:44 2 .N77022 ! SA 6 Flight UA998

        S90AUA09980L2133238HS

        Media Advisory, version 0:
         Link VDL2 lost at 13:32:38 UTC
         Available links: HF, Default SATCOM

Please apply. Thanks.

jontio commented 5 years ago

Sorry for the slow reply. Thanks for the update I'll pull this over. Thanks. Cheers, Jonti