crazyradio

Crates.iocrazyradio
lib.rscrazyradio
version0.3.0
sourcesrc
created_at2020-06-11 11:47:02.804969
updated_at2023-03-09 12:07:33.030214
descriptionCrazyradio USB dongle driver
homepage
repositoryhttps://github.com/ataffanel/crazyradio-rs
max_upload_size
id252710
size44,871
Arnaud Taffanel (ataffanel)

documentation

README

Crazyradio Rust driver Latest version Documentation tests

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.

Usage

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.

Shared and async radio

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.

Serde support

To enable Serde support for serializing and deserializing Channels, enable the feature "serde_support".

Commit count: 31

cargo fmt