rust/bt-bap-unicast: Implement discovery logic in client

- Implement discover method in BapUnicastClient to read PACS and ASCS.
- Use AudioStreamControlServiceClient::create for ASCS discovery.
- Read PAC records from PACS service.
- Update unit tests in manager.rs to set up fake PACS and ASCS services with characteristics.

Test: unit tests passed
Bug: 433288675
Change-Id: I6be5a966bbb34378499ee5e3165bf2fd6a6a6964
Reviewed-on: https://bluetooth-review.googlesource.com/c/bluetooth/+/3063
6 files changed
tree: 3852eb186820a4e64648bbc01ed703e98e3ac808
  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)