-
防锈版AirSpy SDR库:rust-airspy
资源介绍
#rust-airspy该库是周围的Rust包装器。
依存关系
编译
cd ~/Downloads
git clone https://github.com/airspy/host.git airspy
cd airspy/libairspy
mkdir build
cd build
cmake ../
make
sudo make install
用法
把它放在你的Cargo.toml :
[ dependencies . airspy ]
git = " https://github.com/cubehub/rust-airspy.git "
这在您的板条箱根目录中:
extern crate airspy;
例子
将AirSpy SDR连接到您的计算机并运行:
cargo build --example airspyrx
./target/release/examples/a