#include <list>
#include <map>
#include <string>
#include <vector>
#include <boost/thread/mutex.hpp>
#include <boost/weak_ptr.hpp>
#include <libbladeRF.h>
#include "osmosdr/ranges.h"
#include "arg_helpers.h"
#include "bladerf_compat.h"
Go to the source code of this file.
| #define BLADERF_DEBUG |
( |
|
message | ) |
BLADERF_INFO("DEBUG: " << message) |
| #define BLADERF_DEBUG_ENABLE |
| #define BLADERF_INFO |
( |
|
message | ) |
|
Value:{ \
std::cout << _pfx << __FUNCTION__ << ": " << message << std::endl; \
}
| #define BLADERF_THROW |
( |
|
message | ) |
|
Value:{ \
throw std::runtime_error(std::string(__FUNCTION__) + ": " + message); \
}
| #define BLADERF_THROW_STATUS |
( |
|
status, |
|
|
|
message |
|
) |
| |
Value:
BLADERF_THROW(boost::str(boost::format(
"%s: %s (%d)") % message \
% bladerf_strerror(status) % status)); \
}
#define BLADERF_THROW(message)
Definition: bladerf_common.h:63
| #define BLADERF_WARN_STATUS |
( |
|
status, |
|
|
|
message |
|
) |
| |
Value:
} \
#define BLADERF_WARNING(message)
Definition: bladerf_common.h:75
| #define BLADERF_WARNING |
( |
|
message | ) |
|
Value:{ \
std::cerr << _pfx << __FUNCTION__ << ": " << message << std::endl; \
}
| Enumerator |
|---|
| BOARD_TYPE_UNKNOWN |
Board type is unknown
|
| BOARD_TYPE_NONE |
Uninitialized or no board present
|
| BOARD_TYPE_BLADERF_1 |
bladeRF 1 (LMS6002D-based, 1RX/1TX)
|
| BOARD_TYPE_BLADERF_2 |
bladeRF 2 (AD9361-based, 2RX/2TX)
|
| size_t num_streams |
( |
bladerf_channel_layout |
layout | ) |
|