diff options
author | Josh Conner <joshconner@google.com> | 2023-11-30 14:33:35 +0000 |
---|---|---|
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-11-30 14:33:35 +0000 |
commit | c943a7e9789d83f0989d5988c07cda918f75f40d (patch) | |
tree | 349907268ddb87359602201879aa8be5399196f7 /pw_bluetooth | |
parent | b4e82abda1f7785907e08c84bad1a6e90e8a50f8 (diff) | |
download | pigweed-c943a7e9789d83f0989d5988c07cda918f75f40d.tar.gz |
pw_bluetooth: Add LE Set Host Feature command
Add the emboss definition for the LE Set Host Feature command.
Bug: b/311639040
Test: No pigweed regressions. Fuchsia builds successfully.
Change-Id: I68914070d132ecd31611ebcd655418759d9cfad4
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/181770
Reviewed-by: Ali Saeed <saeedali@google.com>
Reviewed-by: Faraaz Sareshwala <fsareshwala@google.com>
Commit-Queue: Josh Conner <joshconner@google.com>
Diffstat (limited to 'pw_bluetooth')
-rw-r--r-- | pw_bluetooth/public/pw_bluetooth/hci_commands.emb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pw_bluetooth/public/pw_bluetooth/hci_commands.emb b/pw_bluetooth/public/pw_bluetooth/hci_commands.emb index 16162fc45..6ff9cf1a9 100644 --- a/pw_bluetooth/public/pw_bluetooth/hci_commands.emb +++ b/pw_bluetooth/public/pw_bluetooth/hci_commands.emb @@ -2919,3 +2919,15 @@ struct LERemoveISODataPathCommand: # 7.8.112 LE ISO Receive Test command # 7.8.113 LE ISO Read Test Counters command # 7.8.114 LE ISO Test End command + +struct LESetHostFeatureCommand: + -- 7.8.115 LE Set Host Feature command + -- HCI_LE_Set_Host_Feature + let hdr_size = hci.CommandHeader.$size_in_bytes + 0 [+hdr_size] hci.CommandHeader header + $next [+1] UInt bit_number + -- Bit position in the Feature Set + [requires: 0x00 <= this <= 0x3F] + + $next [+1] hci.GenericEnableParam bit_value + -- Indicates if Host feature is enabled or disabled |