These functions provide the ability to query various pieces of information from an attached device. They are thread-safe.
FPGA device variant (size)
Enumerator |
---|
BLADERF_FPGA_UNKNOWN |
Unable to determine FPGA variant
|
BLADERF_FPGA_40KLE |
40 kLE FPGA
|
BLADERF_FPGA_115KLE |
115 kLE FPGA
|
Definition at line 1873 of file libbladeRF.h.
Obtain the bus speed at which the device is operating
- Parameters
-
- Returns
- speed Device speed
Query FPGA version
- Parameters
-
[in] | dev | Device handle |
[out] | version | Updated to contain firmware version |
- Returns
- 0 on success, value from Error codes list on failure
Query firmware version
- Parameters
-
[in] | dev | Device handle |
[out] | version | Updated to contain firmware version |
- Returns
- 0 on success, value from Error codes list upon failing to retrieve this information from the device.
Query a device's FPGA size
- Parameters
-
[in] | dev | Device handle |
[out] | size | Will be updated with the on-board FPGA's size. If an error occurs, no data will be written to this pointer. |
- Returns
- 0 on success, value from Error codes list on failure
Query a device's serial number
- Parameters
-
[in] | dev | Device handle |
[out] | serial | Will be updated with serial number. If an error occurs, no data will be written to this pointer. |
- Returns
- 0 on success, value from Error codes list on failure
Query a device's VCTCXO calibration trim
- Parameters
-
[in] | dev | Device handle |
[out] | trim | Will be updated with the factory DAC trim value. If an error occurs, no data will be written to this pointer. |
- Returns
- 0 on success, value from Error codes list on failure
Check FPGA configuration status
- Parameters
-
- Returns
- 1 if FPGA is configured, 0 if it is not, and value from Error codes list on failure