Crates.io | crazyradio |
lib.rs | crazyradio |
version | 0.3.0 |
source | src |
created_at | 2020-06-11 11:47:02.804969 |
updated_at | 2023-03-09 12:07:33.030214 |
description | Crazyradio USB dongle driver |
homepage | |
repository | https://github.com/ataffanel/crazyradio-rs |
max_upload_size | |
id | 252710 |
size | 44,871 |
Crazyradio USB dongle driver for Rust.
This crate implements low level support for the Crazyradio PA USB dongle. It implements the protocol documented in the Crazyradio documentation. It uses the rusb crates to access the USB device.
Crazyradio is a 2.4GHz USB radio dongle based on the Nordic Semiconductor nRF24LU1 radio chip. It is mainly intended to be used to control and communicate with the Crazyflie nano quadcopter.
The crates exposes a Crazyradio
struct that can be used to open a
Crazyradio dongle, configure it, sent packet and receive ack with it. See the
Crazyradio struct documentation for an example.
The feature shared_radio
enables the SharedCrazyradio
struct that
can be used to share a radio dongle between threads.
The feature async
enables async functions in the SharedRadio
struct as well
as to create the Crazyradio
struct.
To enable Serde support for serializing and deserializing Channels
, enable the feature "serde_support".