diff options
author | Ben <benlawson@google.com> | 2023-09-07 23:33:39 +0000 |
---|---|---|
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-09-07 23:33:39 +0000 |
commit | b95ea6094ead876f3b5843380186d2c1afdbfe14 (patch) | |
tree | 7d47d33b261f72c8d6fc6bbb4103b430dde49013 /pw_bluetooth | |
parent | 8ec2b2d9452a5d7f9eb195e28405b0582b3da53e (diff) | |
download | pigweed-b95ea6094ead876f3b5843380186d2c1afdbfe14.tar.gz |
pw_bluetooth: Add SimplePairingCompleteEvent Emboss definition
Test: pw presubmit --step gn_emboss_nanopb_build
Change-Id: I7265b9f2cc6760fe2b542848200a568cf6f025cf
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/169916
Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com>
Reviewed-by: Ali Saeed <saeedali@google.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 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pw_bluetooth/public/pw_bluetooth/hci_events.emb b/pw_bluetooth/public/pw_bluetooth/hci_events.emb index ba4f49723..acc200e4c 100644 --- a/pw_bluetooth/public/pw_bluetooth/hci_events.emb +++ b/pw_bluetooth/public/pw_bluetooth/hci_events.emb @@ -765,3 +765,12 @@ struct UserPasskeyRequestEvent: 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 + + +struct SimplePairingCompleteEvent: + -- Simple Pairing Complete Event (v2.1 + EDR) (BR/EDR) + let hdr_size = hci.EventHeader.$size_in_bytes + 0 [+hdr_size] hci.EventHeader header + $next [+1] hci.StatusCode status + $next [+hci.BdAddr.$size_in_bytes] hci.BdAddr bd_addr + -- Address of the device involved in simple pairing process |