summary refs log tree commit diff
path: root/introspection/nm-device-bt.xml
diff options
context:
space:
mode:
Diffstat (limited to 'introspection/nm-device-bt.xml')
-rw-r--r--introspection/nm-device-bt.xml48
1 files changed, 48 insertions, 0 deletions
diff --git a/introspection/nm-device-bt.xml b/introspection/nm-device-bt.xml
new file mode 100644
index 00000000..cc4a9b54
--- /dev/null
+++ b/introspection/nm-device-bt.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
+  <interface name="org.freedesktop.NetworkManager.Device.Bluetooth">
+
+    <property name="HwAddress" type="s" access="read">
+      <tp:docstring>
+        Bluetooth hardware address of the device.
+      </tp:docstring>
+    </property>
+
+    <property name="Name" type="s" access="read">
+      <tp:docstring>
+        Bluetooth name of the device.
+      </tp:docstring>
+    </property>
+
+    <property name="BtCapabilities" type="u" access="read" tp:type="NM_BT_CAPABILITIES">
+      <tp:docstring>
+        Bluetooth capabilities of the device (either DUN or NAP).
+      </tp:docstring>
+    </property>
+
+    <signal name="PropertiesChanged">
+        <arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
+            <tp:docstring>
+                A dictionary mapping property names to variant boxed values
+            </tp:docstring>
+        </arg>
+    </signal>
+
+    <tp:flags name="NM_BT_CAPABILITIES" value-prefix="NM_BT_CAPABILITY" type="u">
+      <tp:docstring>
+        Flags describing the capabilities of a Bluetooth device.
+      </tp:docstring>
+      <tp:flag suffix="NONE" value="0x0">
+        <tp:docstring>The device has no recognized capabilities.</tp:docstring>
+      </tp:flag>
+      <tp:flag suffix="DUN" value="0x1">
+        <tp:docstring>The device supports Bluetooth Dial-Up Networking.</tp:docstring>
+      </tp:flag>
+      <tp:flag suffix="PAN" value="0x2">
+        <tp:docstring>The device supports Bluetooth Personal Area Networking.</tp:docstring>
+      </tp:flag>
+    </tp:flags>
+
+  </interface>
+</node>