Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

Decoding raw frames - Generic - Libre Space Community https://community.libre.

space/t/decoding-raw-frames/2170/7

Decoding raw frames


Joanna Jun '18

Hello

I want to ask for advice about decoding satellites.


So finally I suceeded in everything I needed - but there is one more thing which seems to be
quite messy for me, namely - how exactly I can receive raw frames from satellites ? Because
in most of the cases, there is a software defined for different satellites which does everything
…But I would like to receive just a frames and see them in wireshark (if possible) ? I know it
has to do with KISS and TNC but can you tell me what exactly I need for it ? (I’m on Linux and
I’m using rtl-sdr dongle). Thanks for any help ! Have a nice day/morning/evening !

WA4OSH Jun '18

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.

Here are some screenshots on what using FoxTelem looks like…

When you bring-up the tool it looks like this:

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

powered by Libre Space Foundation

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

WA4OSH Jun '18

@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

Observation 150869: FOX-1A (40967) - FoxTelem?

Regarding Observation 150869 ... here's the telemetry I received on SR1GEO_RACK01


ground station: E3 1C 70 5E 9E 0E 31 2B 2B EB 22 8A 81 3C 3C A7 9D 9B 9B A7 D1 9E
27 E5 C8 34 DF 3B CB 9D 50 0C 97 33 03 25 C9 06 F2 98 FD 00 7F FF EA 54 30 E2 AC
23 2A 9A FA 89 B4 2C F6 C2 81 3E 3C 6D 01 0D I installed FoxTelem in hopes to decode
the data, but it takes sound files. I wasn't able to download the sound file either. --Konrad

–Konrad, WA4OSH

Joanna Jun '18

Thank You Konrad


I did use FoxTelem and other software but my question was more like if there is a way to see
the raw frames from sattelites (without decoding necessary)

WA4OSH Jun '18

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

WA4OSH Jun '18

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

Joanna Jun '18

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

WA4OSH Jun '18

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.

RFTap: A Bridge Between GNURadio and Wireshark


Recently a new Linux based tool called RFTap has been released.
RFTap acts as a bridge between GNURadio flow graphs and Wireshark. GNU Radio is a
visual based programming environment for digital signal processing applications, such
as RF signal...

–Konrad, WA4OSH

WA4OSH Jun '18

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

Joanna Jun '18

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

Joanna Jun '18

Its really useful for me I was looking for some tutorials like that

WA4OSH Jun '18

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

New & Unread Topics

Topic Replies Views Activity

Important Announcement 0 243 Jul 19

Station Offline for Maintenance 1 121 Aug 23

Script for GPREDICT with rigctl in Ubuntu 3 125 Sep 18

Libre Space Foundation - All Hands 2023 8 596 Oct 17


meeting

Data download request 1 200 Mar 25

Want to read more? Browse all categories or view latest topics.

7 of 7 12/17/2023, 5:59 PM

You might also like