GithubHelp home page GithubHelp logo

herrameise / sdrplay-api-linux-docker Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 311 KB

a "Docker-friendly" version (i.e. no user interaction) of the SDRplay Linux API

Home Page: https://www.sdrplay.com/api/

License: Other

C 52.55% Shell 45.48% Dockerfile 1.97%

sdrplay-api-linux-docker's Introduction

SDRplay Linux API

This repository contains the same SDRplay Linux drivers/API available on the SDRplay website. The packaged script from the website (SDRplay_RSP_API-Linux-XXX.run) has several features that make it undesirable for installing and running inside a Docker container with a minimal Linux system and no user interaction. The original installer was run with the --noexec and --keep flags to obtain the files in this repository. Only the install_lib.sh script was altered to produce install_lib_DOCKER.sh.

Installation on the Host

Run the normal installation script (NOT install_libs_DOCKER.sh):

$ ./install_libs.sh

Installation in a Docker Container

See the Dockerfile and run-container.sh script for examples of how to incorporate this into a Docker build. The SDRplay API service needs to be started on the host before running the container. The directories /dev/bus/usb and /dev/shm are volume-mounted into the container.

If something like SoapySDR is installed in the container, you can scan for an attached SDR to verify that the API service is functioning as expected:

tester@SDRPLAY-TEST:~$ SoapySDRUtil --find="driver=sdrplay"
######################################################
##     Soapy SDR -- the SDR abstraction library     ##
######################################################

Found device 0
  driver = sdrplay
  label = SDRplay Dev0 RSPduo 2301024734 - Single Tuner
  mode = ST
  serial = 2301024734

[...]

sdrplay-api-linux-docker's People

Contributors

herrameise avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.