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 HAL UDI for the device.
10 <property name="Interface" type="s" access="read">
12 The network interface offered by the device.
15 <property name="Driver" type="s" access="read">
17 The driver handling the device.
20 <property name="Capabilities" type="u" access="read" tp:type="NM_DEVICE_CAP">
22 Flags describing the capabilities of the device.
25 <property name="Ip4Address" type="i" access="read">
27 The IPv4 address bound to the device. FIXME: what about devices with >1 IP address?
30 <property name="State" type="u" access="read" tp:type="NM_DEVICE_STATE">
32 The current state of the device.
35 <property name="Ip4Config" type="o" access="read">
37 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.
40 <property name="Dhcp4Config" type="o" access="read">
42 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.
45 <property name="Managed" type="b" access="read">
47 Whether or not this device is managed by NetworkManager.
51 <!-- Ugh, but I see no other way of getting the type on the caller
52 based on dbus object path only -->
53 <property name="DeviceType" type="u" access="read">
59 <signal name="StateChanged">
60 <arg name="new_state" type="u" tp:type="NM_DEVICE_STATE">
62 The new state of the device.
65 <arg name="old_state" type="u" tp:type="NM_DEVICE_STATE">
67 The previous state of the device.
70 <arg name="reason" type="u" tp:type="NM_DEVICE_STATE_REASON">
72 A reason for the state transition.
77 <tp:enum name="NM_DEVICE_STATE" type="u">
78 <tp:enumvalue suffix="UNKNOWN" value="0">
80 The device is in an unknown state.
83 <tp:enumvalue suffix="UNMANAGED" value="1">
85 The device is not managed by NetworkManager.
88 <tp:enumvalue suffix="UNAVAILABLE" value="2">
90 The device cannot be used (carrier off, rfkill, etc).
93 <tp:enumvalue suffix="DISCONNECTED" value="3">
95 The device is not connected.
98 <tp:enumvalue suffix="PREPARE" value="4">
100 The device is preparing to connect.
103 <tp:enumvalue suffix="CONFIG" value="5">
105 The device is being configured.
108 <tp:enumvalue suffix="NEED_AUTH" value="6">
110 The device is awaiting secrets necessary to continue connection.
113 <tp:enumvalue suffix="IP_CONFIG" value="7">
115 The IP settings of the device are being requested and configured.
118 <tp:enumvalue suffix="ACTIVATED" value="8">
120 The device is active.
123 <tp:enumvalue suffix="FAILED" value="9">
125 The device is in a failure state following an attempt to activate it.
130 <tp:flags name="NM_DEVICE_CAP" value-prefix="NM_DEVICE_CAP" type="u">
131 <tp:flag suffix="NONE" value="0x0">
132 <tp:docstring>Null capability.</tp:docstring>
134 <tp:flag suffix="NM_SUPPORTED" value="0x1">
135 <tp:docstring>The device is supported by NetworkManager.</tp:docstring>
137 <tp:flag suffix="CARRIER_DETECT" value="0x2">
138 <tp:docstring>The device supports carrier detection.</tp:docstring>
142 <tp:enum name="NM_DEVICE_STATE_REASON" type="u">
143 <tp:enumvalue suffix="UNKNOWN" value="0">
145 The reason for the device state change is unknown.
148 <tp:enumvalue suffix="NONE" value="1">
150 The state change is normal.
153 <tp:enumvalue suffix="NOW_MANAGED" value="2">
155 The device is now managed.
158 <tp:enumvalue suffix="NOW_UNMANAGED" value="3">
160 The device is no longer managed.
163 <tp:enumvalue suffix="CONFIG_FAILED" value="4">
165 The device could not be readied for configuration.
168 <tp:enumvalue suffix="CONFIG_UNAVAILABLE" value="5">
170 IP configuration could not be reserved (no available address, timeout, etc).
173 <tp:enumvalue suffix="CONFIG_EXPIRED" value="6">
175 The IP configuration is no longer valid.
178 <tp:enumvalue suffix="NO_SECRETS" value="7">
180 Secrets were required, but not provided.
183 <tp:enumvalue suffix="SUPPLICANT_DISCONNECT" value="8">
185 The 802.1X supplicant disconnected from the access point or authentication server.
188 <tp:enumvalue suffix="SUPPLICANT_CONFIG_FAILED" value="9">
190 Configuration of the 802.1X supplicant failed.
193 <tp:enumvalue suffix="SUPPLICANT_FAILED" value="10">
195 The 802.1X supplicant quit or failed unexpectedly.
198 <tp:enumvalue suffix="SUPPLICANT_TIMEOUT" value="11">
200 The 802.1X supplicant took too long to authenticate.
203 <tp:enumvalue suffix="PPP_START_FAILED" value="12">
205 The PPP service failed to start within the allowed time.
208 <tp:enumvalue suffix="PPP_DISCONNECT" value="13">
210 The PPP service disconnected unexpectedly.
213 <tp:enumvalue suffix="PPP_FAILED" value="14">
215 The PPP service quit or failed unexpectedly.
218 <tp:enumvalue suffix="DHCP_START_FAILED" value="15">
220 The DHCP service failed to start within the allowed time.
223 <tp:enumvalue suffix="DHCP_ERROR" value="16">
225 The DHCP service reported an unexpected error.
228 <tp:enumvalue suffix="DHCP_FAILED" value="17">
230 The DHCP service quit or failed unexpectedly.
233 <tp:enumvalue suffix="SHARED_START_FAILED" value="18">
235 The shared connection service failed to start.
238 <tp:enumvalue suffix="SHARED_FAILED" value="19">
240 The shared connection service quit or failed unexpectedly.
243 <tp:enumvalue suffix="AUTOIP_START_FAILED" value="20">
245 The AutoIP service failed to start.
248 <tp:enumvalue suffix="AUTOIP_ERROR" value="21">
250 The AutoIP service reported an unexpected error.
253 <tp:enumvalue suffix="AUTOIP_FAILED" value="22">
255 The AutoIP service quit or failed unexpectedly.
258 <tp:enumvalue suffix="MODEM_BUSY" value="23">
260 Dialing failed because the line was busy.
263 <tp:enumvalue suffix="MODEM_NO_DIAL_TONE" value="24">
265 Dialing failed because there was no dial tone.
268 <tp:enumvalue suffix="MODEM_NO_CARRIER" value="25">
270 Dialing failed because there was carrier.
273 <tp:enumvalue suffix="MODEM_DIAL_TIMEOUT" value="26">
278 <tp:enumvalue suffix="MODEM_DIAL_FAILED" value="27">
283 <tp:enumvalue suffix="MODEM_INIT_FAILED" value="28">
285 Modem initialization failed.
288 <tp:enumvalue suffix="GSM_APN_FAILED" value="29">
290 Failed to select the specified GSM APN.
293 <tp:enumvalue suffix="GSM_REGISTRATION_NOT_SEARCHING" value="30">
295 Not searching for networks.
298 <tp:enumvalue suffix="GSM_REGISTRATION_DENIED" value="31">
300 Network registration was denied.
303 <tp:enumvalue suffix="GSM_REGISTRATION_TIMEOUT" value="32">
305 Network registration timed out.
308 <tp:enumvalue suffix="GSM_REGISTRATION_FAILED" value="33">
310 Failed to register with the requested GSM network.
313 <tp:enumvalue suffix="GSM_PIN_CHECK_FAILED" value="34">
318 <tp:enumvalue suffix="FIRMWARE_MISSING" value="35">
320 Necessary firmware for the device may be missing.