Skip to content

Instantly share code, notes, and snippets.

@sam210723
Last active June 1, 2021 02:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sam210723/f5f9d11690510eb95985e0a81b24e165 to your computer and use it in GitHub Desktop.
Save sam210723/f5f9d11690510eb95985e0a81b24e165 to your computer and use it in GitHub Desktop.
Install gr-iridium and iridium-toolkit for receiving and decoding frames from Iridium NEXT satellites
# Install dependencies (GNURadio 3.9.1)
sudo apt update
sudo apt install -y build-essential cmake git gnuradio gr-osmosdr swig3.0 libsndfile1-dev pybind11-dev python-tk
sudo apt install -y --no-install-recommends mplayer
volk_profile
# Install gr-iridium OOT
git clone https://github.com/muccc/gr-iridium
cd gr-iridium
git checkout maint-3.9
mkdir build
cd build
cmake ..
make -j4
sudo make install
sudo ldconfig
cd ../..
export PYTHONPATH=/usr/local/lib/python3/dist-packages
# Install pip for Python 2.7
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
sudo python2 get-pip.py
# Install iridium-toolkit
pip2 install numpy crcmod matplotlib
git clone https://github.com/muccc/iridium-toolkit
# Install AMBE decoder
git clone http://git.osmocom.org/osmo-ir77
cd osmo-ir77/codec
make
sudo cp ir77_ambe_decode /usr/local/bin
cd ../..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment