From 5e9e39285969463893c92043ff509958ec5eec40 Mon Sep 17 00:00:00 2001 From: Josh Conner Date: Fri, 16 Aug 2024 16:11:12 +0000 Subject: [PATCH] pw_bluetooth: Add create connection cancel return MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Ali Saeed Lint: Lint 🤖 --- pw_bluetooth/public/pw_bluetooth/hci_events.emb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pw_bluetooth/public/pw_bluetooth/hci_events.emb b/pw_bluetooth/public/pw_bluetooth/hci_events.emb index 8188241c56..938137bb64 100644 --- a/pw_bluetooth/public/pw_bluetooth/hci_events.emb +++ b/pw_bluetooth/public/pw_bluetooth/hci_events.emb @@ -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