rust/bt-common: Add interactive debug traits Define two debug traits: - CommandSet trait allows a set of commands to be provided - CommandRunner provides a way to run those commands Intended to be used for interactive debugging and testing. Add commands for bt-pacs. Add FromCharacteristic::try_read, attempting to read and decode data from a characteristic if it matches the UUID of the type. Bug: fxbug.dev/308483257 Change-Id: I56062f0604a05b94c8579f17b07991cf9b452c08 Reviewed-on: https://bluetooth-review.git.corp.google.com/c/bluetooth/+/1460 Reviewed-by: Ani Ramakrishnan <aniramakri@google.com> Reviewed-by: Dayeong Lee <dayeonglee@google.com>
This is a repository for shared source libraries that can be useful for multiple Bluetooth stacks. Many of these are meant to be stack-agnostic and platform-agnostic and implement a useful part of a published Bluetooth specification.
It has been started as a repository for developing Rust crates but can be easily expanded to include libraries for other languages.