From fe878dcefbf90415d3b14d90e473cea69c4b6d65 Mon Sep 17 00:00:00 2001 From: Ali Saeed Date: Fri, 1 Nov 2024 23:56:58 +0000 Subject: [PATCH] pw_bluetooth: Delete AttNotifyOverAcl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove compounded header packet in accordance with discussed design principles for Emboss packets. Change-Id: Ica0c353383ba53084d56c6664b386b21943763bc Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/237259 Lint: Lint 🤖 Reviewed-by: David Rees Presubmit-Verified: CQ Bot Account Reviewed-by: Ben Lawson Commit-Queue: Auto-Submit Docs-Not-Needed: Austin Foxley Pigweed-Auto-Submit: Austin Foxley --- pw_bluetooth/public/pw_bluetooth/att.emb | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pw_bluetooth/public/pw_bluetooth/att.emb b/pw_bluetooth/public/pw_bluetooth/att.emb index a713a93361..587f0d241e 100644 --- a/pw_bluetooth/public/pw_bluetooth/att.emb +++ b/pw_bluetooth/public/pw_bluetooth/att.emb @@ -104,11 +104,3 @@ struct AttHandleValueNtf(attribute_size: UInt:16): [requires: this > 0] $next [+attribute_size] UInt:8[attribute_size] attribute_value - - -struct AttNotifyOverAcl(attribute_size: UInt:16): - -- ATT_HANDLE_VALUE_NTF over L2CAP B-frame over ACL packet. - 0 [+hci.AclDataFrameHeader.$size_in_bytes] hci.AclDataFrameHeader acl_header - $next [+l2cap.BFrameHeader.$size_in_bytes] l2cap.BFrameHeader l2cap_header - let att_size = AttHandleValueNtf.$min_size_in_bytes+attribute_size - $next [+att_size] AttHandleValueNtf(attribute_size) att_handle_value_ntf