mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-09-06 00:55:56 +00:00
![Dan Winship](/assets/img/avatar_default.png)
Use nm_platform_link_get_type_name() to get information about the generic device, and export that via D-Bus
28 lines
840 B
XML
28 lines
840 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
|
<interface name="org.freedesktop.NetworkManager.Device.Generic">
|
|
|
|
<property name="HwAddress" type="s" access="read">
|
|
<tp:docstring>
|
|
Hardware address of the device.
|
|
</tp:docstring>
|
|
</property>
|
|
|
|
<property name="TypeDescription" type="s" access="read">
|
|
<tp:docstring>
|
|
A (non-localized) description of the interface type, if known.
|
|
</tp:docstring>
|
|
</property>
|
|
|
|
<signal name="PropertiesChanged">
|
|
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
|
<tp:docstring>
|
|
A dictionary mapping property names to variant boxed values
|
|
</tp:docstring>
|
|
</arg>
|
|
</signal>
|
|
|
|
</interface>
|
|
</node>
|