commit | 61111f8a0a8a58424e56019bd9fa5d1818a5c632 | [log] [tgz] |
---|---|---|
author | Jason Graffius <jgraff@google.com> | Wed Jul 17 14:36:16 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jul 17 14:36:16 2024 +0000 |
tree | 73ca45e4b2742f816fa051b36a5f6e7109316084 | |
parent | fed1a4ac940f060fbafd8270b0eecdec99a34866 [diff] |
pw_bluetooth_sapphire: Create and use PairingStateManager class This change is part of the project to support BR/EDR Legacy Pairing. In order to support BR/EDR Legacy Pairing, each BrEdrConnection must manage either a LegacyPairingState or SecurePairingState class since the two pairing processes differ. The PairingStateManager class's purpose is to abstract this management logic out of BrEdrConnection and BrEdrConnectionManager. This CL does not introduce any new functionality. It only refactors PairingState, BrEdrConnection, and BrEdrConnectionManager to use the PairingStateManager. Bug: b/342150626, b/42173830 Test: fx test //src/connectivity/bluetooth Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1057565 GitOrigin-RevId: 96b31369d47be93a4036aeefa35e8455844998e3 Change-Id: I42da15f0eb6e59901a310b4219578c33f750fee3 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/221252 Commit-Queue: Jason Graffius <jgraff@google.com> Reviewed-by: Faraaz Sareshwala <fsareshwala@google.com> Pigweed-Auto-Submit: Faraaz Sareshwala <fsareshwala@google.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.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/.