Skip to content

Commit

Permalink
pw_bluetooth: Add LEReadNumOfSupportedAdvertisingSets event
Browse files Browse the repository at this point in the history
Add LE Read Number of Supported Advertising Sets command complete
event Emboss definition.

Change-Id: I1ce44f5652219ef115a926ec29e367bb924810fe
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/234714
Lint: Lint 🤖 <[email protected]>
Pigweed-Auto-Submit: Ben Lawson <[email protected]>
Reviewed-by: Faraaz Sareshwala <[email protected]>
Commit-Queue: Auto-Submit <[email protected]>
Presubmit-Verified: CQ Bot Account <[email protected]>
  • Loading branch information
BenjaminLawson authored and CQ Bot Account committed Sep 9, 2024
1 parent 93de076 commit ae663f3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pw_bluetooth/public/pw_bluetooth/hci_events.emb
Original file line number Diff line number Diff line change
Expand Up @@ -2181,3 +2181,13 @@ struct LERequestPeerSCACompleteSubevent:
# 7.7.76 SAM Status Change event
# HCI_SAM_Status_Change
# TODO: b/265052417 - Definition needs to be added


struct LEReadNumberOfSupportedAdvertisingSetsCommandCompleteEvent:
-- 7.7.14 Command Complete event (7.8.58 LE Read Number of Supported Advertising Sets command)
let hdr_size = hci.CommandCompleteEvent.$size_in_bytes
0 [+hdr_size] hci.CommandCompleteEvent command_complete
let header = command_complete.header
$next [+1] hci.StatusCode status
$next [+1] UInt num_supported_advertising_sets
[requires: 1 <= this <= 0xF0]

0 comments on commit ae663f3

Please sign in to comment.