Skip to content

Instantly share code, notes, and snippets.

@rhz
Last active October 18, 2023 19:17
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rhz/b904398b1526db1c2fe208a61d09e24d to your computer and use it in GitHub Desktop.
Save rhz/b904398b1526db1c2fe208a61d09e24d to your computer and use it in GitHub Desktop.
output of "dbus-send --system --print-reply --dest=org.bluez /org/bluez/hci0/dev_E9_09_EF_A6_24_70 org.freedesktop.DBus.Introspectable.Introspect"
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
<interface name="org.freedesktop.DBus.Introspectable">
<method name="Introspect">
<arg name="xml" type="s" direction="out"/>
</method>
</interface>
<interface name="org.bluez.Device1">
<method name="Disconnect"></method>
<method name="Connect"></method>
<method name="ConnectProfile">
<arg name="UUID" type="s" direction="in"/> </method><method name="DisconnectProfile"><arg name="UUID" type="s" direction="in"/>
</method>
<method name="Pair"></method>
<method name="CancelPairing"></method>
<property name="Address" type="s" access="read"></property>
<property name="AddressType" type="s" access="read"></property>
<property name="Name" type="s" access="read"></property>
<property name="Alias" type="s" access="readwrite"></property>
<property name="Class" type="u" access="read"></property>
<property name="Appearance" type="q" access="read"></property>
<property name="Icon" type="s" access="read"></property>
<property name="Paired" type="b" access="read"></property>
<property name="Trusted" type="b" access="readwrite"></property>
<property name="Blocked" type="b" access="readwrite"></property>
<property name="LegacyPairing" type="b" access="read"></property>
<property name="RSSI" type="n" access="read"></property>
<property name="Connected" type="b" access="read"></property>
<property name="UUIDs" type="as" access="read"></property>
<property name="Modalias" type="s" access="read"></property>
<property name="Adapter" type="o" access="read"></property>
<property name="ManufacturerData" type="a{qv}" access="read"></property>
<property name="ServiceData" type="a{sv}" access="read"></property>
<property name="TxPower" type="n" access="read"></property>
<property name="ServicesResolved" type="b" access="read"></property>
</interface>
<interface name="org.freedesktop.DBus.Properties">
<method name="Get"><arg name="interface" type="s" direction="in"/>
<arg name="name" type="s" direction="in"/>
<arg name="value" type="v" direction="out"/>
</method>
<method name="Set">
<arg name="interface" type="s" direction="in"/>
<arg name="name" type="s" direction="in"/>
<arg name="value" type="v" direction="in"/>
</method>
<method name="GetAll">
<arg name="interface" type="s" direction="in"/>
<arg name="properties" type="a{sv}" direction="out"/>
</method>
<signal name="PropertiesChanged">
<arg name="interface" type="s"/>
<arg name="changed_properties" type="a{sv}"/>
<arg name="invalidated_properties" type="as"/>
</signal>
</interface>
<interface name="org.bluez.MediaControl1">
<method name="Play">
<annotation name="org.freedesktop.DBus.Deprecated" value="true"/>
</method>
<method name="Pause">
<annotation name="org.freedesktop.DBus.Deprecated" value="true"/>
</method>
<method name="Stop">
<annotation name="org.freedesktop.DBus.Deprecated" value="true"/>
</method>
<method name="Next">
<annotation name="org.freedesktop.DBus.Deprecated" value="true"/>
</method>
<method name="Previous">
<annotation name="org.freedesktop.DBus.Deprecated" value="true"/>
</method>
<method name="VolumeUp">
<annotation name="org.freedesktop.DBus.Deprecated" value="true"/>
</method>
<method name="VolumeDown">
<annotation name="org.freedesktop.DBus.Deprecated" value="true"/>
</method>
<method name="FastForward">
<annotation name="org.freedesktop.DBus.Deprecated" value="true"/>
</method>
<method name="Rewind">
<annotation name="org.freedesktop.DBus.Deprecated" value="true"/>
</method>
<property name="Connected" type="b" access="read"></property>
<property name="Player" type="o" access="read"></property>
</interface>
<node name="fd0"/>
</node>
method return time=1558982629.917308 sender=:1.5 -> destination=:1.3032 serial=251 reply_serial=2
string "<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node><interface name="org.freedesktop.DBus.Introspectable"><method name="Introspect"><arg name="xml" type="s" direction="out"/>
</method></interface><interface name="org.bluez.Device1"><method name="Disconnect"></method><method name="Connect"></method><method name="Connect
Profile"><arg name="UUID" type="s" direction="in"/> </method><method name="DisconnectProfile"><arg name="UUID" type="s" direction="in"/>
</method><method name="Pair"></method><method name="CancelPairing"></method><property name="Address" type="s" access="read"></property><property
name="AddressType" type="s" access="read"></property><property name="Name" type="s" access="read"></property><property name="Alias" type="s" access="readwrite"></property><property name="Class" type="u" access="read"></property><property name="Appearance" type="q" access="read"></property><property name="Icon" type="s" access="read"></property><property name="Paired" type="b" access="read"></property><property name="Trusted" type="b" access="readwrite"></property><property name="Blocked" type="b" access="readwrite"></property><property name="LegacyPairing" type="b" access="read"></property><property name="RSSI" type="n" access="read"></property><property name="Connected" type="b" access="read"></property><property name="UUIDs" type="as" access="read"></property><property name="Modalias" type="s" access="read"></property><property name="Adapter" type="o" access="read"></property><property name="ManufacturerData" type="a{qv}" access="read"></property><property name="ServiceData" type="a{sv}" access="read"></property><property name="TxPower" type="n" access="read"></property><property name="ServicesResolved" type="b" access="read"></property></interface><interface name="org.freedesktop.DBus.Properties"><method name="Get"><arg name="interface" type="s" direction="in"/> <arg name="name" type="s" direction="in"/>
<arg name="value" type="v" direction="out"/>
</method><method name="Set"><arg name="interface" type="s" direction="in"/>
<arg name="name" type="s" direction="in"/>
<arg name="value" type="v" direction="in"/>
</method><method name="GetAll"><arg name="interface" type="s" direction="in"/>
<arg name="properties" type="a{sv}" direction="out"/>
</method><signal name="PropertiesChanged"><arg name="interface" type="s"/>
<arg name="changed_properties" type="a{sv}"/>
<arg name="invalidated_properties" type="as"/>
</signal>
</interface><interface name="org.bluez.MediaControl1"><method name="Play"><annotation name="org.freedesktop.DBus.Deprecated" value="true"/></method><method name="Pause"><annotation name="org.freedesktop.DBus.Deprecated" value="true"/></method><method name="Stop"><annotation name="org.freedesktop.DBus.Deprecated" value="true"/></method><method name="Next"><annotation name="org.freedesktop.DBus.Deprecated" value="true"/></method><method name="Previous"><annotation name="org.freedesktop.DBus.Deprecated" value="true"/></method><method name="VolumeUp"><annotation name="org.freedesktop.DBus.Deprecated" value="true"/></method><method name="VolumeDown"><annotation name="org.freedesktop.DBus.Deprecated" value="true"/></method><method name="FastForward"><annotation name="org.freedesktop.DBus.Deprecated" value="true"/></method><method name="Rewind"><annotation name="org.freedesktop.DBus.Deprecated" value="true"/></method><property name="Connected" type="b" access="read"></property><property name="Player" type="o" access="read"></property></interface><node name="fd0"/></node>"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment