[bt-common] LtValue trait, CodecCapabilities Add LtValue trait and helper functions to help with defining types that are length-type-value structure. Add CompanyId, CodingFormat from core spec. Migrate core::fmt::Display to std::fmt::Display for PeerId to not conflict with core mod. Add packet_encoding mod. Bug: b/308483293 Tests: cargo test Change-Id: Ie4d4e26f83f632ee93853b62a2c1f41dc2b5c8a8 Reviewed-on: https://bluetooth-review.git.corp.google.com/c/bluetooth/+/1320 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.