Skip to content

rigexpert/libfobos

Repository files navigation

libfobos RigExpert Fobos SDR API

This is the Fobos SDR receiver host software API shared library. Lightweight and easy to start. Full source code. Application examples.

Versions

See versions.txt

Platforms tested on

  • Linux (Ubuntu 18.04 LTS, Ubuntu 22.04 LTS, Raspbian ...)
  • Windows (7, 8.1, 10, 11) x86, x64

Requirements

  • git v.2.31 or later (otherwise download the repository manualy: Code->Download ZIP)
  • any c compiler (tested on gcc, g++, mingw, msvc)

Dependencies

  • libusb-1.0-0 v.1.0.21 or higher

How to build and evaluate

Linux

git clone [this repo]
cd libfobos
mkdir build
cd build
cmake ..
make
sudo make install
sudo udevadm control --reload-rules
sudo udevadm trigger

Windows

git clone [this repo]
cd libfobos
mkdir build
cd build
cmake ..

to build Win32 binaries (legacy software) use

cmake .. -A Win32

Visit https://github.com/libusb/libusb/releases
Download a libusb release 7z pack, recommended libusb-1.0.21.7z
Unpack content of libusb-1.0.21.7z to libusb directory

Note More recent libusb releases are claimed:
Note: The Windows binaries in libusb-1.0.xx.7z are provided as-is and may not work for your toolchain. In that case, please build libusb from source using your own toolchain.

If you want to track the latest libusb version, please rebuild the Windows binaries and link manually to the project or edit the CMakeLists.txt for your own.
Onterwize use stable time-proved libusb-1.0.21 binaries and default CMakeLists.txt recepie.

cmake --build . --config Release

or
open fobos.sln in your favorite MS VisualStudio IDE, build, debug, trace, evaluate.

MacOS (if cmake fails)

Make sure you have libusb installed: brew install libusb

git clone [this repo]
cd libfobos
./build-mac.sh

Verify the device is recognized: build/mac/fobos_devinfo

Receive some sample: build/mac/fobos_recorder. Then you can open the wav file with inspectrum (brew install inspectrum): inspectrum rx.iq.wav

How to use Fobos SDR API elsewhere

  • build, install, include header fobos.h, link library libfobos.so, fobos.dll
  • see eval/fobos_devinfo_main.c for simple device enumeration example
  • see eval/fobos_recorder_main.c for basic application example
  • feel free to evaluate

How it looks like




What is actually Fobos SDR

For more info visit the main product page

https://rigexpert.com/en/products/kits-en/fobos-sdr/

For contributors

Please follow the rules:

  • please keep it as simple as possible
  • do not overbloat and overcomplicate the project
  • do not reformat, reshape, refactor, remix, rewrite existing code
  • do like "one feature - one commit - one pull request"
  • do not make "pr-attack", do not stack pull requests
  • don to submit rarely used specific features
  • do not submit AI-generated, AI-driven, AI-related content
  • do not modify these rules

About

Fobos SDR API library. Full source code.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors