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. |
Using your SBS-1 or Radarbox with Google Maps
With our small example you can connect your Linux PC to your SBS-1 or Radarbox server and you can show all contacts in your webbrowser on port 8080. You can start the webserver tool direct from the commandline. If 'libhomeradar.so' is not installed on your system, you can copy or move the file to '/lib/' or '/usr/lib' or some different location. If the path is outside of the systems library path you can set the environement with: export LD_LIBARY_PATH=/usr/local/lib/ If no parameters are given, the tool connects to the SBS-1 server of libhomeradar. To connect to your own server, start webserver with: ./webserver <servername> <serverport> After started - and if you cannot see any errors - you can point your browser to http://localhost:8080/ Please note, that the 'webtemplate.html' must be in the same directory as your webserver binary and you should stay in this directory. EXAMPLE: If webserver is located in /usr/local/bin and you are currently in your home directory /home/username and you start /usr/local/bin/webserver this will fail, because webserver will look for 'webtemplate.html' in the folder '/home/username' In the pre-compiled binary, the public transfer is enabled (see line #108 in source) The transfer is 100% anonym and can help us to improve the data quality of our page. If you wish to disabled the public transfer, your should remove line #108 (or comment it out) and compile the webserver again. gcc -s -Wall -O3 webserver.c -L./ -lhomeradar -lpthread -o webserver (-L should be set to the directory where your libhomeradar.so is located) |
||