<?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>
