libhomeradareasy collect aircraft informations |
| ACARS DECODER Planespotting Network Kinetic Avionics AirNav Systems Airframes.org | ||||||
| Home Docu Examples Functions Downloads Database Search Online API Success Stories News Imprint / Contact | ||||||
![]() 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. |
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. To disconnect use the libhomeradar_disconnect() function which needs the same parameters like the connect function. 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);
}
|
|||||