Subsystem Search

Substation command line

Every command substation answers to in this release, as its own help describes it.

substation [-h] [--config CONFIG] [--band BAND] [--device-type DEVICE_TYPE] [--device-index DEVICE_INDEX] [--list-bands] [--init] [--iq-file IQ_FILE] [--center-freq CENTER_FREQ] [--start-time START_TIME] [--log-level {DEBUG,INFO,WARNING,ERROR}]

An SDR band scanner that detects, demodulates, and records radio transmissions.

Examples:

substation --init                        # Write a starter config.yaml here
substation --band amateur_2m             # Scan the 2m amateur band with RTL-SDR
substation --band marine_vhf_calling --device-type hackrf  # Scan marine VHF with HackRF
substation --list-bands                  # List all available bands
substation --band pmr --iq-file rec.wav --center-freq 446059313  # File playback
Exit status:
  0  The scan ended: an IQ recording played to its end, or Ctrl+C stopped
     it. --init and --list-bands exit 0 when they succeed.
  1  A scan stopped because of an error, such as a receiver that fails or
     is unplugged, so a service manager can restart it. Also when Substation
     cannot start: --band is missing or names no band, an option it needs is
     missing or malformed, the configuration or the IQ recording cannot be
     read, or --init finds a config.yaml already there.
  2  The command line was not understood: an unknown option, or a value of
     the wrong kind.

Options

Other programs