project:sdr:tetra:howto
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
project:sdr:tetra:howto [2016/08/28 08:16] – created jenda | project:sdr:tetra:howto [2018/10/22 23:49] (current) – [Requirements] update requisite to gcc8 jenda | ||
---|---|---|---|
Line 8: | Line 8: | ||
{{ : | {{ : | ||
+ | |||
+ | <note important> | ||
===== Requirements ===== | ===== Requirements ===== | ||
Line 20: | Line 22: | ||
* gnuradio | * gnuradio | ||
- | * lib32gcc-6-dev libc6-dev: | + | * lib32gcc-8-dev libc6-dev: |
* libtalloc-dev libpcsclite-dev realpath | * libtalloc-dev libpcsclite-dev realpath | ||
* tshark | * tshark | ||
Line 37: | Line 39: | ||
===== Building ===== | ===== Building ===== | ||
- | Install | + | Install |
- | Install libosmocore (autoreconf -i && ./configure && make && make install). | + | Install libosmocore-dev package (Ubuntu 16.10+, Debian 9+) or build libosmocore by hand (autoreconf -i && ./ |
Build tetra-listener (instructions are in README). | Build tetra-listener (instructions are in README). | ||
Line 54: | Line 56: | ||
===== Setup ===== | ===== Setup ===== | ||
+ | |||
+ | Recommended: | ||
+ | < | ||
+ | iptables -A INPUT -p UDP --dport 4729 -j DROP | ||
+ | </ | ||
Calibrate your SDR and edit PPMs in tetra-run.sh. | Calibrate your SDR and edit PPMs in tetra-run.sh. | ||
Line 61: | Line 68: | ||
If you have different samplerate than 1.8M, edit -n and -s parameters of FCL and of course the samplerate parameter of fir.py. | If you have different samplerate than 1.8M, edit -n and -s parameters of FCL and of course the samplerate parameter of fir.py. | ||
- | If samplerate of your SDR is not an integer multiple of 36000 (2*channel symbol rate), use the nearest lower step. If the difference is too big (where "too big" probably means something like 100 Hz), it won't work. Tweaking the Omega parameter of MPSK demodulator | + | If samplerate of your SDR is not an integer multiple of 36000 (2*channel symbol rate), use the nearest lower step. If the difference is too big (where "too big" probably means something like 100 Hz), it won't work. Tweaking the Omega parameter of [[http:// |
If you have relatively slow CPU, you may want to run FCL in multiple threads. Edit the -t parameter. | If you have relatively slow CPU, you may want to run FCL in multiple threads. Edit the -t parameter. | ||
Line 67: | Line 74: | ||
Run it and use gethisto FCL command (echo gethisto | nc localhost 3333) to get sane gain settings. | Run it and use gethisto FCL command (echo gethisto | nc localhost 3333) to get sane gain settings. | ||
- | Use getpwr command | + | You can use this oneliner |
+ | < | ||
+ | echo getpwr | ||
+ | </ | ||
Edit enabled channels in tetra-run.sh so they match your channels with the strongest power. Do not enable more than 30 channels per SDR (or change the offset in tetra2.py: | Edit enabled channels in tetra-run.sh so they match your channels with the strongest power. Do not enable more than 30 channels per SDR (or change the offset in tetra2.py: | ||
Line 75: | Line 85: | ||
You can change the loglevel of sds-parser.py in tetra-run.sh to DBG. | You can change the loglevel of sds-parser.py in tetra-run.sh to DBG. | ||
- | If you now run tetra-run.sh, | + | If you now run tetra-run.sh, |
Use cdp to play these files. Or play the OGG files with any audio player. | Use cdp to play these files. Or play the OGG files with any audio player. | ||
Line 82: | Line 92: | ||
It can be useful to check after a day or so which channels produce audio data (ls|grep bz2|cut -d " | It can be useful to check after a day or so which channels produce audio data (ls|grep bz2|cut -d " | ||
+ | |||
+ | You may want to add " |
project/sdr/tetra/howto.1472372161.txt.gz · Last modified: 2016/08/28 08:16 by jenda