| Crates.io | hackrfone |
| lib.rs | hackrfone |
| version | 0.4.0 |
| created_at | 2021-05-02 16:24:29.914778+00 |
| updated_at | 2026-01-03 17:51:57.040118+00 |
| description | Rust library for the HackRF One software defined radio. |
| homepage | https://github.com/newAM/hackrfone |
| repository | https://github.com/newAM/hackrfone |
| max_upload_size | |
| id | 392226 |
| size | 43,801 |
This is a rust API for the HackRF One software defined radio.
This is not a wrapper around libhackrf, this is a re-implementation of
libhackrf in rust, using the nusb user-space rust library.
This is currently in an experimental state, and it is incomplete.
For full feature support use the official libhackrf C library.
This is tested only on Linux, but it will likely work on other platforms where
libhackrf works.
Adapted from nusb-linux-setup. This is only needed if you want to run as non-root user, although the initial setup does require sudo.
# Create a `udev` rule
echo 'SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="6089", MODE="0660", GROUP="hackrfone"' | sudo tee /etc/udev/rules.d/99-hackrfone-usb.rules
# Add current user to group
sudo groupadd hackrfone
sudo usermod -aG hackrfone $USER