commit | bb2347b9d1aa706c188857bed81a02aa97445f6a | [log] [tgz] |
---|---|---|
author | David Rees <drees@google.com> | Wed May 21 11:13:04 2025 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 21 11:13:04 2025 -0700 |
tree | cec7a75d253f49e62318985d9752c6b87a8121a2 | |
parent | db5c5ff1368b11ccc75f5b90ada85e296f119aa7 [diff] |
pw_bluetooth_proxy: Introduce ChannelProxy and related classes First step towards separating out ChannelProxy from L2capChannel. No new functionality or functional changes in this CL. L2capChannel is given a holder variable that points to the client channel that is holding it (if any). Until the transition is completed it's actually pointing to the same object. ChannelProxy inherits from L2capChannel::Holder which has a variable that points to its underlying channel (if any). Until the transition is completed it's also actually pointing to the same object. Note all channels inherit from SingleChannelProxy for now which means they have a single underlying L2capChannel. Eventually Rfcomm will want to move from that to support multiplexing (b/418018114) See bug for link to design diagram. Bug: 388082771 Test: CQ, msan Change-Id: Iad3173258f0c9643677d7f469d1c04be995255f1 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/292457 Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> Reviewed-by: Ben Lawson <benlawson@google.com> Docs-Not-Needed: David Rees <drees@google.com> Commit-Queue: David Rees <drees@google.com> Tests-Not-Needed: David Rees <drees@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/.