diff options
author | Ben <benlawson@google.com> | 2023-09-07 22:10:37 +0000 |
---|---|---|
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-09-07 22:10:37 +0000 |
commit | d29d05a81164d71b219603feb0b0af0b18e7ac6e (patch) | |
tree | 6225085b91d2afc07434f7b798ead9696e120bdf /pw_bluetooth | |
parent | 5c83b40c060baa1aeb8a529f0db4a3e623cbab98 (diff) | |
download | pigweed-d29d05a81164d71b219603feb0b0af0b18e7ac6e.tar.gz |
pw_bluetooth: Add UserPasskeyRequestEvent Emboss definition
Test: pw presubmit --step gn_emboss_nanopb_build
Change-Id: Iac5c4e994f73a1a09106f7880f483ac1a63be6a4
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/169912
Reviewed-by: Ali Saeed <saeedali@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com>
Pigweed-Auto-Submit: Ben Lawson <benlawson@google.com>
Diffstat (limited to 'pw_bluetooth')
-rw-r--r-- | pw_bluetooth/public/pw_bluetooth/hci_events.emb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pw_bluetooth/public/pw_bluetooth/hci_events.emb b/pw_bluetooth/public/pw_bluetooth/hci_events.emb index b4a9e3fe5..ba4f49723 100644 --- a/pw_bluetooth/public/pw_bluetooth/hci_events.emb +++ b/pw_bluetooth/public/pw_bluetooth/hci_events.emb @@ -757,3 +757,11 @@ struct UserConfirmationRequestEvent: $next [+4] UInt numeric_value -- Numeric value to be displayed. [requires: 0 <= this <= 999999] + + +struct UserPasskeyRequestEvent: + -- User Passkey Request Event (v2.1 + EDR) (BR/EDR) + let hdr_size = hci.EventHeader.$size_in_bytes + 0 [+hdr_size] hci.EventHeader header + $next [+hci.BdAddr.$size_in_bytes] hci.BdAddr bd_addr + -- Address of the device involved in simple pairing process |