summaryrefslogtreecommitdiff
path: root/introspection/nm-device-bt.xml
blob: cc4a9b544a8cd64da135cf6372099a5c5c5fc801 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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>