introspection/docs: add missing "Since" comments to Wi-Fi P2P D-Bus API

This commit is contained in:
Thomas Haller 2019-01-28 00:05:32 +01:00
parent e491cdcf57
commit c5c509634a
2 changed files with 36 additions and 0 deletions

View file

@ -4,6 +4,7 @@
org.freedesktop.NetworkManager.Device.P2PWireless:
@short_description: P2P Wi-Fi Device
Since: 1.16
-->
<interface name="org.freedesktop.NetworkManager.Device.P2PWireless">
<annotation name="org.gtk.GDBus.C.Name" value="Device_P2P_Wifi"/>
@ -12,6 +13,8 @@
HwAddress:
The active hardware address of the device.
Since: 1.16
-->
<property name="HwAddress" type="s" access="read"/>
@ -19,6 +22,8 @@
GroupOwner:
Whether this device is currently the group owner.
Since: 1.16
-->
<property name="GroupOwner" type="b" access="read"/>
@ -26,6 +31,8 @@
WFDIEs:
The Wi-Fi Display information elements.
Since: 1.16
-->
<property name="WFDIEs" type="ay" access="read">
<!-- gdbus-codegen assumes that "ay" means "non-UTF-8 string" and
@ -38,6 +45,8 @@
Peers:
List of object paths of peers visible to this p2p wireless device.
Since: 1.16
-->
<property name="Peers" type="ao" access="read"/>
@ -48,6 +57,8 @@
30 seconds.
Start a find operation for P2P peers.
Since: 1.16
-->
<method name="StartFind">
<arg name="options" type="a{sv}" direction="in"/>
@ -57,6 +68,8 @@
StopFind:
Stop an ongoing find operation again.
Since: 1.16
-->
<method name="StopFind">
</method>
@ -66,6 +79,8 @@
@peer: The object path of the newly found access point.
Emitted when a new P2P peer is found by the device.
Since: 1.16
-->
<signal name="PeerAdded">
<arg name="peer" type="o"/>
@ -76,6 +91,8 @@
@peer: The object path of the P2P peer that has disappeared.
Emitted when a P2P peer disappears from view of the device.
Since: 1.16
-->
<signal name="PeerRemoved">
<arg name="peer" type="o"/>

View file

@ -4,6 +4,7 @@
org.freedesktop.NetworkManager.P2PPeer:
@short_description: P2P Wi-Fi Peer
Since: 1.16
-->
<interface name="org.freedesktop.NetworkManager.P2PPeer">
<annotation name="org.gtk.GDBus.C.Name" value="P2P_Peer"/>
@ -14,6 +15,8 @@
Flags describing the capabilities of the access point.
Returns: <link linkend="NM80211ApFlags">NM80211ApFlags</link>
Since: 1.16
-->
<property name="Flags" type="u" access="read"/>
@ -21,6 +24,8 @@
Manufacturer:
The manufacturer of the P2P peer.
Since: 1.16
-->
<property name="Manufacturer" type="s" access="read"/>
@ -28,6 +33,8 @@
Model:
The model of the P2P peer.
Since: 1.16
-->
<property name="Model" type="s" access="read"/>
@ -35,6 +42,8 @@
ModelNumber:
The model number of the P2P peer.
Since: 1.16
-->
<property name="ModelNumber" type="s" access="read"/>
@ -42,6 +51,8 @@
Serial:
The serial number of the P2P peer.
Since: 1.16
-->
<property name="Serial" type="s" access="read"/>
@ -49,6 +60,8 @@
Wfdies:
The Wi-Fi Display Information Elements of the P2P peer.
Since: 1.16
-->
<property name="WfdIEs" type="ay" access="read"/>
@ -56,6 +69,8 @@
HwAddress:
The hardware address (BSSID) of the access point.
Since: 1.16
-->
<property name="HwAddress" type="s" access="read"/>
@ -63,6 +78,8 @@
Strength:
The current signal quality of the access point, in percent.
Since: 1.16
-->
<property name="Strength" type="y" access="read"/>
@ -72,6 +89,8 @@
The timestamp (in CLOCK_BOOTTIME seconds) for the last time the access
point was found in scan results. A value of -1 means the access point has
never been found in scan results.
Since: 1.16
-->
<property name="LastSeen" type="i" access="read"/>
</interface>