2016-07-02 16:42:41 +02:00
|
|
|
Device hierarchy
|
|
|
|
================
|
|
|
|
|
|
|
|
Service net.connman.iwd
|
|
|
|
Interface net.connman.iwd.Device [Experimental]
|
|
|
|
Object path /{phy0,phy1,...}/{1,2,...}
|
|
|
|
|
|
|
|
Methods void Scan()
|
|
|
|
|
|
|
|
Schedule a network scan.
|
|
|
|
|
|
|
|
Possible errors: net.connman.iwd.Busy
|
2016-10-03 18:40:40 +02:00
|
|
|
net.connman.iwd.Failed
|
2016-07-02 16:42:41 +02:00
|
|
|
|
|
|
|
void Disconnect()
|
|
|
|
|
|
|
|
Disconnect from the network
|
|
|
|
|
|
|
|
Possible errors: net.connman.iwd.Busy
|
2016-10-03 18:40:40 +02:00
|
|
|
net.connman.iwd.Failed
|
|
|
|
net.connman.iwd.NotConnected
|
2016-07-02 16:42:41 +02:00
|
|
|
|
|
|
|
array(osns) GetOrderedNetworks()
|
|
|
|
|
|
|
|
Return the list of networks found in the most recent
|
2016-07-07 19:59:26 +02:00
|
|
|
scan, sorted by their user interface importance
|
2016-07-02 16:42:41 +02:00
|
|
|
score as calculated by iwd. If the device is
|
|
|
|
currently connected to a network, that network is
|
|
|
|
always first on the list, followed by any known
|
|
|
|
networks that have been used at least once before,
|
|
|
|
followed by any other known networks and any other
|
|
|
|
detected networks as the last group. Within these
|
|
|
|
groups the maximum relative signal-strength is the
|
|
|
|
main sorting factor.
|
|
|
|
|
|
|
|
Every record returned contains a 4-tuple of the
|
|
|
|
following values.
|
|
|
|
|
|
|
|
object Object
|
|
|
|
|
|
|
|
net.connman.iwd.Network object representing
|
|
|
|
the network.
|
|
|
|
|
|
|
|
string Name
|
|
|
|
|
|
|
|
Contains the Name (SSID) of the network
|
|
|
|
|
|
|
|
int16 SignalStrength
|
|
|
|
|
|
|
|
Network's maximum signal strength expressed
|
|
|
|
in 100 * dBm. The value is the range of 0
|
|
|
|
(strongest signal) to -10000 (weakest signal)
|
|
|
|
|
|
|
|
string Type
|
|
|
|
|
|
|
|
Contains the type of the network. Possible
|
|
|
|
types are "open", "psk", "8021x" (EAP)
|
|
|
|
|
|
|
|
Properties string Name [readonly]
|
|
|
|
|
|
|
|
Device's interface name
|
|
|
|
|
|
|
|
string Address [readonly]
|
|
|
|
|
|
|
|
Interface's hardware address in the XX:XX:XX:XX:XX:XX
|
|
|
|
format
|
|
|
|
|
2016-07-20 00:48:40 +02:00
|
|
|
string State [readonly]
|
|
|
|
|
|
|
|
Reflects the general network connection state. One of:
|
|
|
|
|
2016-07-20 22:44:28 +02:00
|
|
|
"connected", "disconnected", "connecting",
|
|
|
|
"disconnecting"
|
2016-07-20 00:48:40 +02:00
|
|
|
|
2016-07-02 16:42:41 +02:00
|
|
|
object ConnectedNetwork [readonly, optional]
|
|
|
|
|
|
|
|
net.connman.iwd.Network object representing the
|
2016-07-20 00:48:40 +02:00
|
|
|
network the device is currently connected to or to
|
|
|
|
which a connection is in progress.
|
2016-07-02 16:42:41 +02:00
|
|
|
|
|
|
|
boolean Powered [readwrite]
|
|
|
|
|
|
|
|
True if the interface is UP. If false, the device's
|
|
|
|
radio is powered down and no other actions can
|
|
|
|
be performed on the device.
|
|
|
|
|
|
|
|
boolean Scanning [readonly]
|
|
|
|
|
|
|
|
Reflects whether the device is currently scanning
|
|
|
|
for networks. net.connman.iwd.Network objects are
|
|
|
|
updated when this property goes from true to false.
|
2016-11-02 15:24:31 +01:00
|
|
|
|
|
|
|
object Adapter [readonly]
|
|
|
|
|
|
|
|
The object path of the adapter the device belongs to.
|