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 
 

Hosts and library statistics

libhomeradar provides a simple interface to get statistics from every added source host.

With the homeradar_stats(H, hostid) function you can request some statistic informations from the given host. This function will return a pointer to the LHR_STATS function.

The pointer must be freed by a call to free().

typedef struct {
  unsigned long bytes;  	// KBytes read from this host
  unsigned long messages;	// Extracted messages from this host
  unsigned long validmsgs;      // Messages which are used by libhomeradar
  unsigned long uniqueacs;      // How many unique aircrafts are contacted on this host
  int connected;        	// 1 = currently connected, 0 = not connected, -1 host deleted
  time_t online;		// How many seconds we are connected to this host

  // Lost contacts because of blocking or slow callback functions
  int lostcontacts;

  // Some stats about this handle
  int icao24_db_items;     	// How many icao24 are known
  int aircraft_db_items; 	// How many different aircrafts are known
  int airline_db_items; 	// How many different airlines are known
  int flight_db_items; 		// How many different flights are known
  int airport_db_items;		// How many different airports are known
} LHR_STATS;

Data logging

You can also log all collected messages into one textfile if you want. For this option you should use the libhomeradar_textlogging() function. The first parameter is the standard library handle, the second the switch mode (TRUE = start logging, FALSE = stop logging)
 
The third parameter is the complete path and filename for the logfile. If the fourth parameter is true then libhomeradar will delete an already existing log, if false then the file will be opened in append mode.

Database queries Docu
Table of contents
Message filtering