3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-01 17:16:41 +02:00
iwd/doc/adhoc-api.txt
2020-01-21 16:03:28 -06:00

47 lines
1.2 KiB
Plaintext

Ad-Hoc hierarchy
===============
Service net.connman.iwd
Interface net.connman.iwd.AdHoc [Experimental]
Object path /net/connman/iwd/{phy0,phy1,...}/{1,2,...}
Methods void Start(string ssid, string psk)
Start or join an existing Ad-Hoc network called
'ssid' with a passphrase of 'psk'.
Possible errors: net.connman.iwd.Busy
net.connman.iwd.Failed
net.connman.iwd.InvalidArguments
net.connman.iwd.AlreadyExists
void StartOpen(string ssid)
Start or join an existing open Ad-Hoc network called
'ssid'
Possible errors: net.connman.iwd.Busy
net.connman.iwd.Failed
net.connman.iwd.InvalidArguments
net.connman.iwd.AlreadyExists
void Stop()
Leave an Ad-Hoc network. Note: Calling Stop() will
not bring down the Ad-Hoc interface. The device
mode must be switched to non-AdHoc mode.
Possible errors: net.connman.iwd.Busy
net.connman.iwd.Failed
net.connman.iwd.InvalidArguments
Properties string[] ConnectedPeers [readonly]
List of peer MAC addresses that have successfully
connected to the Ad-Hoc network.
boolean Started [readonly]
Reflects whether an Ad-Hoc network has been started or
joined.