libacars is a library for decoding ACARS message contents.
Current stable version: 1.3.1 (released Sep 20, 2019)
64-bit Windows binary packages of stable releases are provided in the Releases section.
Unzip the archive into any directory. You should be able to run example programs
directly from bin
subdirectory.
Requirements:
The project should build and run correctly on the following platforms:
Build steps:
zlib1g-dev
:apt-get install zlib1g-dev
unzip libacars-x.y.z.zip
cd libacars-x.y.z
git clone https://github.com/szpajder/libacars
cd libacars
master
branch is always in sync with the latest stable release. unstable
branch is where the latest cutting-edge code goes first. Select your branch of
choice with git checkout <branch_name>
.
mkdir build
cd build
cmake ../
-- libacars configuration summary:
-- - ZLIB: requested: ON enabled: TRUE
make
sudo make install
sudo ldconfig
On Unix the library will be installed to /usr/local/lib
(or
/usr/local/lib64
). Header files will land in /usr/local/include/libacars
.
The following options may be used when invoking cmake:
-DCMAKE_BUILD_TYPE=Debug
- enables debugging support in the library.
Diagnostic messages will be printed to standard error.
-DCMAKE_BUILD_TYPE=Release
- disables debugging support (the default).
-DEMIT_ASN_DEBUG=ON
- enables debugging output of ASN.1 decoders (very
verbose). This option requires -DCMAKE_BUILD_TYPE=Debug
, otherwise it will
do nothing.
-DZLIB=FALSE
- forcefully disables zlib support. It will not be used even
if zlib is available.
Example apps are provided in src/examples
subdirectory:
decode_acars_apps
- reads messages from command line or from a file and
decodes all ACARS applications supported by the library.
adsc_get_position
- illustrates how to extract position-related
fields from decoded ADS-C message.
cpdlc_get_position
- illustrates how to extract position-related
fields from CPDLC position reports.
media_advisory
- decodes Media Advisory messages (ACARS label SA
reports).
Apps will be compiled together with the library. make install
installs them
to /usr/local/bin
. Run each program with -h
option for usage instructions.
Refer to the following documents:
doc/PROG_GUIDE.md
- libacars Programmer's Guidedoc/API_REFERENCE.md
- libacars API ReferenceI hereby express my gratitude to everybody who helped with the development and testing of dumpvdl2. Special thanks go to:
libacars, Copyright (c) 2018-2019 Tomasz Lemiech szpajder@gmail.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Contains code from the following software projects:
Rocksoft^tm Model CRC Algorithm Table Generation Program V1.0 by Ross Williams
asn1c, Copyright (c) 2003-2017 Lev Walkin vlm@lionet.info and contributors. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Packaged releases for Windows include zlib library in binary DLL form. zlib data compression library, (C) 1995-2017 Jean-loup Gailly and Mark Adler.
// vim: textwidth=80
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。