device-api.txt (1011B)
1 Device hierarchy 2 ================ 3 4 Service net.connman.iwd 5 Interface net.connman.iwd.Device 6 Object path /net/connman/iwd/{phy0,phy1,...}/{1,2,...} 7 8 Properties string Name [readonly] 9 10 Device's interface name 11 12 string Address [readonly] 13 14 Interface's hardware address in the XX:XX:XX:XX:XX:XX 15 format 16 17 boolean Powered [readwrite] 18 19 True if the interface is UP. If false, the device's 20 radio is powered down and no other actions can 21 be performed on the device. 22 23 object Adapter [readonly] 24 25 The object path of the adapter the device belongs to. 26 27 string Mode [readwrite] 28 29 Use to set the device mode. The following device modes 30 are valid: 31 'ad-hoc' 32 'station' 33 'ap' 34 35 When the device mode is changed, the interfaces 36 available for that device might also change. For 37 example, setting the mode to 'ap' will cause the 38 AccessPoint interface to appear. If the device mode 39 is switched back to another mode, then 'AccessPoint' 40 interface will no longer be available.