skydroid-fpv
A no_std, allocation-free Rust implementation of the Skydroid
camera FPV control protocol (reverse-engineered from the Android app,
see PROTOCOL.md).
The crate builds packets to send ([packet], [command]) and parses
frames you receive ([framing]), with no heap allocation: all
output is written into caller-provided buffers. It works on bare-metal
embedded targets and normal OS projects alike.
Features
default = []— pureno_std, noalloc, nostd.std— enables the optional OS socket transport ([transport]).transport— impliesstd; enables the [transport] module.
Quick start (send a command)
use build_command;
use Capture;
let mut out = ;
let n = build_command.unwrap;
let wire = &out; // bytes ready for the socket
assert_eq!;