|
14 | 14 | # See the License for the specific language governing permissions and
|
15 | 15 | # limitations under the License.
|
16 | 16 |
|
17 |
| -# This file is constructed using the below method. |
18 |
| -# 1. running bluetoothd |
19 |
| -# 2. running two Bluetooth adapter with LE capability and create ble connection with Gatt servie and Gatt Char. |
20 |
| -# For the purposes of XML generation we use btvirt emulator with the LE only capability. |
21 |
| -# Assume the LE chip is on hci 0 |
22 |
| -# we get the bluez XML via: |
23 |
| -# sudo gdbus introspect -s -d org.bluez -r -o /org/bluez -x |
24 |
| -# sudo gdbus introspect -s -d org.bluez -r -o /org/bluez/hci0 -x |
25 |
| -# sudo gdbus introspect -s -d org.bluez -r -o /org/bluez/hci0/dev_00_AA_01_01_00_24 -x |
26 |
| -# sudo gdbus introspect -s -d org.bluez -r -o /org/bluez/hci0/dev_00_AA_01_01_00_24/service0006 -x |
27 |
| -# sudo gdbus introspect -s -d org.bluez -r -o /org/bluez/hci0/dev_00_AA_01_01_00_24/service0006/char0007 -x |
28 |
| -# sudo gdbus introspect -s -d org.bluez -r -o /org/bluez/hci0/dev_00_AA_01_01_00_24/service0006/char0007/desc0009 -x |
29 |
| -# sudo gdbus introspect -s -d org.bluez -r -o / -x |
| 17 | +# This file is constructed based on the BlueZ D-Bus API documentation |
| 18 | +# available at: https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc |
| 19 | +# |
| 20 | +# It does not contain all exported interfaces, but only those that are |
| 21 | +# relevant for the Matter GATT service and advertisement management. Also, |
| 22 | +# some properties and methods not used by Matter are omitted in order to |
| 23 | +# decrease the size of Matter SDK library. |
| 24 | +# |
30 | 25 | -->
|
31 | 26 |
|
32 | 27 | <node>
|
| 28 | + |
33 | 29 | <interface name="org.bluez.Adapter1">
|
34 | 30 | <method name="StartDiscovery" />
|
| 31 | + <method name="StopDiscovery" /> |
35 | 32 | <method name="SetDiscoveryFilter">
|
36 | 33 | <arg name="properties" type="a{sv}" direction="in" />
|
37 | 34 | </method>
|
38 |
| - <method name="StopDiscovery" /> |
39 | 35 | <method name="RemoveDevice">
|
40 | 36 | <arg name="device" type="o" direction="in" />
|
41 | 37 | </method>
|
42 |
| - <method name="GetDiscoveryFilters"> |
43 |
| - <arg name="filters" type="as" direction="out" /> |
44 |
| - </method> |
45 |
| - <method name="ConnectDevice"> |
46 |
| - <arg name="properties" type="a{sv}" direction="in" /> |
47 |
| - </method> |
48 |
| - |
49 | 38 | <property name="Address" type="s" access="read" />
|
50 |
| - <property name="AddressType" type="s" access="read" /> |
51 | 39 | <property name="Name" type="s" access="read" />
|
52 | 40 | <property name="Alias" type="s" access="readwrite" />
|
53 | 41 | <property name="Class" type="u" access="read" />
|
54 | 42 | <property name="Powered" type="b" access="readwrite" />
|
55 | 43 | <property name="Discoverable" type="b" access="readwrite" />
|
56 |
| - <property name="DiscoverableTimeout" type="u" access="readwrite" /> |
57 |
| - <property name="Pairable" type="b" access="readwrite" /> |
58 |
| - <property name="PairableTimeout" type="u" access="readwrite" /> |
59 |
| - <property name="Discovering" type="b" access="read" /> |
60 |
| - <property name="UUIDs" type="as" access="read" /> |
61 |
| - <property name="Modalias" type="s" access="read" /> |
62 |
| - <property name="Roles" type="as" access="read" /> |
63 | 44 | </interface>
|
64 | 45 |
|
65 | 46 | <interface name="org.bluez.Device1">
|
66 | 47 | <method name="Disconnect" />
|
67 | 48 | <method name="Connect" />
|
68 |
| - <method name="ConnectProfile"> |
69 |
| - <arg name="UUID" type="s" direction="in" /> |
70 |
| - </method> |
71 |
| - <method name="DisconnectProfile"> |
72 |
| - <arg name="UUID" type="s" direction="in" /> |
73 |
| - </method> |
74 |
| - <method name="Pair" /> |
75 |
| - <method name="CancelPairing" /> |
76 | 49 | <property name="Address" type="s" access="read" />
|
77 |
| - <property name="AddressType" type="s" access="read" /> |
78 |
| - <property name="Name" type="s" access="read" /> |
79 |
| - <property name="Alias" type="s" access="readwrite" /> |
80 |
| - <property name="Class" type="u" access="read" /> |
81 |
| - <property name="Appearance" type="q" access="read" /> |
82 |
| - <property name="Icon" type="s" access="read" /> |
83 |
| - <property name="Paired" type="b" access="read" /> |
84 |
| - <property name="Trusted" type="b" access="readwrite" /> |
85 |
| - <property name="Blocked" type="b" access="readwrite" /> |
86 |
| - <property name="LegacyPairing" type="b" access="read" /> |
87 |
| - <property name="RSSI" type="n" access="read" /> |
88 | 50 | <property name="Connected" type="b" access="read" />
|
89 |
| - <property name="UUIDs" type="as" access="read" /> |
90 |
| - <property name="Modalias" type="s" access="read" /> |
91 | 51 | <property name="Adapter" type="o" access="read" />
|
92 |
| - <property name="ManufacturerData" type="a{qv}" access="read" /> |
93 | 52 | <property name="ServiceData" type="a{sv}" access="read" />
|
94 |
| - <property name="TxPower" type="n" access="read" /> |
95 | 53 | <property name="ServicesResolved" type="b" access="read" />
|
96 |
| - <property name="AdvertisingFlags" type="ay" access="read" /> |
97 |
| - <property name="AdvertisingData" type="a{yv}" access="read" /> |
98 |
| - <property name="WakeAllowed" type="b" access="readwrite" /> |
99 | 54 | </interface>
|
100 | 55 |
|
101 | 56 | <interface name="org.bluez.GattManager1">
|
|
240 | 195 | <method name="UnregisterAdvertisement">
|
241 | 196 | <arg name="service" type="o" direction="in" />
|
242 | 197 | </method>
|
243 |
| - <property name="ActiveInstances" type="y" access="read" /> |
244 |
| - <property name="SupportedInstances" type="y" access="read" /> |
245 |
| - <property name="SupportedIncludes" type="as" access="read" /> |
246 |
| - <property name="SupportedSecondaryChannels" type="as" access="read" /> |
247 | 198 | </interface>
|
248 | 199 |
|
249 |
| - <interface name="org.freedesktop.DBus.Properties"> |
250 |
| - <method name="Get"> |
251 |
| - <arg name="interface" type="s" direction="in" /> |
252 |
| - <arg name="name" type="s" direction="in" /> |
253 |
| - <arg name="value" type="v" direction="out" /> |
254 |
| - </method> |
255 |
| - <method name="Set"> |
256 |
| - <arg name="interface" type="s" direction="in" /> |
257 |
| - <arg name="name" type="s" direction="in" /> |
258 |
| - <arg name="value" type="v" direction="in" /> |
259 |
| - </method> |
260 |
| - <method name="GetAll"> |
261 |
| - <arg name="interface" type="s" direction="in" /> |
262 |
| - <arg name="properties" type="a{sv}" direction="out" /> |
263 |
| - </method> |
264 |
| - <signal name="PropertiesChanged"> |
265 |
| - <arg name="interface" type="s" /> |
266 |
| - <arg name="changed_properties" type="a{sv}" /> |
267 |
| - <arg name="invalidated_properties" type="as" /> |
268 |
| - </signal> |
269 |
| - </interface> |
270 |
| - |
271 |
| - <interface name="org.bluez.ProfileManager1"> |
272 |
| - <method name="RegisterProfile"> |
273 |
| - <arg name="profile" type="o" direction="in" /> |
274 |
| - <arg name="UUID" type="s" direction="in" /> |
275 |
| - <arg name="options" type="a{sv}" direction="in" /> |
276 |
| - </method> |
277 |
| - <method name="UnregisterProfile"> |
278 |
| - <arg name="profile" type="o" direction="in" /> |
279 |
| - </method> |
280 |
| - </interface> |
281 |
| - |
282 |
| - <interface name="org.freedesktop.DBus.ObjectManager"> |
283 |
| - <method name="GetManagedObjects"> |
284 |
| - <arg name="objects" type="a{oa{sa{sv}}}" direction="out" /> |
285 |
| - </method> |
286 |
| - <signal name="InterfacesAdded"> |
287 |
| - <arg name="object" type="o" /> |
288 |
| - <arg name="interfaces" type="a{sa{sv}}" /> |
289 |
| - </signal> |
290 |
| - <signal name="InterfacesRemoved"> |
291 |
| - <arg name="object" type="o" /> |
292 |
| - <arg name="interfaces" type="as" /> |
293 |
| - </signal> |
294 |
| - </interface> |
295 | 200 | </node>
|
0 commit comments