roll: pigweed pw_bluetooth: Fix RFCOMM information length off by one
A misreading of the spec led to confusion on whether credits was counted
as part of information_length. It is _not_, but it is included in the
calculation for max allowed payload.
Fix this and standardize on `information` as the name used in the spec
vs payload.
Also add helper flag for checking whether a frame is UIH or not
Add standalone unit tests for RFCOMM.
Original-Bug: 378692444
Original-Bug: 378691959
Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/249092
Original-Revision: 40d4c1261275065d30e77ea68fbea69061b70e78
Rolled-Repo: https://pigweed.googlesource.com/pigweed/pigweed
Rolled-Commits: 5b5c7815e957d3..40d4c126127506
Roll-Count: 1
Roller-URL: https://cr-buildbucket.appspot.com/build/8731228389510736929
GitWatcher: ignore
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: I72ef761bd9429f75569b2e04f02c04cb4129a1eb
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/showcase/sense/+/249272
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
diff --git a/MODULE.bazel b/MODULE.bazel
index 6b9b759..1063b74 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -49,8 +49,8 @@
module_name = "pigweed",
# ROLL: Warning: this entry is automatically updated.
# ROLL: Last updated 2024-11-15.
- # ROLL: By https://cr-buildbucket.appspot.com/build/8731239253990191969.
- commit = "5b5c7815e957d3885ef62d5165604c60e26c2e64",
+ # ROLL: By https://cr-buildbucket.appspot.com/build/8731228389510736929.
+ commit = "40d4c1261275065d30e77ea68fbea69061b70e78",
remote = "https://pigweed.googlesource.com/pigweed/pigweed",
)
@@ -58,8 +58,8 @@
module_name = "pw_toolchain",
# ROLL: Warning: this entry is automatically updated.
# ROLL: Last updated 2024-11-15.
- # ROLL: By https://cr-buildbucket.appspot.com/build/8731239253990191969.
- commit = "5b5c7815e957d3885ef62d5165604c60e26c2e64",
+ # ROLL: By https://cr-buildbucket.appspot.com/build/8731228389510736929.
+ commit = "40d4c1261275065d30e77ea68fbea69061b70e78",
remote = "https://pigweed.googlesource.com/pigweed/pigweed",
strip_prefix = "pw_toolchain_bazel",
)