This implements the Adafruit Bluefruit LE Connect controller protocol which is e.g. used by the Adafruit Bluefruit LE UART Friend.
Note that this work is not affiliated with Adafruit.
defmt
: you can enable the defmt
feature to get a defmt::Format
implementation for all structs & enums and a defmt::debug!
call for each command being parsed.rgb
: if enabled, the ColorEvent
implements Into<RGB8>
for the RGB crate.serde
: if enabled, all events implement the serde #[derive(Serialize, Deserialize)]
.ProtocolParseError::DisabledControllerDataPackageType
will be returned.The crate is tested against stable rust and rust 1.65.0 (which was the stable version at the time the crate has been built). It is possible that it works with older versions as well but this is not tested.