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 
 

Manually connect to added hosts

If libhomeradar was not initialized with the LHR_AUTOCONNECT flag, you have to trigger the library to establish the connection to all currently not connected hosts.
Use the libhomeradar_connect() function to trigger the connect flag. This function needs 2 parameters.

The first is the lib handle (LHR) and the second the hostid of the host which should be set to the connected state now.
The functions returns TRUE if the connect was initiated and FALSE if the host is already connected or in case of errors.


 

To disconnect use the libhomeradar_disconnect() function which needs the same parameters like the connect function.
If you have registered an eventhandler for the disconnect event, the function will be called after disconnecting from the host.
The function returns TRUE if the disconnect was successfully.

Add a host (SBS1 type) and if the host was successfully added, try to connect (without any event listener):

int hostid = homeradar_addhost(H, "sbs1.libhomeradar.org", 0, LHR_SBS1, 0, NULL);
if (hostid != 0) {
  (void)homeradar_connect(H, hostid);
}
Adding hosts to your LHR handle Docu
Table of contents
Callbacks / Event listener