Skip to content

Commit

Permalink
pw_bluetooth: Add size requirement for packet filter Emboss definitions
Browse files Browse the repository at this point in the history
Change-Id: I17256ea68f62a2e98ab9f9238deb0a335fa1830a
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/260215
Pigweed-Auto-Submit: Faraaz Sareshwala <[email protected]>
Reviewed-by: Ben Lawson <[email protected]>
Commit-Queue: Auto-Submit <[email protected]>
Docs-Not-Needed: Faraaz Sareshwala <[email protected]>
Lint: Lint 🤖 <[email protected]>
  • Loading branch information
fsareshwala authored and CQ Bot Account committed Jan 14, 2025
1 parent 7dff1fb commit bc21d0a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pw_bluetooth/public/pw_bluetooth/hci_android.emb
Original file line number Diff line number Diff line change
Expand Up @@ -878,6 +878,8 @@ struct LEApcfSolicitationUUIDCommand(uuid_size: UInt:8):


struct LEApcfLocalNameCommand(size: UInt:8):
[requires: 0 <= size <= 29]

let vendor_size = AndroidCommandHeader.$size_in_bytes

0 [+vendor_size] AndroidCommandHeader vendor_command
Expand Down Expand Up @@ -905,6 +907,8 @@ struct LEApcfLocalNameCommand(size: UInt:8):


struct LEApcfManufacturerDataCommand(size: UInt:8):
[requires: 0 <= size <= 29]

let vendor_size = AndroidCommandHeader.$size_in_bytes

0 [+vendor_size] AndroidCommandHeader vendor_command
Expand Down Expand Up @@ -942,6 +946,8 @@ struct LEApcfManufacturerDataCommand(size: UInt:8):


struct LEApcfServiceDataCommand(size: UInt:8):
[requires: 0 <= size <= 29]

let vendor_size = AndroidCommandHeader.$size_in_bytes

0 [+vendor_size] AndroidCommandHeader vendor_command
Expand Down

0 comments on commit bc21d0a

Please sign in to comment.