rust/bt-gatt: Add module for PII-sensitive ops

Adds a trait for obtaining the bluetooth address of a peerid into
a new module for operations that involve privacy-sensitive
information.

Also makes that trait an argument for the broadcast assistant's
`add_broadcast_source` method, so that the address can be filled in.

Fixed: 416319216
Change-Id: I81da037194a04536be2dc7dfdb98ce0bee100fbb
Reviewed-on: https://bluetooth-review.googlesource.com/c/bluetooth/+/2440
Reviewed-by: Marie Janssen <jamuraa@google.com>
4 files changed
tree: 9f1ea550545aeea1081254594143510a1c52f6ea
  1. docs/
  2. rust/
  3. .gitignore
  4. AUTHORS
  5. CONTRIBUTING.md
  6. LICENSE
  7. OWNERS
  8. PATENTS
  9. 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)