From 275296984aedfd39fb7191646dfc2b1241d9c8e3 Mon Sep 17 00:00:00 2001 From: Arkadiusz Bokowy Date: Wed, 19 Jun 2024 13:53:52 +0200 Subject: [PATCH] [Linux] Trim down auto-generated BlueZ D-Bus API stub (#33920) --- src/platform/Linux/dbus/bluez/DbusBluez.xml | 115 ++------------------ 1 file changed, 10 insertions(+), 105 deletions(-) diff --git a/src/platform/Linux/dbus/bluez/DbusBluez.xml b/src/platform/Linux/dbus/bluez/DbusBluez.xml index febeb757fa2110..1e193ceafb8586 100644 --- a/src/platform/Linux/dbus/bluez/DbusBluez.xml +++ b/src/platform/Linux/dbus/bluez/DbusBluez.xml @@ -14,88 +14,43 @@ # See the License for the specific language governing permissions and # limitations under the License. -# This file is constructed using the below method. -# 1. running bluetoothd -# 2. running two Bluetooth adapter with LE capability and create ble connection with Gatt servie and Gatt Char. -# For the purposes of XML generation we use btvirt emulator with the LE only capability. -# Assume the LE chip is on hci 0 -# we get the bluez XML via: -# sudo gdbus introspect -s -d org.bluez -r -o /org/bluez -x -# sudo gdbus introspect -s -d org.bluez -r -o /org/bluez/hci0 -x -# sudo gdbus introspect -s -d org.bluez -r -o /org/bluez/hci0/dev_00_AA_01_01_00_24 -x -# sudo gdbus introspect -s -d org.bluez -r -o /org/bluez/hci0/dev_00_AA_01_01_00_24/service0006 -x -# sudo gdbus introspect -s -d org.bluez -r -o /org/bluez/hci0/dev_00_AA_01_01_00_24/service0006/char0007 -x -# sudo gdbus introspect -s -d org.bluez -r -o /org/bluez/hci0/dev_00_AA_01_01_00_24/service0006/char0007/desc0009 -x -# sudo gdbus introspect -s -d org.bluez -r -o / -x +# This file is constructed based on the BlueZ D-Bus API documentation +# available at: https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc +# +# It does not contain all exported interfaces, but only those that are +# relevant for the Matter GATT service and advertisement management. Also, +# some properties and methods not used by Matter are omitted in order to +# decrease the size of Matter SDK library. +# --> + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -240,56 +195,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -