Searching, please wait...

libhomeradar

easy collect aircraft informations
 ACARS DECODER Planespotting Network Kinetic Avionics AirNav Systems Airframes.org
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.

 

Available filterflags for libhomeradar

The following filterflags can be used for the homeradar_addfilter() and the homeradar_appendrule() functions. Since flags are bitmasks you can combine more flags with the logical OR command |. For example: homeradar_appendrule(H, r, LHR_FILTER_BYTYPE|LHR_FILTER_EXCLUDE|LHR_FILTER_NOCASE, "airbus*");


 
/* Internal filterflags 
   Should be used on all calls to filter functions */
#define LHR_FILTER_DISABLED     (int)0x00000001  // Filter is currently disabled
#define LHR_FILTER_EXCLUDE      (int)0x00000002  // Exclude all positive hits
#define LHR_FILTER_INCLUDE      (int)0x00000004  // Include all positive hits
#define LHR_FILTER_NOCASE       (int)0x00000008  // No case sensitive matching

#define LHR_FILTER_BYICAO24     (int)0x00000010  // Filter special ICAO24 codes
#define LHR_FILTER_BYREG        (int)0x00000020  // Filter special aircraft registrations
#define LHR_FILTER_BYIATA 	(int)0x00000040  // Filter by IATA airline codes
#define LHR_FILTER_BYICAO 	(int)0x00000080  // Filter by ICAO airline codes
#define LHR_FILTER_BYTYPE       (int)0x00000100  // Filter by aircraft type (over manufacturer)
#define LHR_FILTER_BYAIRLINE    (int)0x00000200  // Filter by airline name
#define LHR_FILTER_BYACDETAILS  (int)0x00000400  // Filter by aircraft details
#define LHR_FILTER_BYCALLSIGN   (int)0x00000800  // Filter by aircraft callsign
#define LHR_FILTER_BYFLIGHTNUM  (int)0x00001000  // Filter by aircraft flightnumber
#define LHR_FILTER_BYDEPARTURE  (int)0x00002000  // Filter by departure airport
#define LHR_FILTER_BYARRIVAL    (int)0x00004000  // Filter by arrival airport
#define LHR_FILTER_BYRANGE      (int)0x00008000  // Select aircrafts in the given range
#define LHR_FILTER_EXCLUDENULL  (int)0x00010000  // Exclude from filter if BYRANGE is set 
                                                 // and position is 0.0 / 0.0