1 Peer hierarchy [EXPERIMENTAL]
2 =============================
5 Interface net.connman.Peer
6 Object path [variable prefix]/{peer0,peer1,...}
8 Methods dict GetProperties() [deprecated]
10 Returns properties for the peer object. See the
11 properties sections for available properties.
13 Usage of this method is highly discouraged. Use
14 the Manager.GetPeers() method instead.
16 Possible Errors: [service].Error.InvalidArguments
18 void Connect() [experimental]
22 This method call will only return in case of an error
23 or when the peer is fully connected. So setting a
24 longer D-Bus timeout might be a really good idea.
26 Possible Errors: [service].Error.InvalidArguments
28 void Disconnect() [experimental]
30 Disconnect this peer. If the peer is not connected, an
31 error message will be generated.
33 Possible Errors: [service].Error.InvalidArguments
35 Signals PropertyChanged(string name, variant value) [experimental]
37 This signal indicates a changed value of the given
40 Properties string State [readonly] [experimental]
42 The peer state information.
44 Valid state are "idle", "failure", "association",
45 "configuration", "ready" and "disconnect".
47 string Name [readonly] [experimental]
51 dict IPv4 [readonly] [experimental]
53 string Local [readonly]
55 The current peer's local configured IPv4
58 string Remote [readonly]
60 The current peer's remote configured IPv4
63 array{dict} Services [readonly] [experimental]
65 Array of P2P service specifications consisting of
66 either UpnpService and UpnpVersion or BonjourQuery
67 and BonjourResponse, but not a mix of these. The
68 dict members have the following format:
70 String UpnpService [readonly]
74 int32 UpnpVersion [readonly]
76 The UPNP version in use.
78 array{byte} BonjourQuery [readonly]
80 The bonjour service query data, provided
83 Note: a Peer object will never show this
84 information. When scanning, a device gets
85 only the bonjour response data. However,
86 this information is mandatory when a bonjour
87 service is given through Manager API
88 RegisterPeerService and
89 UnregisterPeerService.
91 array{byte} BonjourResponse [readonly]
93 The bonjour service response data, provided
96 Note: this will be the only bonjour related
97 information a Peer object will show.
99 array{byte} WiFiDisplayIEs [readonly]
101 The TLV formated byte array representing the
102 WiFi Display Informations Elements.