rust/bt-gatt: Add server interface

Add API to define services and then:
 - publish them
 - receive connections from peers
 - answer read requests
 - receive write requests
 - send notifications

Test: added fakes and unit tests
Test: cargo test
Change-Id: I4b4dcd22750e8dc83ffae357a22cde838df5ba04
Reviewed-on: https://bluetooth-review.git.corp.google.com/c/bluetooth/+/1602
Reviewed-by: Dayeong Lee <dayeonglee@google.com>
Reviewed-by: Ani Ramakrishnan <aniramakri@google.com>
6 files changed
tree: 089f68fd3389380cfecc04d4a94e65621c89d963
  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 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.

Structure

  • rust - Rust Crates