2018-07-17 23:16:04 +02:00
|
|
|
Ad-Hoc hiearchy
|
|
|
|
===============
|
|
|
|
|
|
|
|
Service net.connman.iwd
|
2018-08-28 11:09:07 +02:00
|
|
|
Interface net.connman.iwd.AdHoc [Experimental]
|
2019-10-28 17:30:44 +01:00
|
|
|
Object path /net/connman/iwd/{phy0,phy1,...}/{1,2,...}
|
2018-07-17 23:16:04 +02:00
|
|
|
|
|
|
|
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
|
2019-10-24 17:47:15 +02:00
|
|
|
net.connman.iwd.InvalidArguments
|
2018-07-17 23:16:04 +02:00
|
|
|
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
|
2019-10-24 17:47:15 +02:00
|
|
|
net.connman.iwd.InvalidArguments
|
2018-07-17 23:16:04 +02:00
|
|
|
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
|
2019-10-24 17:47:15 +02:00
|
|
|
net.connman.iwd.InvalidArguments
|
2018-07-17 23:16:04 +02:00
|
|
|
|
|
|
|
Properties string[] ConnectedPeers [readonly]
|
|
|
|
|
|
|
|
List of peer MAC addresses that have successfully
|
|
|
|
connected to the Ad-Hoc network.
|
2018-07-30 00:33:02 +02:00
|
|
|
|
|
|
|
boolean Started [readonly]
|
|
|
|
|
|
|
|
Reflects whether an Ad-Hoc network has been started or
|
|
|
|
joined.
|