libfap is a C port of the Ham::APRS::FAP Finnish APRS Parser (Fabulous APRS Parser) Perl module. As the original Perl code, libfap parses normal, mic-e and compressed location packets, NMEA location packets, objects, items, messages, telemetry and most weather packets. For more description, see the Perl module.
Tom, KD7LXL is working on Python ctypes bindings for libfap. This means that you can now use libfap in your Python code. Great work Tom!
Improvements introduced in FAP 1.15 have been migrated, and libfap 0.8 has been released.
libfap 0.7 has been released. Some features have been added and many bugs have been fixed. See the changelog for details.
Source code and also binary packages for some GNU/Linux distributions can be downloaded from the downloads directory.
Debian and Ubuntu users can use the provided binary packages. Just download the packages you need and say dpkg -i libfap*.deb.
Building libfap should work like this:
tar xvzf libfap-<version>.tar.gz cd libfap-<version> ./configure [--prefix=/opt or other options] make make install
To see how to use the parser in your C/C++ code, see the API documentation.
If you use automake and things in your project, you can check for libfap for example like this:
dnl Check for libfap. AC_CHECK_HEADERS(fap.h, , AC_MSG_ERROR([libfap header not found.]),[[#include <fap.h>]]) AC_CHECK_LIB(fap, fap_parseaprs, , AC_MSG_ERROR([libfap library object not found.]))
The parser has been originally written by Tapio Sokura, OH2KKU and Heikki Hannikainen, OH7LZB and ported to C by Tapio Aaltonen, OH2GVE. Libfap may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the libfap source kit. This software has no warranty, you use it entirely at your own risk. If you spot a bug in libfap, please report it to OH2GVE. Thanks!