rust/*: Fix warnings and errors

There were a couple of warnings about unused variables in `bt-battery`
and errors in `bt-common`.

Test: cargo build, cargo test
Change-Id: I768d6418945bd0019197865772fe80e0d2aa95cf
Reviewed-on: https://bluetooth-review.googlesource.com/c/bluetooth/+/2360
Reviewed-by: Marie Janssen <jamuraa@google.com>
Reviewed-by: Dayeong Lee <dayeonglee@google.com>
2 files changed
tree: 0d6fd61d4a63b7873f86c00e4623cf31dce0a25b
  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)