Page 1 of 1

Guide to decoding POCSAG on Linux

Posted: Sat Nov 09, 2019 11:33 am
by JhG123
Guide for setting up POCSAG decoder on Linux
Tested on Ubuntu 18.04.3 and macOS 10.15 Catalina with an RTL820T2 SDR.

1.

Code: Select all

sudo apt update
2.

Code: Select all

sudo apt install rtl_sdr netcat sox gqrx
3. Clone this repository to the home folder

Code: Select all

git clone https://github.com/EliasOenal/multimon-ng.git
and cd into it
4. To build multimon-ng, follow these instructuctions, you will need make installed.

Code: Select all

mkdir build
cd build
cmake ..
make
sudo make install
5. Launch GQRX and go to Tools>Remote Control Settings and set the port to 7355, and add localhost to the allowed hosts list.
6. Attach your SDR and make sure GQRX is getting data, then tune to your intended paging frequency.
7. Click the UDP button, located near the bottom right of the GQRX window.
You'll want to set the Filter Width to about 11k and the mode to NFM, don't enable any noise blankers or AGC.
8. Launch the terminal and paste

Code: Select all

nc -l -u localhost 7355 |     sox -t raw -esigned-integer -b 16 -r 48000 - -esigned-integer -b 16 -r 22050 -t raw - |     multimon-ng -t raw -a POCSAG512 -a POCSAG1200 -a POCSAG2400  -f alpha -
8. If all has worked correctly, once GQRX recieves a signal, which will appear in the waterfall as 2 streams of data, multimon-ng will start to decode them.

You may need to adjust some of the reciever settings to get a good signal, but it should work fine.

Re: Guide to decoding POCSAG on Linux

Posted: Sat Nov 09, 2019 4:11 pm
by vk6hgr
Nice.
2400 baud doesn't appear to be used on Australian networks so you'd get a bit of a performance boost by not having Multimon try to decode it.

Re: Guide to decoding POCSAG on Linux

Posted: Fri Dec 06, 2019 10:28 pm
by roland985
Works for me. Thanks!

Re: Guide to decoding POCSAG on Linux

Posted: Sun Dec 08, 2019 11:22 am
by JhG123
No problem! If anyone would like it as well, I could post a guide for decoding digital modes with GQRX and DSD on linux too.

Also if you need to tune your SDR's frequency correction, I normally put my CB on 25, or 477.025, key up once I put GQRX onto 477.025 and just adjust the correction until the frequency matches up with the waterfall output.

Re: Guide to decoding POCSAG on Linux

Posted: Fri Dec 13, 2019 8:56 pm
by roland985
Or you can just use an FM radio station...

Mine still drifts due to temperature. It's time to get a proper SDR reciever.

Re: Guide to decoding POCSAG on Linux

Posted: Sun Dec 15, 2019 6:15 pm
by JhG123
I didn't even consider that, that's a much better idea.