dbus: Add RemoveClient method to remove a client from local GO
This is equivalent to the P2P_REMOVE_CLIENT command on control interface. This can be used to remove the specified client [as object path or string format interface address] from all groups (operating and persistent) from the local GO. Argument(s): peer[object path] OR iface[string format MAC address] Signed-off-by: Purushottam Kushwaha <p.kushwaha@samsung.com> Signed-off-by: Jijo Jacob <jijo.jacob@samsung.com>
This commit is contained in:
parent
f0a79c9403
commit
4e7175827e
4 changed files with 85 additions and 0 deletions
|
@ -1118,6 +1118,23 @@ Interface for performing P2P (Wi-Fi Peer-to-Peer) P2P Device operations.
|
|||
<p>Reject connection attempt from a peer (specified with a device address). This is a mechanism to reject a pending GO Negotiation with a peer and request to automatically block any further connection or discovery of the peer.</p>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<h3>RemoveClient ( a{sv} : args ) --> nothing</h3>
|
||||
<p>Remove the client from all groups (operating and persistent) from the local GO.</p>
|
||||
<h4>Arguments</h4>
|
||||
<dl>
|
||||
<dt>a{sv} : args</dt>
|
||||
<dd>
|
||||
A dictionary with parameters for removing a client:
|
||||
<table>
|
||||
<tr><th>Key</th><th>Value type</th><th>Description</th><th>Required</th></tr>
|
||||
<tr><td>peer</td><td>o</td><td>Object path for peer's P2P Device Address</td><td>yes</td></tr>
|
||||
<tr><td>iface</td><td>s</td><td>Interface address[MAC Address format] of the peer to be disconnected. Required if object path is not provided.</td><td>no</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<h3>Flush ( nothing ) --> nothing</h3>
|
||||
<p>Flush P2P peer table and state.</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue