4 Service org.moblin.connman
5 Interface org.moblin.connman.Device
6 Object path [variable prefix]/{device0,device1,...}
8 Methods dict GetProperties()
10 Returns properties for the device object. See
11 the properties section for available properties.
13 Possible Errors: [service].Error.InvalidArguments
15 void SetProperty(string name, variant value)
17 Changes the value of the specified property. Only
18 properties that are listed as read-write are
19 changeable. On success a PropertyChanged signal
22 Possible Errors: [service].Error.InvalidArguments
23 [service].Error.InvalidProperty
27 Proposes to trigger a scan transaction.
29 Possible Errors: [service].Error.InvalidArguments
31 Signals PropertyChanged(string name, variant value)
33 This signal indicates a changed value of the given
36 Properties string Address [readonly]
38 The address of the device.
40 string Name [readonly]
42 The device name (for example "Wireless" etc.)
44 This name can be used for directly displaying it in
45 the application. It has pure informational purpose
46 and there is not guarantee that it is present.
48 string Type [readonly]
50 The device type (for example "ethernet", "wifi" etc.)
52 string Interface [readonly]
54 The device interface (for example "eth0" etc.)
56 This value is for pure informational purposes. It
57 is not guaranteed that it is always present.
59 boolean Powered [readwrite]
61 Switch a device on or off. This will also modify
62 the list of networks in range. All known networks
63 will be still available via the Networks property.
65 Changing this value doesn't change the value of the
68 The value of this property can be changed by other
69 parts of the system (including the kernel). An
70 example would be modifications via the "ifconfig"
73 boolean Blocked [readonly]
75 Indicates if a device transmission capability is
76 blocked or not. This property is a translation of
77 the device rfkill status. If it is hard or soft
78 blocked, this property will be true.
80 Once a device is blocked, enabling it will fail.
82 uint16 ScanInterval [readwrite]
84 The scan interval describes the time in seconds
85 between automated scan attempts. Setting this
86 value to 0 will disable the background scanning.
88 The default value is 300 and so every 5 minutes
89 a scan procedure will be triggered.
91 This property is not available with all types
92 of devices. Some might not support background
95 boolean Scanning [readonly]
97 Indicates if a device is scanning. Not all device
98 types might support this. Also some hardware might
99 execute background scanning without notifying the
100 driver about it. Use this property only for visual
103 array{object} Networks [readonly]
105 List of networks objects paths. Every object path
106 represents a network in range or a known network.