Skip to content

Installation

WuPeicong edited this page Apr 8, 2022 · 3 revisions

This page will guide you to set up the environment.

1.Install gnuradio

Normally, the package manager provided by your OS can install gnuradio for you. Please search and install following packages:

gnuradio

The gnuradio itself.

gnuradio-companion

Front end of gnuradio.

gnuradio-osmosdr

Introducing many blocks to gnuradio, including the SDR support that we need. If you failed to install them with package manager, you may manually download, compile and install them.

2.Generate modulated PRNs

We provide the prn and preamble raw data(prn0.raw, prn1.raw, preamble.raw, editable with binary editor) and the tool to modulate them. In order to decode, you need to generate modulated prn(.c64 files).

Launch GNU radio Companion and open GMSK_gen.grc, modify the output file path in File Sink blocks, and run it. You can safely close the window when it pops out. 3 new .64 file should be generated at this time. If you changed prn or preamble, you'll need to regenerate them.

Note that prnGen.py is used to generate new prns. It's not related to modulation.

3.Install python dependencies

Some python lib is required to run the decoder, please search and install them:

numpy, matplotlib, scipy, dask, tqdm, joblib.

Clone this wiki locally