Airspy HF+ on a Raspberry Pi?

Talk about other SDR products like the FunCube, HackRF, BladeRF etc.
Post Reply
hotpaw2
Posts: 102
Joined: Sat Jan 14, 2017 11:07 pm
Contact:

Airspy HF+ on a Raspberry Pi?

Post by hotpaw2 » Wed Jan 03, 2018 9:36 pm

Has anyone got an Airspy HF+ working on a Raspberry Pi?

I can compile and run SDR applications that link to libairspyhf on macOS. And libairspyhf builds and links without error on my Raspberry Pi 3. But the same code that runs on my Mac, reports no Airspy HF+ devices found on the Raspberry Pi.

The code I am developing emulates the rtl_tcp protocol when used with an HF+. That allows me to stream HF+ data from my Mac to any SDR application which can connect to the rtl_tcp protocol at a sample rate of 768 kHz. I would also like to run that server on my Raspberry Pi.

hotpaw2
Posts: 102
Joined: Sat Jan 14, 2017 11:07 pm
Contact:

Re: Airspy HF+ on a Raspberry Pi?

Post by hotpaw2 » Fri Jan 05, 2018 8:08 pm

The issue turned out to be that the permissions in the udev rules on the Raspberry Pi were different between default installations of the RTL-SDR library and the HF+ library. Changing either the user's group, or the device permissions, or the udev rules fixed the issue.

After fixing this issue, the new Airspy HF+ now works great plugged into my Raspberry Pi 3. I can now compile and run tcp servers for it, and stream IQ samples from either it or an RTL-SDR v.3 to my panadapter apps under development.

rtlsdrblog
Site Admin
Posts: 2330
Joined: Mon Nov 19, 2012 11:54 pm

Re: Airspy HF+ on a Raspberry Pi?

Post by rtlsdrblog » Sat Jan 06, 2018 9:05 pm

Thanks for letting us know what the issue was.

hotpaw2
Posts: 102
Joined: Sat Jan 14, 2017 11:07 pm
Contact:

Re: Airspy HF+ on a Raspberry Pi?

Post by hotpaw2 » Thu Feb 22, 2018 7:28 am

I just posted source code on github of a very simple rtl_tcp server for the AirSpy HF+:
hfp_tcp_server.c
https://gist.github.com/hotpaw2/8c720c3 ... c505eb61d5
This allows me to develop SDR clients for both the RTL-SDR and the HF+ using the same rtl_tcp protocol for both (except for the different supported sample rates).

As a preview, here's a screenshot of a beta test version of the rtl_tcp (and hfp_tcp) viewer, written in Swift 4, running on an iPhone:
ss1.jpg
ss1.jpg (20.85 KiB) Viewed 5254 times

hotpaw2
Posts: 102
Joined: Sat Jan 14, 2017 11:07 pm
Contact:

Re: Airspy HF+ on a Raspberry Pi?

Post by hotpaw2 » Sat Apr 28, 2018 7:45 pm

My iOS rtl_tcp SDR app is for now available for purchase from Apple's iOS App store: https://itunes.apple.com/us/app/rtl-tcp ... ?ls=1&mt=8

It supports the HF+ from a Raspberry Pi to an iOS device (but only if you are willing to compile beta-test-level open source code: https://gist.github.com/hotpaw2/8c720c3 ... c505eb61d5 )

For another new iOS SDR app with a different user interface, also see: viewtopic.php?f=3&t=2275

Post Reply