Searching, please wait...


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 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  Furl 

Using userspace log function

Since libhomeradar 1.003 you can use your own logging function to log events from libhomeradar.
You need a function which has one parameter (const char *str) which is the line from the libhomeradar log function.

Registering a logfile function:

/* Different logfile function */
void locallog(const char *logline) {

    Do whatever you want 
    Under linux you can write the string to the syslogd (see openlog(), closelog(), syslog())

/* Registering you own log function */
int homeradar_register_logfunction(LHR handle, void (*function), const int reg, const int flags);


Before you can register your own logfile handler, you must enable the libhomeradar logging with the homeradar_logcontrol() function.

You can use the LHR_LOG_NOTIMESTAMP flag to remove the timestamps from the given string.
To unregister you function set the value of reg to 0 (zero)

Logfile creation / handling Docu
Table of contents
Adding hosts to your LHR handle