Closed richardeoin closed 1 year ago
This looks good; thanks for contributing. I'm seeing one compiler warning about an unused function:
warning: function `last_error_message` is never used
--> uhd/src/error.rs:88:4
|
88 | fn last_error_message() -> Option<String> {
| ^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
Please fix that.
Thanks. I've fixed the compiler warning.
Thank you @samcrow for sharing this crate! It's really great for using UHD in Rust.
This PR implements transmit support (#1). I was able to successfully test it with a USRP B200.
I started with @jkelleyrtp 's working branch and includes his improvement to the error handling and file structure. There's now two additional examples (
transmit.rs
andreceive.rs
)