pw_bluetooth: Add LEReadLocalSupportedFeaturesCommandCompleteEvent
Add LEReadLocalSupportedFeaturesCommandCompleteEvent Emboss packet
definition.
Test: pw presubmit --step gn_emboss_nanopb_build
Change-Id: I08dc6f503cc3918952d609c7fc12182c423ebcb6
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/169931
Reviewed-by: Ali Saeed <saeedali@google.com>
Pigweed-Auto-Submit: Ben Lawson <benlawson@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com>
diff --git a/pw_bluetooth/public/pw_bluetooth/hci_events.emb b/pw_bluetooth/public/pw_bluetooth/hci_events.emb
index 8383bbc..7695ac1 100644
--- a/pw_bluetooth/public/pw_bluetooth/hci_events.emb
+++ b/pw_bluetooth/public/pw_bluetooth/hci_events.emb
@@ -862,3 +862,12 @@
-- Total number of HCI Synchronous Data packets that can be stored in the
-- data buffers of the Controller. A value of 0 indicates that the
-- Controller does not support SCO or eSCO over HCI.
+
+
+struct LEReadLocalSupportedFeaturesCommandCompleteEvent:
+ -- LE Read Local Supported Features Command (v4.0) (LE)
+ let hdr_size = hci.CommandCompleteEvent.$size_in_bytes
+ 0 [+hdr_size] hci.CommandCompleteEvent command_complete
+ $next [+1] hci.StatusCode status
+ $next [+8] bits:
+ 0 [+LEFeatureSet.$size_in_bits] LEFeatureSet le_features