petekubiak
petekubiak
The purpose of this PR is to simplify the process for defining services and characteristics in TrouBLE, as laid out in this issue: #130. Services are defined as a struct...
I believe characteristic actions can be simplified by adding methods and persistent data to each characteristic instead of requiring access through the AttributeTable. This has the potential to remove a...
Say for example I want to perform single-ended measurements on each of the channels in an async environment, I might want to create a function like this: ```rust type Ads(ads:...
I am working on a no_std embedded comms stack which talks to devices running C applications. The stack uses `heapless::Vec`s to handle the byte streams being sent and received, and...
Hi, the docs state that the `select!` macro is gated by the `async-await` feature, however in the code it is in fact gated by `std`. Can either the docs be...
I'm trying to generate a stream to work on a `&mut [u8]`. To do this I've tried to use: ```rust async fn process(buffer: &mut [u8]) -> Result { stream::iter(buffer).enumerate().try_for_each(async |(index,...
I am working on a no_std embedded comms stack which talks to devices running C applications. The stack uses `heapless::Vec`s to handle the byte streams being sent and received, and...
**Describe the bug** I have a template containing the following `cargo-generate.toml`: ```toml [template] cargo_generate_version = ">=0.9.0" [conditional.'is_init'] ignore = ["Cargo.toml", "src/", ".gitignore"] ``` The idea is that if the template...
Hi, it would be really handy to have a feature on the crate to opt into defmt support so that bitflags structs can be printed to trace with defmt. Thanks!