Giter Site home page Giter Site logo

dump1030's Introduction

dump1030

Dump1030 is C++ program capable of detecting different types of SSR interrogations. Seven types of messages can be detected: Mode S, Mode A, Mode A all-call, Mode A all-call (Compatibility mode), Mode C, Mode C all-call and Mode C all-call (Compatibility mode).

Dump1030 is based on the popular dump1090, especially antirez's implementation (https://github.com/antirez/dump1090).

Installation

Clone and compile with make.

Requirements

Linux computer with RTL-SDR radio capable of receiving 2.5 MSPS at 1030 mhz stable.

Usage

The binary can be ran with default settings.

Command line arguments:

--device           Input rtl-sdr device index
--file             Input location and full name of test file that is used instead of rtl-sdr device
--gain             Input desired gain level for rtl-sdr device
--agc              Enable automatic gain control by RTL-SDR device
--diff             Add minimum amplitude difference between pulses and non pulses that are not right next to pulse values
--diffclose        Add minimum amplitude difference between pulses and non pulses right next to pulses
--diffratio        Add minimum ratio of non pulse amplitude divided by pulse amplitude for every non pulse value not right next to pulse value (Doesn't apply to checking p4 pulse existence)
--diffratioclose   Add minimum ratio of non pulse amplitude divided by pulse amplitude for every non pulse value right next to pulse
--diffratiop4      Same as diffratio but only for p4 check (Mode a/c only all-call and Mode a/c/s all-call (Compatibility mode) messages)
Compares only p4 pulse values with non pulse values that are after p3 but not next to pulse values.
--diffratioclosep4 Same as diffratio but only for p4 check (Mode a/c only all-call and Mode a/c/s all-call (Compatibility mode) messages)
Compares only p4 pulse values with non pulse values that are after p3 and next to pulse values.
--msgs             Show every recognized messages location and amplitude values in the message
--order            Print order of different SSR interrogation signals
--mpa              Minimum accepted pulse amplitude when there should be a pulse
--mnf              Maximum allowed noicefloor amplitude when there shouldn't be a pulse
--mnfc             Maximum allowed noicefloor amplitude for non pulse values next to pulse values.
--size             Defines size of read message in bytes when using rtl-sdr. Must be at least 512 otherwise uses default size of 262144.
--blmode           Outputs baseline values for mpa, mnf and mnfc based on accepted averages. Can be used to get baseline values based on earlier detected messages averages that can be set for detecting next messages.
--print            Print all captured amplitude data.
--continuous       Keeps detecting and reporting messages continuously. Size parameter sets update interval.
--help             Show help

All arguments might not be compatible with each other.

dump1030's People

Contributors

fuziih avatar srsampson avatar

Stargazers

Matthew Petroff avatar Jenny avatar

Watchers

 avatar  avatar

Forkers

2128675309

dump1030's Issues

Compilation errors

Ubuntu 24.04

dump1030.cpp: In function ‘void modesInit()’:
dump1030.cpp:128:5: error: ‘pthread_mutex_init’ was not declared in this scope; did you mean ‘pthread_mutex_t’?
  128 |     pthread_mutex_init(&Modes.data_mutex,NULL);
      |     ^~~~~~~~~~~~~~~~~~
      |     pthread_mutex_t
dump1030.cpp:129:5: error: ‘pthread_cond_init’ was not declared in this scope; did you mean ‘pthread_cond_t’?
  129 |     pthread_cond_init(&Modes.data_cond,NULL);
      |     ^~~~~~~~~~~~~~~~~
      |     pthread_cond_t

resolved by adding line 10 #include <pthread.h>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.