commit | 3257e91103739cb6d5e0ac2ae22e284063bac6af | [log] [tgz] |
---|---|---|
author | Ben Lawson <benlawson@google.com> | Fri May 27 18:56:36 2022 +0000 |
committer | Rob Mohr <mohrr@google.com> | Thu Nov 16 10:59:13 2023 -0800 |
tree | 1129d7332ffc526669a34b7fcd11b47d164e6ece | |
parent | f0d4020cf70510443c5130dd2240c9e2e9385e13 [diff] |
[bt][gap] Use SequentialCommandRunner in BrEdrInterrogator Use SequentialCommandRunner to send commands in BrEdrInterrogator. Refactor BrEdrInterrogator to support a single peer per interrogator, rather than many peers per interrogator. Move BrEdrInterrogator from BrEdrConnectionManager to BrEdrConnection. Delete the Interrogator class now that no classes inherit from it. Remove checks for peer validity in command callbacks as peers cannot be evicted from PeerCache during eviction unless there is a bug (which WeakPtr checks would catch). Bug: 100658 Test: fx test bt-host-gap-tests Change-Id: I348fbead4aed21eaeff5ded3f587bb77a9514281 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/682026 Reviewed-by: Ali Saeed <saeedali@google.com> Commit-Queue: Ben Lawson <benlawson@google.com> Reviewed-by: Faraaz Sareshwala <fsareshwala@google.com>
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/.