summaryrefslogtreecommitdiff
path: root/introspection/org.freedesktop.NetworkManager.Device.WifiP2P.xml
blob: 73b8cc0c21be047bb44eb719ab244f2cec366086 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?xml version="1.0" encoding="UTF-8"?>
<node name="/">
  <!--
      org.freedesktop.NetworkManager.Device.WifiP2P:
      @short_description: Wi-Fi P2P Device.
      @since: 1.16
  -->
  <interface name="org.freedesktop.NetworkManager.Device.WifiP2P">
    <annotation name="org.gtk.GDBus.C.Name" value="Device_Wifi_P2P"/>

    <!--
        HwAddress:

        The active hardware address of the device.

        DEPRECATED. Use the "HwAddress" property in "org.freedesktop.NetworkManager.Device" instead which exists since version NetworkManager 1.24.0.
    -->
    <property name="HwAddress" type="s" access="read"/>

    <!--
        Peers:

        List of object paths of peers visible to this Wi-Fi P2P device.
    -->
    <property name="Peers" type="ao" access="read"/>

    <!--
        StartFind:
        @options: Options of find.

        Start a find operation for Wi-Fi P2P peers.

        The %options argument accepts the following keys:

        <variablelist>
        <varlistentry>
          <term><literal>i timeout</literal>:</term>
          <listitem><para>Timeout value in the range of 1-600 seconds.</para>
          <para>The default is 30 seconds.</para></listitem>
        </varlistentry>
        </variablelist>
    -->
    <method name="StartFind">
      <arg name="options" type="a{sv}" direction="in"/>
    </method>

    <!--
        StopFind:

        Stop an ongoing find operation again.
    -->
    <method name="StopFind">
    </method>

    <!--
        PeerAdded:
        @peer: The object path of the newly found access point.

        Emitted when a new Wi-Fi P2P peer is found by the device.
    -->
    <signal name="PeerAdded">
      <arg name="peer" type="o"/>
    </signal>

    <!--
        PeerRemoved:
        @peer: The object path of the Wi-Fi P2P peer that has disappeared.

        Emitted when a Wi-Fi P2P peer disappears from view of the device.
    -->
    <signal name="PeerRemoved">
      <arg name="peer" type="o"/>
    </signal>

  </interface>
</node>