Skip to content

Commit

Permalink
pw_bluetooth: Add create connection cancel return
Browse files Browse the repository at this point in the history
Add emboss definition for the return values from a Create Connection
Cancel operation.

Bug: b/42167863
Test: pw presubmit --step gn_chre_googletest_nanopb_sapphire_build
Change-Id: I6dea8cf929f8fb6cf3d31b8a346dc18b70a00b70
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/230251
Commit-Queue: Josh Conner <[email protected]>
Reviewed-by: Ali Saeed <[email protected]>
Lint: Lint 🤖 <[email protected]>
  • Loading branch information
josh-conner authored and CQ Bot Account committed Aug 16, 2024
1 parent 52fbfaf commit 5e9e392
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pw_bluetooth/public/pw_bluetooth/hci_events.emb
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,14 @@ struct SimpleCommandCompleteEvent:
$next [+1] hci.StatusCode status


struct CreateConnectionCancelCommandCompleteEvent:
-- 7.7.14 Command Complete event (7.1.7 Create Connection Cancel command)
let hdr_size = hci.CommandCompleteEvent.$size_in_bytes
0 [+hdr_size] hci.CommandCompleteEvent command_complete
$next [+1] hci.StatusCode status
$next [+hci.BdAddr.$size_in_bytes] hci.BdAddr bd_addr


struct PinCodeRequestReplyCommandCompleteEvent:
-- 7.7.14 Command Complete event (7.1.12 PIN Code Request Reply command)
let hdr_size = hci.CommandCompleteEvent.$size_in_bytes
Expand Down

0 comments on commit 5e9e392

Please sign in to comment.