Total newb question about splitting signal files

77 views
Skip to first unread message

Abjectly_Orange-6

unread,
Mar 28, 2024, 5:11:13 PMMar 28
to rtl_433
I am greatly displeased of sounding like an utter newb, especially in a venue as this, but I have not discovered the means by which one goes about splitting the IQ files down.

OK, so I used "rtl_433 -S all" to record some signals in the area I have interests in, and I was left with three "cs16" files (since I am currently using a HackRF, which generates the 16 bit files natively). Over my recording session, several signals were received (I think 5 in total), I used the IQ Spectrogram to view these files, and confirmed the presence of several signals. 

Now, what is used to split these signals down individually? Then from there, what is used to then decode these signals?

Sorry, for asking, but I am a little befuddled at the moment. I have attached the spectrogram of one of these signal files.
spectrogram.png

Christian Z.

unread,
Mar 28, 2024, 6:18:28 PMMar 28
to rtl_433
There is a graphical tool to split files planned but currently we don't have any.
cs16 files are just raw pairs of 16 bit int's. Split at any 4 byte boundary and it will work (e.g. using dd).

There should not be a need to split short sample files though. Maybe decode to OOK then edit that file. E.g.
rtl_433 -w myfile.ook theinput.cs16

rtl_433 can read ook files for further processing, e.g. a using flex decoder.

Abjectly_Orange-6

unread,
Mar 29, 2024, 2:28:11 AMMar 29
to rtl_433
That answered some questions and raised a few more questions. I had to copy files with an extension "cs16" to "cu16", and files with an extension "cs8" to "cu8", for some reason the "cs*" extension caused the resulting ".ook" file to be blank. Just as interesting, if I tried to use rtl_433 to "convert" the files from "cs16" to "cu8", and then attempted to convert the resulting "cu8" to "ook" this also resulted in a blank "ook" file.

Now that I have data to work with, it is time for me to flex some decoders.

Abjectly_Orange-6

unread,
Mar 29, 2024, 3:09:31 AMMar 29
to rtl_433
One last thing...
What are the conf files for?

Christian Z.

unread,
Mar 29, 2024, 7:01:40 AMMar 29
to rtl_433
You can't just change sample file extensions. Those are different formats. You might just have produced noise. Compare the files in https://triq.org/pdv/
Downconverting *16 to *8 will work only on "loud" files as the "quiet" part is lost. *8 has much reduced dynamic range.

The .conf files are just text, read them to see what they do.

Abjectly_Orange-6

unread,
Mar 29, 2024, 4:26:53 PMMar 29
to rtl_433
I don't know. The log did say it had discovered several known devices, and the spectrograph did display structured patterns. Either way, pulse analysis has not been fruitful as of this moment. I have attached two of the capture files from that session to test out.
g002_433.92M_250k.cs16
g008_433.92M_250k.cs16

Christian Z.

unread,
Mar 29, 2024, 4:41:57 PMMar 29
to rtl_433
That signal is really quiet, which is not good. Also it seems to be a continuous transmission not a packet of data.

Abjectly_Orange-6

unread,
Mar 30, 2024, 2:00:41 AMMar 30
to rtl_433
OK,
I knew my antenna setup was rather sketchy.

Christian, you are a smart feller. I really appreciate everything you have helped me with.

Christian Z.

unread,
Mar 30, 2024, 6:04:24 AMMar 30
to rtl_433
Just practice. I picked up things SDR while fiddling around and from reading other peoples knowledge :)
Some assorted info is on https://triq.org/rtl_433/
Maybe I can write a short intro going through all SDR topics in a logical order someday.

Abjectly_Orange-6

unread,
Apr 11, 2024, 8:12:13 PMApr 11
to rtl_433
Reply all
Reply to author
Forward
0 new messages