#include <map>
#include <memory>
#include <mutex>
#include <string>
#include <vector>
#include <boost/format.hpp>
#include <osmosdr/ranges.h>
#include <libhackrf/hackrf.h>
Go to the source code of this file.
◆ BUF_LEN
#define BUF_LEN (16 * 32 * 512) /* must be multiple of 512 */ |
◆ BUF_NUM
◆ BYTES_PER_SAMPLE
#define BYTES_PER_SAMPLE 2 /* HackRF device produces/consumes 8 bit signed IQ data */ |
◆ HACKRF_FORMAT_ERROR
#define HACKRF_FORMAT_ERROR |
( |
|
ret, |
|
|
|
msg |
|
) |
| |
Value: boost::str( boost::format(msg " (%1%) %2%") \
% ret % hackrf_error_name((enum hackrf_error)ret) )
◆ HACKRF_FUNC_STR
#define HACKRF_FUNC_STR |
( |
|
func, |
|
|
|
arg |
|
) |
| boost::str(boost::format(func "(%1%)") % arg) + " has failed" |
◆ HACKRF_THROW_ON_ERROR
#define HACKRF_THROW_ON_ERROR |
( |
|
ret, |
|
|
|
msg |
|
) |
| |
Value: if ( ret != HACKRF_SUCCESS ) \
{ \
}
#define HACKRF_FORMAT_ERROR(ret, msg)
Definition: hackrf_common.h:39