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 
 

Share your contacts with other users

Since libhomeradar version 1.005 you can share your data also with other users a TCP/IP socket (known from both hardware decoders, SBS1 on port 30003 and Radarbox on port 7879)
There is a small access table include to allow or deny access based on simple IP rules. The default port of the sharing option is 30003 and max 1 connection can be established. You can (should) change this within your program. (see also our short example)


 
Data sharing is not legal in every country. Please check this before you enable this option.
You have to assume total responsibility on the consequences of sharing your aircraft contacts

There are 2 functions to control the data sharing of libhomeradar.
The main function is:

/* Enable or disable the item sharing function.
   Set onoff to FALSE if you wish to disable the sharing option
   If the onoff is TRUE, data sharing will be enabled
   If port is 0 the default port 30003 will be used
   Returns FALSE on error and TRUE on success.
   Output is exactly the same as on SBS1 socket
*/
extern int homeradar_share(LHR handle, const int port, const int onoff, const int access);

The second function is a helper to control the access to the opened TCP/IP port.
If you have enable the grant access mode (access = TRUE) the following function will not be used.
For example to enable data sharing between your home- and your office pc and your office pc has a fixed ip, then this function will help you to exclude unwanted visitors.

/* 
   Control access to the data sharing port. 
   By default everyone can connect and fetch data.

   Add IP to the access rules 
   Set access_denied to FALSE if this ip should get access
   Set access_denied to TRUE to reject this ip
   Returns TRUE on success, FALSE on error
*/
extern int homeradar_access_rule(LHR handle, const char *ip, const int access_denied);
Share your aircraft contacts Docu
Table of contents
Install socket listener