Skip to content
Dave Walker edited this page Dec 12, 2023 · 1 revision

Application Schematic

  • An RTL2832/R820T2 USB Dongle is plugged into the Raspberry Pi
  • The Raspberry Pi is running the dump1090-mutability service to decode the data from the dongle
  • One of the outputs is a decoded stream of messages in "Basestation" 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
Clone this wiki locally