An application saves ADSB data from RTL SDR to local database for further analysis.
- You need to setup a RTL SDR device on a Linux machine, the wiki here is a good start point. OR run with remote receiver, which is in this repo. If you choose remote receiver, then the JNI library will no longer be needed on the server side.
- JDK and Maven. This application is developed in openjdk-11, which is the latest version in Debian Stretch.
MySQLMariaDB to store recorded data. Create an empty database and update application.properties with connection strings and credentials.
- Clone and build the JNI library which passes data from RTL SDR device to Java objects. And add the path of the .so file to java.library.path.
- Run
mvn package
to build jar for this application. "adsb-recorder-.jar" will be generated in targer directory. - Simply run
java -jar adsb-recorder-<version>.jar
to start this application. Open your web browser and navigate to localhost:8081 to view live data. - Optionally you can import the pom.xml to your IDE of choice, and run or debug it in an IDE.