| commit | 09ed59f8b309f9b989b843e421e8738e2f829a1f | [log] [tgz] |
|---|---|---|
| author | Nick Pollard <nickpollard@google.com> | Mon Aug 12 20:06:18 2019 +0000 |
| committer | Rob Mohr <mohrr@google.com> | Thu Nov 16 10:57:50 2023 -0800 |
| tree | 3eb02409395e1a68e75f636971c6bf83d3ad0cfc | |
| parent | 85c0efa670efad3b1899553f2df76714de93a846 [diff] |
[bt][gatt] Use ATT Handles for Characteristic and Descriptor IDs Characteristic IDs returned to GATT Clients are now the underlying Characteristic Value Handle, rather than the previous incremental IDs. Descriptor IDs returned through GATT Client are the Descriptor Handle. Amongst other things, this change allows PTS testing to proceed for tests which require reading or writing a specific characteristic by handle. Testability: This functionality is tested by tests in client_unittest and remote_service_manager_unittest. These tests have been updated to check the new behavior. To test, use: $ fx run-test bluetooth-tests -t bt-host-unittests Change GetCharacteristic, GetDescriptor, and CharacteristicToFidl to use ID as handle BT-451 #done Change-Id: Ia945ba21312aad263d2431ade7200995aeeb40a1
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.