Professional Documents
Culture Documents
Decoding Raw Frames - Generic - Libre Space Community
Decoding Raw Frames - Generic - Libre Space Community
space/t/decoding-raw-frames/2170/7
Hello
Joanna,
It really depends on which satellites and which transponder you are trying to decode.
I’m not sure which satellites are using a protocol that can be decoded by Wireshark and a
plug-in, E.g. AX.25 (which used KISS and TNC).
FoxTelem for FOX1 series satellites: AO-85 (Fox-1A), AO-91 (Radfxsat / Fox1-B), AO-92
(Fox1-D), Fox-1Cliff, and Fox-1E.
I recently had a lot of fun decoding FOX1-A using FoxTelem , the Fox 1 Telemetry Analysis
Tool. It takes a .wav sound file and reads it in and does all of the decoding for you.
1 of 7 12/17/2023, 5:59 PM
Decoding raw frames - Generic - Libre Space Community https://community.libre.space/t/decoding-raw-frames/2170/7
Once your audio file has been processed, you can click on the tab that corresponds to the
Satellite you are trying to decode. Fox 1-A is AO-85. The first sub-tab is Health.
Then you can click on the second sub-tab and see if anything decoded for the Vanderbilt
University Radiation Experiments.
2 of 7 12/17/2023, 5:59 PM
Decoding raw frames - Generic - Libre Space Community https://community.libre.space/t/decoding-raw-frames/2170/7
Then, if you click on the third sub-tab, you can see measurements that were captured at the
Ground Stattion. In my dataset, there was nothing.
I will try to find a place for this overview and where to go.
I do know that ISS does use AX.25 packet format for it APRS transponder, but I’m not sure
about their telemetry.
–Konrad, WA4OSH
@Joanna By the way, here’s my report on the observation above and the discussion that’s
been ongoing:
3 of 7 12/17/2023, 5:59 PM
Decoding raw frames - Generic - Libre Space Community https://community.libre.space/t/decoding-raw-frames/2170/7
–Konrad, WA4OSH
Then you have to know the modulation type of the signal – FSK, PSK, BPSK, GMSK, QPSK,
DUV (Data Under Voice), etc and have quadrature decoders for them. The output is brinary
data. This you can feed into a file and perhaps use a tool like WireShark to interpret (find the
preamble, sync, data bits, checksums, etc.) I don’t know if Wireshark is smart enough to do
things like FEC, unscrambling, trellis decoding, etc.
–Konrad
Your RTL-SDR receives signals and converts them to a 48Kbps audio stream like a sound
card. That recorded sound file/stream needs to be decoded into the raw frames that you are
talking about. SatNOGS provides quite a few of these decoders that result in the raw data.
I’m familiar with WireShark. It tends to capture data at layers above the PHY and decodes the
protocols. It would be interesting to have a software block in GRC (Gnu Radio Companion)
that produced files that WireShark can read. This way, the raw data out of a data decoder
could be fed into this block and now you can run a WireShark trace on your RTL-SDR.
–Konrad
Oh yeah that will be really great ! I’m not familiar for now with GRC but yeah it sounds really
great
4 of 7 12/17/2023, 5:59 PM
Decoding raw frames - Generic - Libre Space Community https://community.libre.space/t/decoding-raw-frames/2170/7
great
If you have an RTL-SDR, you might want to try taking Michael Ossmann’s online beginner
course “Software Defined Radio with HackRF” and use your RTL-SDR to do some of the
experiments. He’s of course trying to sell his more advanced SDR, the HackRF, but it’s by no
means a sales pitch. But the point of all of this is that you can learn how to use GNU Radio
Companion (GRC) on a number or SDRs. In the beginning of the course, he shows you how to
make a dongle with Linux on it. When you boot with that dongle installed, your laptop
temporarily becomes a Linux machine with GRC pre-installed on it. Alternatively, if you have a
Linux Mint or Unbuntu laptop, you can install CRC and run it nicely with your RTL-SDR.
Once you get how GRC works, you can build decoders for various signals (or find them
online). Now here’s the prize you were looking for: RFTap.
–Konrad, WA4OSH
Incidentally, SatNOGS uses GRC in its Sever decode processing. Here are the names of
theGRC modules it uses:
afsk1200_ax25.grc
apt_demod.grc
ax25_transceiver_qt.grc
bpsk_demod.grc
cw_decoder.grc
fm_demod.grc
fsk9600_ax25.grc
fsk9600_g3ruh_ax25.grc
generic_iq_receiver.grc
–Konrad
5 of 7 12/17/2023, 5:59 PM
Decoding raw frames - Generic - Libre Space Community https://community.libre.space/t/decoding-raw-frames/2170/7
Oh wow thanks ! Im sure i will take a look onto that but for now im doing some other stuff in my
project but i will come back to grc after so thanks for that again
Its really useful for me I was looking for some tutorials like that
You might like Michael Ossman’s tutorial. He’s down to earth and makes it really simple for a
beginner to get an idea of what SDR is all about. He skips all of the typical math nonsense that
professors tend to get into. Finish the whole thing. You will need what he’s giving you. If you
know it, skip ahead, but be aware that you are able to get a refresher if you need.
Once you have that done, find some of these open source decoders. They’re plug-ins for GRC.
Then when you have that going, find the RFTap bridge and begin using Wireshark on what you
receive.
Now … which decoders to look at first? Here’s a list for you to consider.
These are in order of my best guess of complexity, without looking at them:
AFSK 1k2 (Audio Frequency Shift Keying) <----start with understanding this one
FSK 9k6 (Frequency Shift Keying)
GFSK 9k6 (Gaussian Frequency Shift Keying)
DUV (Data Under Voice)
APT (Automatic Picture Transmission)
LRPT (Low Resolution Picture Transmission)
CW (Continuous Wave, Morse Code)
AX.25 (X.25 packet for Amateur Radio) <-- Most complicated
I know it’s a big long project ahead of you. Stick with it and take baby steps. You will learn a lot
from it. If you jump too far ahead, you will be trying out for black belt before you’ve done the
white belt if you get my metaphod.
I ended up buying a HackRF. It’s much more inexpensive than an Ettus Research B210 and
can demonstrate all of the concepts just as well.
–Konrad, WA4OSH
6 of 7 12/17/2023, 5:59 PM
Decoding raw frames - Generic - Libre Space Community https://community.libre.space/t/decoding-raw-frames/2170/7
7 of 7 12/17/2023, 5:59 PM