libbladeRF  1.1.0
Nuand bladeRF library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Enumerations | Functions
Miscellaneous

Enumerations

enum  bladerf_log_level {
  BLADERF_LOG_LEVEL_VERBOSE, BLADERF_LOG_LEVEL_DEBUG, BLADERF_LOG_LEVEL_INFO, BLADERF_LOG_LEVEL_WARNING,
  BLADERF_LOG_LEVEL_ERROR, BLADERF_LOG_LEVEL_CRITICAL, BLADERF_LOG_LEVEL_SILENT
}
 

Functions

API_EXPORT const char *CALL_CONV bladerf_strerror (int error)
 
API_EXPORT void CALL_CONV bladerf_version (struct bladerf_version *version)
 
API_EXPORT void CALL_CONV bladerf_log_set_verbosity (bladerf_log_level level)
 

Detailed Description

Enumeration Type Documentation

Severity levels for logging functions

Enumerator
BLADERF_LOG_LEVEL_VERBOSE 

Verbose level logging

BLADERF_LOG_LEVEL_DEBUG 

Debug level logging

BLADERF_LOG_LEVEL_INFO 

Information level logging

BLADERF_LOG_LEVEL_WARNING 

Warning level logging

BLADERF_LOG_LEVEL_ERROR 

Error level logging

BLADERF_LOG_LEVEL_CRITICAL 

Fatal error level logging

BLADERF_LOG_LEVEL_SILENT 

No output

Definition at line 2054 of file libbladeRF.h.

Function Documentation

API_EXPORT void CALL_CONV bladerf_log_set_verbosity ( bladerf_log_level  level)

Sets the filter level for displayed log messages. Messages that are at or above the specified log level will be printed, while messages with a lower log level will be suppressed.

Parameters
levelThe new log level filter value
API_EXPORT const char* CALL_CONV bladerf_strerror ( int  error)

Obtain a textual description of a value from the Error codes list

Warning
Do not attempt to modify the returned string.
Parameters
errorError value to look up
Returns
Error string

Get libbladeRF version information

Parameters
[out]versionlibbladeRF version information