newam / hackrfone Goto Github PK
View Code? Open in Web Editor NEWRust interface for the HackRF One software defined radio.
License: MIT License
Rust interface for the HackRF One software defined radio.
License: MIT License
Hi! Thanks for your work on this library.
I've been trying to get it to work with macOS and I haven't been able to receive anything. rx()
always gives me an Err(Usb(NotFound))
, while device_version()
seems to work correctly.
This is the basic example I've tried running:
use hackrfone::{HackRfOne, RxMode, UnknownMode};
fn main() {
let radio: HackRfOne<UnknownMode> = HackRfOne::new().unwrap();
println!("{:?}", radio.device_version());
let mut radio: HackRfOne<RxMode> = radio.into_rx_mode().unwrap();
radio.rx().unwrap();
}
Which gives me this output:
Version(1, 0, 4)
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Usb(NotFound)', src/main.rs:8:16
I also tried your rx.rs
example and got this:
Spawned sample thread
Sample thread disconnected
Shutting down sample thread
thread 'main' panicked at 'Failed to send exit event to sample thread: "SendError(..)"', src/main.rs:89:10
Have you encountered anything like this? Which platforms have you been able to test your library against?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.