Searching, please wait...

libhomeradar

easy collect aircraft information
~50,000,000 registered contacts
303894 unique aircraft records, 28.78% unresolved records
 ACARS DECODER Planespotting Network Kinetic Avionics AirNav Systems Airframes.org Atlas Tracking
libhomeradar - easy collect aircraft informations

libhomeradar is an easy to use library for all type of programming language which can use libraries. libhomeradar can connect to different sources to collect aircraft informations arround the world with extended informations, powerful filtering and structured data access.

libhomeradar is written in C and is available for Linux and Windows (2003, XP, NT, Vista).

Currently libhomeradar works with the Kinetic Avionics SBS-1 base station and the Airnav Systems Radarbox.


Yahoo! My Web  Google Bookmarks  Windows Live  Facebook  Ask  del.icio.us  Furl 
 

Building your program with libhomeradar support

Include the libhomeradar headers into your program

#include "libhomeradar.h" or #include <libhomeradar.h>

Initialize libhomeradar within your program

LHR H = homeradar_init(128,LHR_AUTOCONNECT|LHR_LOOKUP_ALL|LHR_NOAIRCONTACTS,&e,NULL);

The first parameter is the maximum size of the internal message queue. If the queue is full the system will throw the fullqueue event and will start your callback function (if you have one registered with the homeradar_onhandler() function)
The second parameter is a bitmask of libhomeradar flags. You can later modify all settings with the homeradar_config() function.
 
The third parameter is a pointer to an integer to hold the error code which can be returned by the init function.
The last parameter should be the path to the folder where the text databases are located or NULL if you do not wish the autoload feature.
You can use the homeradar_load_databases() function to start the initialisation of your databases.
 
If the homeradar_init() return NULL you should check the errorcode and fix it before continue using the library functions.
 
If the function returns the LHR type pointer you can use all other functions from the lib. libhomeradar will create a thread into the background during the homeradar_init() call.


Removing libhomeradar from memory

Before your programm will be finished you should call the libhomeradar_destroy() function to stop the collector thread (and any other running thread) and to disconnect from any connected host and to free all allocated memory.

Installation of libhomeradar Docu
Table of contents
Logfile creation / handling