jekhokie / raspberry-noaa-v2

V2 of the fantastic Raspberry Pi NOAA setup
GNU General Public License v3.0
558 stars 104 forks source link

Getting SDR stream from remote SDR. #533

Open LeFEAR opened 2 years ago

LeFEAR commented 2 years ago

Please Describe the problem to be solved I am having several networked SDRs like Adalm pluto and SDRplay TCP servers , that I would like to utilise remotely on a more powerful system than an rpi ( plus they are no in stock anywhere ... ) so is there a way to set a remote netowkr as a source ?

(Optional): Suggest A Solution if I knew how to pass arguments on this command : "nc xxx.xxx.xxx.xx 1234" for frequency and tune with a simple command I could export the IQ file.

Thanks for your time.

If there are multiple solutions, please present each one separately.

dom-robinson commented 2 years ago

I cant immediately see any reason that the scripts could not be modified to use rtl_tcp as a way to remotely grab rtl_fm driver based captures. That should be fairly straight forward . You would likely want to clone and tweak a copy of one of the record*.sh scripts in here as a starting point >> https://github.com/jekhokie/raspberry-noaa-v2/tree/master/scripts/audio_processors

They are quite short scripts and you should be able to modify the last section of them. What you will need is something that can pick up the config, connect to the rtl_tcp session on the remote SDR host, and then probably pipe the data to something that can transform it from IQ raw to an 11khz mono wav file and then drop that where it needs to be as the script already does.

I had a quick search but cant immediately find a 'use this' client for rtl_tcp that can run on the command line and produce the wav, but i only looked for 5 min for you - a deeper search will likely find something! Good luck - nice idea - let us know how it goes!