| Portability | portable |
|---|---|
| Stability | provisional |
| Maintainer | eocallaghan@alterapraxis.com |
| Safe Haskell | None |
LibBladeRF.Utils
Description
This module encapsulates misc libbladeRF library functions.
- bladeRFLibVersion :: IO BladeRFVersion
- bladeRFFwVersion :: DeviceHandle -> IO BladeRFVersion
- bladeRFFPGAVersion :: DeviceHandle -> IO BladeRFVersion
- bladeRFDeviceSpeed :: DeviceHandle -> IO BladeRFSpeed
- bladeRFLoadFPGA :: DeviceHandle -> String -> IO ()
- bladeRFGetDevInfo :: DeviceHandle -> IO BladeRFDeviceInfo
- bladeRFGetSerial :: DeviceHandle -> IO String
- bladeRFGetFPGASize :: DeviceHandle -> IO BladeRFFPGASize
- bladeRFEnableModule :: DeviceHandle -> BladeRFModule -> Bool -> IO ()
Documentation
bladeRFLibVersion :: IO BladeRFVersionSource
Get libbladeRF version information.
Arguments
| :: DeviceHandle | Device handle |
| -> IO BladeRFVersion | Returned firmware version |
Query firmware version.
Arguments
| :: DeviceHandle | Device handle |
| -> IO BladeRFVersion | Returned firmware version |
Query FPGA version.
Arguments
| :: DeviceHandle | Device handle |
| -> IO BladeRFSpeed | Device speed |
Obtain the bus speed at which the device is operating
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.
Arguments
| :: DeviceHandle | Device handle |
| -> IO BladeRFDeviceInfo | Device information populated by this function |
Fill out a provided BladeRFDevInfo structure, given an open device handle.
Arguments
| :: DeviceHandle | Device handle |
| -> IO String | Returned serial number. |
Query a device's serial number.
Arguments
| :: DeviceHandle | Device handle |
| -> IO BladeRFFPGASize | Returned on-board FPGA's size. |
Query a device's FPGA size.
Arguments
| :: DeviceHandle | Device handle |
| -> BladeRFModule | Device module |
| -> Bool | |
| -> 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.