access-point-api.txt (2356B)
1 Access Point hierarchy 2 ===================== 3 4 Service net.connman.iwd 5 Interface net.connman.iwd.AccessPoint [Experimental] 6 Object path /net/connman/iwd/{phy0,phy1,...}/{1,2,...} 7 8 Methods void Start(string ssid, string psk) 9 10 Start an access point called ssid with a passphrase 11 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 Stop() 19 20 Stop a started access point. Note: Calling Stop() will 21 not bring down the AccessPoint interface. The device 22 mode must be switched to non-ap mode. 23 24 Possible errors: net.connman.iwd.Busy 25 net.connman.iwd.Failed 26 net.connman.iwd.InvalidArguments 27 28 void StartProfile(string ssid) 29 30 Start a profile based access point. A profile must exist 31 in IWD's AP configuration directory (/var/lib/iwd/ap/ 32 by default) of the name <ssid>.ap. 33 34 Possible errors: net.connman.iwd.Busy 35 net.connman.iwd.Failed 36 net.connman.iwd.InvalidArguments 37 net.connman.iwd.AlreadyExists 38 net.connman.iwd.NotFound 39 40 void Scan() 41 42 Schedule a network scan. 43 44 Possible errors: net.connman.iwd.NotAvailable 45 net.connman.iwd.NotSupported 46 net.connman.iwd.Busy 47 net.connman.iwd.Failed 48 49 array(dict) GetOrderedNetworks() 50 51 Gets the list of networks found after scanning sorted 52 based on signal strength. Each item in the array is a 53 dictionary containing the network Name, SignalStrength, 54 and Security. 55 56 Possible errors: net.connman.iwd.NotAvailable 57 58 Properties boolean Started [readonly] 59 60 Reflects whether an access point has been started. 61 62 string Name [readonly, optional] 63 64 The SSID being broadcast for a started AP (omitted if 65 AP has not been started) 66 67 boolean Scanning [readonly] 68 69 Reflects whether the access point is scanning. 70 71 uint32 Frequency [readonly, optional] 72 73 The frequency that the Access Point is operating on. 74 75 array{string} PairwiseCiphers [readonly, optional] 76 77 List of pairwise ciphers the access point supports. 78 The same format as setting a list of ciphers for an AP 79 profile, i.e. TKIP, CCMP-128, GCMP-128, CCMP-256 etc. 80 81 string GroupCipher [readonly, optional] 82 83 The group cipher suite the access point is using. 84 Possible values are the same as what could be included 85 in the PairwiseCiphers list.