Decodes 406M EIPRB data, based on already working code from F4EHY.
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
- Plug your favorite RTL-SDR device to your machine.
- In the
app
directory, callpython 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.
Full credits to F4EHY for the decoding part.