https://github.com/davewalker5/ads-b-basestationreader
Aircraft tracking libraries and applications to read a stream of ADS-B Basestation formatted messages with database storage and Live Display
https://github.com/davewalker5/ads-b-basestationreader
ads-b aircraft aviation basestation basestation-messages csharp dotnet-core flight tracker
Last synced: 12 days ago
JSON representation
Aircraft tracking libraries and applications to read a stream of ADS-B Basestation formatted messages with database storage and Live Display
- Host: GitHub
- URL: https://github.com/davewalker5/ads-b-basestationreader
- Owner: davewalker5
- License: mit
- Created: 2023-08-24T12:58:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2026-02-09T19:58:43.000Z (about 1 month ago)
- Last Synced: 2026-02-09T23:11:57.836Z (about 1 month ago)
- Topics: ads-b, aircraft, aviation, basestation, basestation-messages, csharp, dotnet-core, flight, tracker
- Language: C#
- Homepage:
- Size: 14.2 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ADS-B-BaseStationReader
[](https://github.com/davewalker5/ADS-B-BaseStationReader/actions)
[](https://github.com/davewalker5/ADS-B-BaseStationReader/issues)
[](https://coveralls.io/github/davewalker5/ADS-B-BaseStationReader?branch=main)
[](https://github.com/davewalker5/ADS-B-BaseStationReader/releases)
[](https://github.com/davewalker5/ADS-B-BaseStationReader/blob/master/LICENSE)
[](https://github.com/davewalker5/ADS-B-BaseStationReader/)
[](https://github.com/davewalker5/ADS-B-BaseStationReader/)
[](https://github.com/davewalker5/ADS-B-BaseStationReader/)
## About

- An RTL2832/R820T2 USB Dongle is plugged into the Raspberry Pi
- The Raspberry Pi is running the [dump1090-mutability](https://github.com/adsb-related-code/dump1090-mutability) service to decode the data from the dongle
- One of the outputs is a decoded stream of messages in "[Basestation](http://woodair.net/sbs/article/barebones42_socket_data.htm)" format, that is exposed on a TCP port on the Pi
- This stream is read by the MessageReader, that exposes an event used to notify subscribers when a new message arrives
- The AircraftTracker subscribes to these events and passes each new message to the message parsers to have the information it contains extracted into an aircraft tracking object
- The AircraftTracker enqueues each new tracking object for asynchronous writing to the SQLite database
- It also exposes events to notify subscribers when aircraft are added, updated and removed
- On a timed interval, the QueuedWriter processes pending writes from the the queue
## Getting Started
Please see the [Wiki](https://github.com/davewalker5/ADS-B-BaseStationReader/wiki) for configuration details and the user guide.
## Authors
- **Dave Walker** - _Initial work_
## Feedback
To file issues or suggestions, please use the [Issues](https://github.com/davewalker5/ADS-B-BaseStationReader/issues) page for this project on GitHub.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.