3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-28 20:22:43 +01:00
iwd/doc/p2p-peer-api.txt
Andrew Zaborowski b216e98974 Document P2P dbus interfaces
Proposed minimum P2P interfaces for establishing basic connections.  The
device discovery results in creation of Peer objects.
2020-01-27 14:55:09 -06:00

46 lines
1.2 KiB
Plaintext

P2PPeer hierarchy
=================
Service net.connman.iwd
Interface net.connman.iwd.p2p.Peer [Experimental]
Object path /net/connman/iwd/{phy0,phy1,...}/p2p_peers/{aa_bb_cc_dd_ee_ff}
Methods Disconnect()
If connected, disconnect from this peer.
Connections are established by calling methods on
the net.connman.iwd.SimpleConfiguration interface
on the same object -- see wsc-api.txt.
Possible errors: [service].Failed
[service].NotConnected
Properties string Name [readonly]
P2P Peer's display name
string DeviceCategory [readonly]
The category part of the peer's declared
Primary Device Type.
string DeviceSubcategory [readonly, optional]
The Sub Category part of the peer's declared
Primary Device Type.
object Device [readonly]
The object with a net.connman.iwd.p2p.Device
interface that discovered this peer -- see
p2p-api.txt.
boolean Connected [readonly]
Whether there's currently an active connection
to this peer. This property is read-only and
changes as a result of method calls on the
net.connman.iwd.SimpleConfiguration interface
on the same object -- see wsc-api.txt -- and
calls to Disconnect on this interface.