commit | 43a6344f869a17483f334ed06f792191c03db6dc | [log] [tgz] |
---|---|---|
author | Marie Janssen <jamuraa@google.com> | Fri Mar 08 19:21:55 2024 -0500 |
committer | Dayeong Lee <dayeonglee@google.com> | Fri Apr 05 22:24:28 2024 +0000 |
tree | c3e27282d648efa3938ac219172aad99bbfc91bc | |
parent | 79fa91336fcf59b34bf6fede0bd38ad1e46cc869 [diff] |
rust/bt-common: Type for Ltv decode Errors Add core::ltv::Error which is used for decoding types that implement Ltv. This new error type produces better error text as well as exposing the type of the items that had problems decoding, which is needed for some upcoming ASCS responses. Test: updated unit tests; cargo test Change-Id: Ibe4efae2ae0d1ecffea5a5e6a5fec1b364fd1f8a Reviewed-on: https://bluetooth-review.git.corp.google.com/c/bluetooth/+/1720 Reviewed-by: Ani Ramakrishnan <aniramakri@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.