3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-18 09:12:43 +01:00
iwd/doc/device-api.txt
2019-10-28 21:16:07 -05:00

41 lines
1011 B
Plaintext

Device hierarchy
================
Service net.connman.iwd
Interface net.connman.iwd.Device
Object path /net/connman/iwd/{phy0,phy1,...}/{1,2,...}
Properties string Name [readonly]
Device's interface name
string Address [readonly]
Interface's hardware address in the XX:XX:XX:XX:XX:XX
format
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.
object Adapter [readonly]
The object path of the adapter the device belongs to.
string Mode [readwrite]
Use to set the device mode. The following device modes
are valid:
'ad-hoc'
'station'
'ap'
When the device mode is changed, the interfaces
available for that device might also change. For
example, setting the mode to 'ap' will cause the
AccessPoint interface to appear. If the device mode
is switched back to another mode, then 'AccessPoint'
interface will no longer be available.