2020-01-21 07:21:38 +01:00
|
|
|
Access Point hierarchy
|
2018-07-03 18:34:24 +02:00
|
|
|
=====================
|
|
|
|
|
|
|
|
Service net.connman.iwd
|
2018-08-27 14:53:05 +02:00
|
|
|
Interface net.connman.iwd.AccessPoint [Experimental]
|
2019-10-28 17:30:44 +01:00
|
|
|
Object path /net/connman/iwd/{phy0,phy1,...}/{1,2,...}
|
2018-07-03 18:34:24 +02:00
|
|
|
|
|
|
|
Methods void Start(string ssid, string psk)
|
|
|
|
|
|
|
|
Start an access point 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-03 18:34:24 +02:00
|
|
|
net.connman.iwd.AlreadyExists
|
|
|
|
|
|
|
|
void Stop()
|
|
|
|
|
|
|
|
Stop a started access point. Note: Calling Stop() will
|
|
|
|
not bring down the AccessPoint interface. The device
|
|
|
|
mode must be switched to non-ap 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-30 00:33:02 +02:00
|
|
|
|
2020-11-04 17:52:25 +01:00
|
|
|
void StartProfile(string ssid)
|
|
|
|
|
|
|
|
Start a profile based access point. A profile must exist
|
|
|
|
in IWD's AP configuration directory (/var/lib/iwd/ap/
|
|
|
|
by default) of the name <ssid>.ap.
|
|
|
|
|
|
|
|
Possible errors: net.connman.iwd.Busy
|
|
|
|
net.connman.iwd.Failed
|
|
|
|
net.connman.iwd.InvalidArguments
|
|
|
|
net.connman.iwd.AlreadyExists
|
|
|
|
net.connman.iwd.NotFound
|
|
|
|
|
2022-02-24 18:05:00 +01:00
|
|
|
void Scan()
|
|
|
|
|
|
|
|
Schedule a network scan.
|
|
|
|
|
|
|
|
Possible errors: net.connman.iwd.NotAvailable
|
|
|
|
net.connman.iwd.NotSupported
|
|
|
|
net.connman.iwd.Busy
|
|
|
|
net.connman.iwd.Failed
|
|
|
|
|
|
|
|
array(dict) GetOrderedNetworks()
|
|
|
|
|
|
|
|
Gets the list of networks found after scanning sorted
|
|
|
|
based on signal strength. Each item in the array is a
|
|
|
|
dictionary containing the network Name, SignalStrength,
|
|
|
|
and Security.
|
|
|
|
|
|
|
|
Possible errors: net.connman.iwd.NotAvailable
|
|
|
|
|
2018-07-30 00:33:02 +02:00
|
|
|
Properties boolean Started [readonly]
|
|
|
|
|
|
|
|
Reflects whether an access point has been started.
|
2021-02-02 00:52:15 +01:00
|
|
|
|
|
|
|
string Name [readonly, optional]
|
|
|
|
|
|
|
|
The SSID being broadcast for a started AP (omitted if
|
|
|
|
AP has not been started)
|
2022-02-24 18:05:00 +01:00
|
|
|
|
|
|
|
boolean Scanning [readonly]
|
|
|
|
|
|
|
|
Reflects whether the access point is scanning.
|