Skip to content

antlas0/406decoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

406decoder

Decodes 406M EIPRB data, based on already working code from F4EHY.

How to install

First we need to install some prerequisites.

$ apt-get update && apt-get install -y \
    gcc \
    build-essential \
    rtl-sdr \
    sox \
    libsox-fmt-all \
    pulseaudio \
    usbutils

Then, everything is in the app folder, so once in it please call:

$ gcc ./dec406_V7.c -lm -o ./dec406_V7 \
    && chmod u+x ./dec406_V7
$ gcc ./reset_usb.c -lm -o ./reset_usb \
    && chmod u+x ./reset_usb

$ python -m pip install -r requirements.txt

How to start

  1. Plug your favorite RTL-SDR device to your machine.
  2. In the app directory, call python decoder.py -h for parameters description.
usage: decoder.py [-h] [-s FREQ_START] [-e FREQ_END] [--ppm PPM] [--osm] [-T TELEGRAM_TOKEN] [-C TELEGRAM_CHATID] [-O OUTPUT_DIRECTORY]

Scanner la fréquence des balises 406MHz.

options:
  -h, --help            show this help message and exit
  -s FREQ_START, --freq-start FREQ_START
                        Fréquence de départ
  -e FREQ_END, --freq-end FREQ_END
                        Fréquence de fin
  --ppm PPM             Décalage PPM
  --osm                 Activer osm
  -T TELEGRAM_TOKEN, --telegram-token TELEGRAM_TOKEN
                        Telegram bot token
  -C TELEGRAM_CHATID, --telegram-chatid TELEGRAM_CHATID
                        Telegram chat ID
  -O OUTPUT_DIRECTORY, --output-directory OUTPUT_DIRECTORY
                        Output directory, default automatically generated.

Credits

Full credits to F4EHY for the decoding part.

About

Decodes 406M EIPRB data

Topics

Resources

Stars

Watchers

Forks