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/8731228243700534209
GitWatcher: ignore
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: Idf410896bd3f2b3ba9eadbcb822d30240a9c820e
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/quickstart/bazel/+/248651
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
diff --git a/MODULE.bazel b/MODULE.bazel
index 6e4f56f..e878f7d 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -48,8 +48,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/8731239275981724897.
- commit = "5b5c7815e957d3885ef62d5165604c60e26c2e64",
+ # ROLL: By https://cr-buildbucket.appspot.com/build/8731228243700534209.
+ commit = "40d4c1261275065d30e77ea68fbea69061b70e78",
remote = "https://pigweed.googlesource.com/pigweed/pigweed",
)
@@ -57,8 +57,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/8731239275981724897.
- commit = "5b5c7815e957d3885ef62d5165604c60e26c2e64",
+ # ROLL: By https://cr-buildbucket.appspot.com/build/8731228243700534209.
+ commit = "40d4c1261275065d30e77ea68fbea69061b70e78",
remote = "https://pigweed.googlesource.com/pigweed/pigweed",
strip_prefix = "pw_toolchain_bazel",
)