Skip to content
Josh Blum edited this page Sep 8, 2017 · 6 revisions

Soapy SDR plugin for HackRF

https://raw.githubusercontent.com/wiki/pothosware/SoapySDR/images/soapy_sdr_logo.png

The Soapy Hack RF project provides a plugin module to use the Hack RF device within the SoapySDR API and software that supports SoapySDR.

Pre-built installers for various systems are available through the Pothos SDR environment.

Or install Hack RF packages on Ubuntu:

sudo add-apt-repository -y ppa:myriadrf/drivers
sudo apt-get update
sudo apt-get install hackrf libhackrf-dev

The CMake build system will locate libhackrf and SoapySDR development files on your system. The plugin module will be built and installed into the SoapySDR modules directories.

git clone https://github.com/pothosware/SoapyHackRF.git
cd SoapyHackRF
mkdir build
cd build
cmake ..
make
sudo make install
SoapySDRUtil --probe="driver=hackrf"
######################################################
## Soapy SDR -- the SDR abstraction library
######################################################

Probe device driver=hackrf

----------------------------------------------------
-- Device identification
----------------------------------------------------
  driver=HackRF
  hardware=HackRF One
  buffer size=3.750000MB
  clock source=internal
  part id=a000cb3c005f4746
  serial=0000000000000000457863c82e5f3f1f
  version=2015.07.2

----------------------------------------------------
-- Peripheral summary
----------------------------------------------------
  Channels: 1 Rx, 1 Tx
  Timestamps: NO

----------------------------------------------------
-- RX Channel 0
----------------------------------------------------
  Full-duplex: NO
  Antennas: RX
  Full gain range: [0, 103] dB
    LNA gain range: [0, 40] dB
    VGA gain range: [0, 62] dB
    AMP gain range: [0, 1] dB
  Full freq range: [0, 7250] MHz
    RF freq range: [0, 7250] MHz
  Sample rates: [1, 20] MHz
  Filter bandwidths: [1.75, 28] MHz

----------------------------------------------------
-- TX Channel 0
----------------------------------------------------
  Full-duplex: NO
  Antennas: TX
  Full gain range: [0, 48] dB
    VGA gain range: [0, 47] dB
    AMP gain range: [0, 1] dB
  Full freq range: [0, 7250] MHz
    RF freq range: [0, 7250] MHz
  Sample rates: [1, 20] MHz
  Filter bandwidths: [1.75, 28] MHz