commit | 1fbd499967d0f6eb1766e554e34b691f22ae957c | [log] [tgz] |
---|---|---|
author | Ben <benlawson@google.com> | Mon Mar 17 11:29:58 2025 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Mar 17 11:29:58 2025 -0700 |
tree | 7c97f765c1d2d7e2e5a5abeff41a892bd6cc3f2e | |
parent | 0e3733b80f795cbb095402c8b0cd61e0b4457503 [diff] |
pw_bluetooth_sapphire: Handle invalid RSSI in inquiry event Fix Emboss assert failure in rssi().Read() when the rssi is an invalid value by doing an unchecked read and then verifying the RSSI ourselves before caching it. This should never happen in practice unless there is a controller bug. Bug: b/389995831 Change-Id: I1b46a5d7d75d4aac827b7ab273e2a0838d8fab8c Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/274072 Reviewed-by: Faraaz Sareshwala <fsareshwala@google.com> Pigweed-Auto-Submit: Ben Lawson <benlawson@google.com> Docs-Not-Needed: Ben Lawson <benlawson@google.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.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/.