hlibBladeRF-0.1.0.1: Haskell binding to libBladeRF SDR library

Portabilityportable
Stabilityprovisional
Maintainereocallaghan@alterapraxis.com
Safe HaskellNone

LibBladeRF.Utils

Description

This module encapsulates misc libbladeRF library functions.

Synopsis

Documentation

bladeRFLibVersion :: IO BladeRFVersionSource

Get libbladeRF version information.

bladeRFFwVersionSource

Arguments

:: DeviceHandle

Device handle

-> IO BladeRFVersion

Returned firmware version

Query firmware version.

bladeRFFPGAVersionSource

Arguments

:: DeviceHandle

Device handle

-> IO BladeRFVersion

Returned firmware version

Query FPGA version.

bladeRFDeviceSpeedSource

Arguments

:: DeviceHandle

Device handle

-> IO BladeRFSpeed

Device speed

Obtain the bus speed at which the device is operating

bladeRFLoadFPGASource

Arguments

:: DeviceHandle

Device handle

-> String

Full path to FPGA bitstream

-> IO () 

Load device's FPGA.

Note that this FPGA configuration will be reset at the next power cycle. Pass Full path to FPGA bitstream.

bladeRFGetDevInfoSource

Arguments

:: DeviceHandle

Device handle

-> IO BladeRFDeviceInfo

Device information populated by this function

Fill out a provided BladeRFDevInfo structure, given an open device handle.

bladeRFGetSerialSource

Arguments

:: DeviceHandle

Device handle

-> IO String

Returned serial number.

Query a device's serial number.

bladeRFGetFPGASizeSource

Arguments

:: DeviceHandle

Device handle

-> IO BladeRFFPGASize

Returned on-board FPGA's size.

Query a device's FPGA size.

bladeRFEnableModuleSource

Arguments

:: DeviceHandle

Device handle

-> BladeRFModule

Device module

-> Bool

True to enable, False to disable

-> IO () 

Enable or disable the specified RX/TX module.

When a synchronous stream is associated with the specified module, this will shut down the underlying asynchronous stream when enable = False.