miweber67 / spyserver_client

CLI spyserver client to provide basic rtl_sdr and rtl_power-like outputs from an Airspy spyserver.
GNU General Public License v3.0
25 stars 2 forks source link

Example usage with gr-satellites? #5

Open kevinelliott opened 4 years ago

kevinelliott commented 4 years ago

One of my primary goals for using spyserver_client (ss_client) will be to eventually decode AERO (SATCOM ACARS) channels from a spy server pointed at Inmarsat Alphasat. But there is no AERO decoder for command line Linux yet (only JAERO, which is GUI oriented, and ideally for Windows, though it can work on Linux with some effort).

However, before I get to that, it might be helpful to first get ss_client working with gr-satellites to decode an amateur satellite that is more accessible/reliable and has decoders in gr-satellite first.

Does anyone have an example of using ss_client with gr-satellites so that I can see it working in action?

kevinelliott commented 3 years ago

Any thoughts?

Basically, want to be able to use various decoder clients with spyserver_client. Do you have any experience with that?

miweber67 commented 3 years ago

I have used ss_client to feed IQ data to various weather radiosonde decoders; this is actually the purpose for which I developed it.

I have not used gr-satellites, but skimming the docs, it looks like something akin to the following would be needed:

ss_client iq -f <freq> -s 78125 -g 18 - > data.bin
gr_satellites --rawint16 data.bin --iq --samp_rate 78125

If you save the incoming IQ data to a file, e.g., data.bin, then you don't have to wait for the next pass to fiddle with the post-processing settings. You can switch to - for real-time decoding when everything is known to work.

You should also be able to use GRC to make a simple flowgraph to display the data in the data.bin file, e.g., FFT or scope. Try the attached.

int16-to-gr_complex_copy.txt