1
<?xml version="1.0" encoding="UTF-8" ?>
3
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
4
<interface name="org.freedesktop.NetworkManager.Device">
5
<property name="Udi" type="s" access="read">
7
Unique Device Identifier.
10
<property name="Interface" type="s" access="read">
12
The name of the device's control (and often data) interface.
15
<property name="IpInterface" type="s" access="read">
17
The name of the device's data interface when available. This property
18
may not refer to the actual data interface until the device has
19
successfully established a data connection, indicated by the device's
20
State becoming ACTIVATED.
23
<property name="Driver" type="s" access="read">
25
The driver handling the device.
28
<property name="Capabilities" type="u" access="read" tp:type="NM_DEVICE_CAP">
30
Flags describing the capabilities of the device.
33
<property name="Ip4Address" type="i" access="read">
35
The IPv4 address bound to the device. FIXME: what about devices with >1 IP address?
38
<property name="State" type="u" access="read" tp:type="NM_DEVICE_STATE">
40
The current state of the device.
43
<property name="Ip4Config" type="o" access="read">
45
Object path of the Ip4Config object describing the configuration of the device. Only valid when the device is in the NM_DEVICE_STATE_ACTIVATED state.
48
<property name="Dhcp4Config" type="o" access="read">
50
Object path of the Dhcp4Config object describing the DHCP options returned by the DHCP server. Only valid when the device is in the NM_DEVICE_STATE_ACTIVATED state.
53
<property name="Ip6Config" type="o" access="read">
55
Object path of the Ip6Config object describing the configuration of the device. Only valid when the device is in the NM_DEVICE_STATE_ACTIVATED state.
58
<property name="Managed" type="b" access="read">
60
Whether or not this device is managed by NetworkManager.
63
<property name="FirmwareMissing" type="b" access="read">
65
If TRUE, indicates the device is likely missing firmware necessary for
69
<property name="DeviceType" type="u" access="read" tp:type="NM_DEVICE_TYPE">
71
The general type of the network device; ie Ethernet, WiFi, etc.
75
<method name="Disconnect">
76
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_device_disconnect"/>
77
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
79
Disconnects a device and prevents the device from automatically activating further connections without user intervention.
83
<signal name="StateChanged">
84
<arg name="new_state" type="u" tp:type="NM_DEVICE_STATE">
86
The new state of the device.
89
<arg name="old_state" type="u" tp:type="NM_DEVICE_STATE">
91
The previous state of the device.
94
<arg name="reason" type="u" tp:type="NM_DEVICE_STATE_REASON">
96
A reason for the state transition.
101
<tp:enum name="NM_DEVICE_STATE" type="u">
102
<tp:enumvalue suffix="UNKNOWN" value="0">
104
The device is in an unknown state.
107
<tp:enumvalue suffix="UNMANAGED" value="1">
109
The device is not managed by NetworkManager.
112
<tp:enumvalue suffix="UNAVAILABLE" value="2">
114
The device cannot be used (carrier off, rfkill, etc).
117
<tp:enumvalue suffix="DISCONNECTED" value="3">
119
The device is not connected.
122
<tp:enumvalue suffix="PREPARE" value="4">
124
The device is preparing to connect.
127
<tp:enumvalue suffix="CONFIG" value="5">
129
The device is being configured.
132
<tp:enumvalue suffix="NEED_AUTH" value="6">
134
The device is awaiting secrets necessary to continue connection.
137
<tp:enumvalue suffix="IP_CONFIG" value="7">
139
The IP settings of the device are being requested and configured.
142
<tp:enumvalue suffix="ACTIVATED" value="8">
144
The device is active.
147
<tp:enumvalue suffix="FAILED" value="9">
149
The device is in a failure state following an attempt to activate it.
154
<tp:enum name="NM_DEVICE_TYPE" type="u">
155
<tp:enumvalue suffix="UNKNOWN" value="0">
157
The device type is unknown.
160
<tp:enumvalue suffix="ETHERNET" value="1">
162
The device is wired Ethernet device.
165
<tp:enumvalue suffix="WIFI" value="2">
167
The device is an 802.11 WiFi device.
170
<tp:enumvalue suffix="GSM" value="3">
172
The device is a GSM-based cellular WAN device.
175
<tp:enumvalue suffix="CDMA" value="4">
177
The device is a CDMA/IS-95-based cellular WAN device.
180
<tp:enumvalue suffix="BLUETOOTH" value="5">
182
The device is a BLUETOOTH cellular.
187
<tp:flags name="NM_DEVICE_CAP" value-prefix="NM_DEVICE_CAP" type="u">
188
<tp:flag suffix="NONE" value="0x0">
189
<tp:docstring>Null capability.</tp:docstring>
191
<tp:flag suffix="NM_SUPPORTED" value="0x1">
192
<tp:docstring>The device is supported by NetworkManager.</tp:docstring>
194
<tp:flag suffix="CARRIER_DETECT" value="0x2">
195
<tp:docstring>The device supports carrier detection.</tp:docstring>
199
<tp:enum name="NM_DEVICE_STATE_REASON" type="u">
200
<tp:enumvalue suffix="UNKNOWN" value="0">
202
The reason for the device state change is unknown.
205
<tp:enumvalue suffix="NONE" value="1">
207
The state change is normal.
210
<tp:enumvalue suffix="NOW_MANAGED" value="2">
212
The device is now managed.
215
<tp:enumvalue suffix="NOW_UNMANAGED" value="3">
217
The device is no longer managed.
220
<tp:enumvalue suffix="CONFIG_FAILED" value="4">
222
The device could not be readied for configuration.
225
<tp:enumvalue suffix="CONFIG_UNAVAILABLE" value="5">
227
IP configuration could not be reserved (no available address, timeout, etc).
230
<tp:enumvalue suffix="CONFIG_EXPIRED" value="6">
232
The IP configuration is no longer valid.
235
<tp:enumvalue suffix="NO_SECRETS" value="7">
237
Secrets were required, but not provided.
240
<tp:enumvalue suffix="SUPPLICANT_DISCONNECT" value="8">
242
The 802.1X supplicant disconnected from the access point or authentication server.
245
<tp:enumvalue suffix="SUPPLICANT_CONFIG_FAILED" value="9">
247
Configuration of the 802.1X supplicant failed.
250
<tp:enumvalue suffix="SUPPLICANT_FAILED" value="10">
252
The 802.1X supplicant quit or failed unexpectedly.
255
<tp:enumvalue suffix="SUPPLICANT_TIMEOUT" value="11">
257
The 802.1X supplicant took too long to authenticate.
260
<tp:enumvalue suffix="PPP_START_FAILED" value="12">
262
The PPP service failed to start within the allowed time.
265
<tp:enumvalue suffix="PPP_DISCONNECT" value="13">
267
The PPP service disconnected unexpectedly.
270
<tp:enumvalue suffix="PPP_FAILED" value="14">
272
The PPP service quit or failed unexpectedly.
275
<tp:enumvalue suffix="DHCP_START_FAILED" value="15">
277
The DHCP service failed to start within the allowed time.
280
<tp:enumvalue suffix="DHCP_ERROR" value="16">
282
The DHCP service reported an unexpected error.
285
<tp:enumvalue suffix="DHCP_FAILED" value="17">
287
The DHCP service quit or failed unexpectedly.
290
<tp:enumvalue suffix="SHARED_START_FAILED" value="18">
292
The shared connection service failed to start.
295
<tp:enumvalue suffix="SHARED_FAILED" value="19">
297
The shared connection service quit or failed unexpectedly.
300
<tp:enumvalue suffix="AUTOIP_START_FAILED" value="20">
302
The AutoIP service failed to start.
305
<tp:enumvalue suffix="AUTOIP_ERROR" value="21">
307
The AutoIP service reported an unexpected error.
310
<tp:enumvalue suffix="AUTOIP_FAILED" value="22">
312
The AutoIP service quit or failed unexpectedly.
315
<tp:enumvalue suffix="MODEM_BUSY" value="23">
317
Dialing failed because the line was busy.
320
<tp:enumvalue suffix="MODEM_NO_DIAL_TONE" value="24">
322
Dialing failed because there was no dial tone.
325
<tp:enumvalue suffix="MODEM_NO_CARRIER" value="25">
327
Dialing failed because there was carrier.
330
<tp:enumvalue suffix="MODEM_DIAL_TIMEOUT" value="26">
335
<tp:enumvalue suffix="MODEM_DIAL_FAILED" value="27">
340
<tp:enumvalue suffix="MODEM_INIT_FAILED" value="28">
342
Modem initialization failed.
345
<tp:enumvalue suffix="GSM_APN_FAILED" value="29">
347
Failed to select the specified GSM APN.
350
<tp:enumvalue suffix="GSM_REGISTRATION_NOT_SEARCHING" value="30">
352
Not searching for networks.
355
<tp:enumvalue suffix="GSM_REGISTRATION_DENIED" value="31">
357
Network registration was denied.
360
<tp:enumvalue suffix="GSM_REGISTRATION_TIMEOUT" value="32">
362
Network registration timed out.
365
<tp:enumvalue suffix="GSM_REGISTRATION_FAILED" value="33">
367
Failed to register with the requested GSM network.
370
<tp:enumvalue suffix="GSM_PIN_CHECK_FAILED" value="34">
375
<tp:enumvalue suffix="FIRMWARE_MISSING" value="35">
377
Necessary firmware for the device may be missing.
380
<tp:enumvalue suffix="REMOVED" value="36">
382
The device was removed.
385
<tp:enumvalue suffix="SLEEPING" value="37">
387
NetworkManager went to sleep.
390
<tp:enumvalue suffix="CONNECTION_REMOVED" value="38">
392
The device's active connection was removed or disappeared.
395
<tp:enumvalue suffix="USER_REQUESTED" value="39">
397
A user or client requested the disconnection.
400
<tp:enumvalue suffix="CARRIER" value="40">
402
The device's carrier/link changed.
405
<tp:enumvalue suffix="CONNECTION_ASSUMED" value="41">
407
The device's existing connection was assumed.
410
<tp:enumvalue suffix="SUPPLICANT_AVAILABLE" value="42">
412
The 802.1x supplicant is now available.
415
<tp:enumvalue suffix="MODEM_NOT_FOUND" value="43">
417
The modem could not be found.
420
<tp:enumvalue suffix="BT_FAILED" value="44">
422
The Bluetooth connection timed out or failed.