commit | 79fa91336fcf59b34bf6fede0bd38ad1e46cc869 | [log] [tgz] |
---|---|---|
author | Marie Janssen <jamuraa@google.com> | Mon Nov 27 18:23:31 2023 -0500 |
committer | Dayeong Lee <dayeonglee@google.com> | Fri Apr 05 22:20:15 2024 +0000 |
tree | 57e6e3b24124bfca2b9fcda38d7e8bfc0395ce35 | |
parent | 2832e40839d5cb20ca429eb7b8118579b78e692c [diff] |
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.