libhomeradareasy 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|
|Home Docu Examples Functions Downloads Database Search API Success Stories News Personal Pages|
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.
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)
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.