adhoc-api.txt (1199B)
1 Ad-Hoc hierarchy 2 =============== 3 4 Service net.connman.iwd 5 Interface net.connman.iwd.AdHoc [Experimental] 6 Object path /net/connman/iwd/{phy0,phy1,...}/{1,2,...} 7 8 Methods void Start(string ssid, string psk) 9 10 Start or join an existing Ad-Hoc network called 11 'ssid' with a passphrase of 'psk'. 12 13 Possible errors: net.connman.iwd.Busy 14 net.connman.iwd.Failed 15 net.connman.iwd.InvalidArguments 16 net.connman.iwd.AlreadyExists 17 18 void StartOpen(string ssid) 19 20 Start or join an existing open Ad-Hoc network called 21 'ssid' 22 23 Possible errors: net.connman.iwd.Busy 24 net.connman.iwd.Failed 25 net.connman.iwd.InvalidArguments 26 net.connman.iwd.AlreadyExists 27 28 void Stop() 29 30 Leave an Ad-Hoc network. Note: Calling Stop() will 31 not bring down the Ad-Hoc interface. The device 32 mode must be switched to non-AdHoc mode. 33 34 Possible errors: net.connman.iwd.Busy 35 net.connman.iwd.Failed 36 net.connman.iwd.InvalidArguments 37 38 Properties string[] ConnectedPeers [readonly] 39 40 List of peer MAC addresses that have successfully 41 connected to the Ad-Hoc network. 42 43 boolean Started [readonly] 44 45 Reflects whether an Ad-Hoc network has been started or 46 joined.