Crate crazyradio_webusb[][src]

Expand description

Crazyradio driver for Rust using the WebUSB API.

This driver is intended to be used when targetting the web browser with Wasm. It replicates the async API subset of the native crazyradio crate.

The main intention of this crate is to be used as a compile-time replacement for the native crazyradio crate in the crazyflie-link crate. The async functions to create the crazyradio can be used and then the Crazyradio object must be passed and used though the SharedCrazyradio object:

let radio = Crazyradio::open_nth_async(0).await?;
let shared_radio = SharedCrazyradio::new(radio);

Structs

Ack status

Crazyradio dongle

Shared Crazyradio

Enums