aboutsummaryrefslogtreecommitdiff
path: root/pw_bluetooth
diff options
context:
space:
mode:
authorBen <benlawson@google.com>2023-09-08 21:44:43 +0000
committerCQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-09-08 21:44:43 +0000
commit76892a4afbbb45a8d2573bb09379165645f1ae0d (patch)
tree75eddc91232f413ff454e793dd1382ee268145a8 /pw_bluetooth
parent6d6d5173af2198477a919337242fb343db8c89eb (diff)
downloadpigweed-76892a4afbbb45a8d2573bb09379165645f1ae0d.tar.gz
pw_bluetooth: Add LELongTermKeyRequestSubevent Emboss definition
Test: pw presubmit --step gn_emboss_nanopb_build Change-Id: I32d854bd8b77fd49e83d48055fe7b569fdf9f1c5 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/169950 Pigweed-Auto-Submit: Ben Lawson <benlawson@google.com> Reviewed-by: Ali Saeed <saeedali@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'pw_bluetooth')
-rw-r--r--pw_bluetooth/public/pw_bluetooth/hci_events.emb10
1 files changed, 10 insertions, 0 deletions
diff --git a/pw_bluetooth/public/pw_bluetooth/hci_events.emb b/pw_bluetooth/public/pw_bluetooth/hci_events.emb
index 5302c3b28..5031b1e92 100644
--- a/pw_bluetooth/public/pw_bluetooth/hci_events.emb
+++ b/pw_bluetooth/public/pw_bluetooth/hci_events.emb
@@ -786,3 +786,13 @@ struct UserPasskeyNotificationEvent:
$next [+4] UInt passkey
-- Numeric value (passkey) entered by user.
[requires: 0 <= this <= 999999]
+
+
+struct LELongTermKeyRequestSubevent:
+ -- LE Long Term Key Request Event (v4.0) (LE)
+ 0 [+LEMetaEvent.$size_in_bytes] LEMetaEvent le_meta_event
+ $next [+2] UInt connection_handle
+ [requires: 0x0000 <= this <= 0x0EFF]
+
+ $next [+8] UInt random_number
+ $next [+2] UInt encrypted_diversifier