BladeRF.jl Documentation
This is an unofficial wrapper for libbladeRF. For the latest information, see the official BladeRF documentation.
BladeRF.BladeRFDevice — TypeBladeRFDevice(device_identifier::String="")BladeRF.check_error — Methodcheck_error(code::Cint)Utility function to check errors
BladeRF.close — Methodclose(dev::BladeRFDevice)BladeRF.deinit_stream — Methoddeinit_stream(stream_ptr::Ptr{Cvoid})BladeRF.enable_module — Methodenable_module(device::BladeRFDevice, channel::Integer, enable::Bool)BladeRF.find_libbladeRF — Methodfind_libbladeRF()Function to find the library in standard locations
BladeRF.get_bandwidth — Methodget_bandwidth(dev::BladeRFDevice, channel::Integer)BladeRF.get_bandwidth_range — Methodget_bandwidth_range(dev::BladeRFDevice, channel::Integer)BladeRF.get_frequency — Methodget_frequency(dev::BladeRFDevice, channel::Integer)BladeRF.get_frequency_range — Methodget_frequency_range(dev::BladeRFDevice, channel::Integer)BladeRF.get_gain — Methodget_gain(dev::BladeRFDevice, channel::Integer)BladeRF.get_gain_mode — Methodget_gain_mode(dev::BladeRFDevice, channel::Integer)BladeRF.get_gain_modes — Methodget_gain_modes(dev::BladeRFDevice, channel::Integer)BladeRF.get_gain_range — Methodget_gain_range(dev::BladeRFDevice, channel::Integer)BladeRF.get_loopback — Methodget_loopback(dev::BladeRFDevice)BladeRF.get_loopback_modes — Methodget_loopback_modes(dev::BladeRFDevice)BladeRF.get_sample_rate — Methodget_sample_rate(dev::BladeRFDevice, channel::Integer)BladeRF.get_sample_rate_range — Methodget_sample_rate_range(dev::BladeRFDevice, channel::Integer)BladeRF.get_serial — Methodget_serial(dev::BladeRFDevice)BladeRF.init_stream — Methodinit_stream(dev::BladeRFDevice, callback::Function, num_buffers::UInt, format::BladerfFormat, samples_per_buffer::UInt, num_transfers::UInt)BladeRF.install_bladeRF — Methodinstall_bladeRF()Function to install the BladeRF library
BladeRF.set_bandwidth — Methodset_bandwidth(dev::BladeRFDevice, channel::Integer, bandwidth::Integer)BladeRF.set_frequency — Methodset_frequency(dev::BladeRFDevice, channel::Integer, frequency::Int64)BladeRF.set_gain — Methodset_gain(dev::BladeRFDevice, channel::Integer, gain::Integer)BladeRF.set_gain_mode — Methodset_gain_mode(dev::BladeRFDevice, channel::Integer, mode::BladerfGainMode)BladeRF.set_loopback — Methodset_loopback(dev::BladeRFDevice, lb::BladeRFLoopback)BladeRF.set_sample_rate — Methodset_sample_rate(dev::BladeRFDevice, channel::Integer, rate::Integer)BladeRF.stream — Methodstream(stream_ptr::Ptr{Cvoid}, layout::BladerfChannelLayout)BladeRF.submit_stream_buffer — Methodsubmit_stream_buffer(stream_ptr::Ptr{Cvoid}, buffer::Ptr{Cvoid}, timeout_ms::UInt)BladeRF.submit_stream_buffer_nonblocking — Methodsubmit_stream_buffer_nonblocking(stream_ptr::Ptr{Cvoid}, buffer::Ptr{Cvoid})BladeRF.sync_config — Methodsync_config(dev::BladeRFDevice, layout::BladerfChannelLayout, format::BladerfFormat, num_buffers::UInt, buffer_size::UInt, num_transfers::UInt, stream_timeout::UInt)BladeRF.sync_rx — Methodsync_rx(dev::BladeRFDevice, samples::Ptr{Cvoid}, num_samples::UInt, metadata::Ptr{BladerfMetadata}, timeout_ms::UInt)BladeRF.sync_tx — Methodsync_tx(dev::BladeRFDevice, samples::Ptr{Cvoid}, num_samples::UInt, metadata::Ptr{BladerfMetadata}, timeout_ms::UInt)BladeRF.version — Methodbladerf_version()::Version