[roll] Roll fuchsia [bt][sdk][gatt] Create fuchsia.bluetooth.gatt2/Client API

Create fuchsia.bluetooth.gatt2 library that will replace the
fuchsia.bluetooth.gatt library eventually.

Combine short & long versions of read and write methods. Complete values
will always be read (unless otherwise indicated by ReadOptions), and
writes will use the long write procedure to write values (unless
WriteOptions.with_response is false).

Wrap uint64 identifiers in a Handle struct.

Replace Client.ListServices with Client.WatchServices. WatchServices
uses the hanging-get pattern to notify clients of added, modified, and
removed services.

Replace RemoteService.{NotifyCharacteristic,
OnCharacteristicValueUpdated} with
RegisterCharacteristicNotifier, which uses the CharacteristicNotifier
protocol to notify clients of notifications & indications.

Replace property constants with CharacteristicPropertyBits type, which
fixes linter errors about constant naming.

Original-Bug: 36374, 35879
Test: compile FIDL
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/522457
Original-Revision: 33511f121f398f37fadf73cc2fdd69c8d5950a9e
GitOrigin-RevId: c0424128b45258da5f2b53e052c19fc5161b7b78
Change-Id: Icd1af971137afc85f5228c21bb58f5975560904f
1 file changed
tree: a5c6d71e6cdebbd4eb6a5f915ccbd01393921e53
  1. garnet/
  2. infra/
  3. peridot/
  4. third_party/
  5. topaz/
  6. zircon/
  7. firmware
  8. flower
  9. jiri.lock
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.