rust/bt-{broadcast-assistant,bass}: Fix bugs from UPF

- Eagerly process scan results for Broadcast Sources in Broadcast
  Assistant EventStream so that all available advertisements are processed
- Eagerly process characteristic notifications from BASS server and
  improve robustness of BASS EventStream
- Fix passcode encoding to match spec
- Improve debug/test experience by printing Peer ID and Broadcast ID in
  hex
- Remove unnecessary Option around BIG-BIS sync map

Test: cargo test
Fixes: b/443062360, b/443063033, b/443062386
Change-Id: I80b284eb90b034fefb6d5cdb160a2086b46be532
Reviewed-on: https://bluetooth-review.googlesource.com/c/bluetooth/+/2800
9 files changed
tree: f501042c3389428ae7ed6cf059adf8b2734f6ddd
  1. .agents/
  2. docs/
  3. infra/
  4. rust/
  5. .gitignore
  6. AUTHORS
  7. CONTRIBUTING.md
  8. GEMINI.md
  9. LICENSE
  10. OWNERS
  11. PATENTS
  12. presubmit.sh
  13. README.md
README.md

Bluetooth Shared Libraries

What is this?

This is a repository for shared libraries and tools that can be useful for multiple Bluetooth stacks.

These tools and libraries are meant to be:

  • Stack-agnostic and platform-agnostic
  • Implement a useful subset of a published Bluetooth specification.

It has been started as a repository for developing Rust crates but can be easily expanded to include libraries and tools written in other languages.

What is this not?

It is not a full Bluetooth stack. Google has two officially open-source Bluetooth stacks:

Structure

  • rust - Rust Crates
  • docs - General documentation (documentation for each library/tool is included in their directories)