bladeRF/host/libraries/libbladeRF
Frank Jenner 3655b3d516 Added variable-level logging mechanism
Added a mechanism to log messages with different priority levels, and to
filter which messages are output by setting a threshold level. The
function to set the current log level/verbosity is exposed through
libbladeRF.h, while the logging function/macros themselves are private
to this project, and are present in log.c/log.h. Callers should use the
convenience macros bladerf_log_[level]() to issue their log messages.
These macros piece together a format string that contains the message
priority and, for warning and higher priorities, the function and line
number on which the message was logged. Also, warning level and higher
level messages are output to stderr, rather than stdout.
2013-09-02 15:39:41 -04:00
..
doc/doxygen libbladeRF: Fixed Doxygen paths 2013-08-29 21:15:22 -04:00
include Added variable-level logging mechanism 2013-09-02 15:39:41 -04:00
src libbladeRF: Updated calibration routine. 2013-09-02 13:54:53 -04:00
tests libbladeRF: [WIP] Changed API interfaces to use int instead of ssize_t. 2013-08-23 01:44:13 -04:00
CMakeLists.txt Added variable-level logging mechanism 2013-09-02 15:39:41 -04:00
libbladeRF.pc.in libbladeRF & bladeRF-CLI: Fixed build issues. Moved backend config info. 2013-08-13 23:44:42 -04:00
README.md github edit: Fixed typos in libbladeRF README.md 2013-08-25 11:31:06 -04:00

bladeRF Library (libbladeRF)

This is the source for the library which interacts with the bladeRF device. Our goal is to make this library compatible across Linux, Windows, OSX, and the NIOS core on the FPGA. The last item will allow the same library code to be run in a headless (without a host) mode of operation.

Functionality provided by this library includes:

  • Opening and closing devices
  • Tuning to various frequencies
  • Configuring the sample rate
  • Configuring the bandwidth and gain of the RF chain
  • Transmitting and receiving complex baseband samples

The library is meant to be used as a simple and intuitive way to think about not just the bladeRF device itself, but most any radio hardware. Fundamental operations such as setting the tuning frequency, manipulating switches on the board for different paths, and changing the different transmit and receive gains are all parts of a radio system which need to be exposed at a library level.

For more information, please generate and view the doxygen documentation provided in the [doc/doxygen] directory: [doc/doxygen]: ./doc/doxygen (Doxygen documentation)

cd doc/doxygen
make
firefox html/index.html