![]() |
libbladeRF
1.7.2
Nuand bladeRF library
|
bladeRF library routines return negative values to indicate errors. Values >= 0 are used to indicate success.
Macros | |
#define | BLADERF_ERR_UNEXPECTED (-1) |
#define | BLADERF_ERR_RANGE (-2) |
#define | BLADERF_ERR_INVAL (-3) |
#define | BLADERF_ERR_MEM (-4) |
#define | BLADERF_ERR_IO (-5) |
#define | BLADERF_ERR_TIMEOUT (-6) |
#define | BLADERF_ERR_NODEV (-7) |
#define | BLADERF_ERR_UNSUPPORTED (-8) |
#define | BLADERF_ERR_MISALIGNED (-9) |
#define | BLADERF_ERR_CHECKSUM (-10) |
#define | BLADERF_ERR_NO_FILE (-11) |
#define | BLADERF_ERR_UPDATE_FPGA (-12) |
#define | BLADERF_ERR_UPDATE_FW (-13) |
#define | BLADERF_ERR_TIME_PAST (-14) |
#define | BLADERF_ERR_QUEUE_FULL (-15) |
#define | BLADERF_ERR_FPGA_OP (-16) |
#define | BLADERF_ERR_PERMISSION (-17) |
#define | BLADERF_ERR_WOULD_BLOCK (-18) |
Functions | |
API_EXPORT const char *CALL_CONV | bladerf_strerror (int error) |
#define BLADERF_ERR_CHECKSUM (-10) |
Invalid checksum
Definition at line 4384 of file libbladeRF.h.
#define BLADERF_ERR_FPGA_OP (-16) |
An FPGA operation reported failure
Definition at line 4392 of file libbladeRF.h.
#define BLADERF_ERR_INVAL (-3) |
Invalid operation/parameter
Definition at line 4377 of file libbladeRF.h.
#define BLADERF_ERR_IO (-5) |
File/Device I/O error
Definition at line 4379 of file libbladeRF.h.
#define BLADERF_ERR_MEM (-4) |
Memory allocation error
Definition at line 4378 of file libbladeRF.h.
#define BLADERF_ERR_MISALIGNED (-9) |
Misaligned flash access
Definition at line 4383 of file libbladeRF.h.
#define BLADERF_ERR_NO_FILE (-11) |
File not found
Definition at line 4385 of file libbladeRF.h.
#define BLADERF_ERR_NODEV (-7) |
No device(s) available
Definition at line 4381 of file libbladeRF.h.
#define BLADERF_ERR_PERMISSION (-17) |
Insufficient permissions for the requested operation
Definition at line 4393 of file libbladeRF.h.
#define BLADERF_ERR_QUEUE_FULL (-15) |
Could not enqueue data into full queue
Definition at line 4389 of file libbladeRF.h.
#define BLADERF_ERR_RANGE (-2) |
Provided parameter is out of range
Definition at line 4376 of file libbladeRF.h.
#define BLADERF_ERR_TIME_PAST (-14) |
Requested timestamp is in the past
Definition at line 4388 of file libbladeRF.h.
#define BLADERF_ERR_TIMEOUT (-6) |
Operation timed out
Definition at line 4380 of file libbladeRF.h.
#define BLADERF_ERR_UNEXPECTED (-1) |
An unexpected failure occurred
Definition at line 4375 of file libbladeRF.h.
#define BLADERF_ERR_UNSUPPORTED (-8) |
Operation not supported
Definition at line 4382 of file libbladeRF.h.
#define BLADERF_ERR_UPDATE_FPGA (-12) |
An FPGA update is required
Definition at line 4386 of file libbladeRF.h.
#define BLADERF_ERR_UPDATE_FW (-13) |
A firmware update is requied
Definition at line 4387 of file libbladeRF.h.
#define BLADERF_ERR_WOULD_BLOCK (-18) |
Operation would block, but has been requested to be non-blocking. This indicates to a caller that it may need to retry the operation later.
Definition at line 4396 of file libbladeRF.h.
API_EXPORT const char* CALL_CONV bladerf_strerror | ( | int | error | ) |
Obtain a textual description of a value from the Error codes list
error | Error value to look up |