Module info

Module info 

Source
Expand description

Get information about a HackRF board.

This module contains the Info struct for accessing information from the HackRF, which can be used to get:

The general way to do this with a HackRF is:



use waverave_hackrf::info::*;

let hackrf = waverave_hackrf::open_hackrf()?;
let info = hackrf.info();

let serial: SerialNumber = info.serial().await?;
let compatible: SupportedPlatform = info.supported_platform().await?;
let board_id: BoardId = info.board_id().await?;
let board_rev: BoardRev = info.board_rev().await?;

Structs§

Info
Info-gathering operations for the HackRF.
SerialNumber
The MCU serial number.
SupportedPlatform
Compatible platforms for this board.

Enums§

BoardId
The physical board’s identifier. These differentiate between board hardware that’s actually different.
BoardRev
The board revision.