| commit | 041f16465d2cf88ad4fa14b64cdd7430123e7fac | [log] [tgz] |
|---|---|---|
| author | Ben Lawson <benlawson@google.com> | Sat Apr 17 00:04:12 2021 +0000 |
| committer | Rob Mohr <mohrr@google.com> | Thu Nov 16 10:58:43 2023 -0800 |
| tree | be1a5805130027afc1205b6d114376b7bcc7a958 | |
| parent | f2fe4596016bd93f225e12c8cbdd0bff1d039b0f [diff] |
[bt][host] Support HCI Role Change event Set initial BR/EDR connection role to leader if initiated in the outbound direction. In the inbound direction, set role to leader if the role change succeeded, or follower if the role change failed. Unmask HCI_Role_Change event. Handle HCI_Role_Change event by updating connection role to new value. Fixed: 881, 74510 Test: fx test bt-host-gap-tests GAP_BrEdrConnectionManagerTest.RoleChangeWithFailureStatusAfterInboundConnection GAP_BrEdrConnectionManagerTest.RoleChangeAfterInboundConnection GAP_BrEdrConnectionManagerTest.ConnectSinglePeer Change-Id: Ia3f0234b5a04f3e77495af33e1946fc38547db1b Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/510235 Commit-Queue: Ben Lawson <benlawson@google.com> Reviewed-by: Marie Janssen đź’– <jamuraa@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/.