-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdbus-sendexample.txt
123 lines (121 loc) · 4.74 KB
/
dbus-sendexample.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
dbus-send --system --print-reply --dest=org.openbmc.settings.Host /org/openbmc/settings/host0 org.freedesktop.DBus.Introspectable.Introspect
method return time=1471339064.593755 sender=:1.6 -> destination=:1.45 serial=26 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 name="/org/openbmc/settings/host0">
<interface name="org.openbmc.settings.Host">
<signal name="SettingsUpdated">
<arg type="s" name="sname" />
</signal>
</interface>
<interface name="org.freedesktop.DBus.Introspectable">
<method name="Introspect">
<arg direction="out" type="s" />
</method>
</interface>
<interface name="org.openbmc.Object.Properties">
<method name="SetMultiple">
<arg direction="in" type="s" name="interface_name" />
<arg direction="in" type="a{sv}" name="prop_dict" />
</method>
</interface>
<interface name="org.freedesktop.DBus.Properties">
<signal name="PropertiesChanged">
<arg type="s" name="interface_name" />
<arg type="a{sv}" name="changed_properties" />
<arg type="as" name="invalidated_properties" />
</signal>
<method name="Set">
<arg direction="in" type="s" name="interface_name" />
<arg direction="in" type="s" name="property_name" />
<arg direction="in" type="v" name="new_value" />
</method>
<method name="GetAll">
<arg direction="in" type="s" name="interface_name" />
<arg direction="out" type="a{sv}" />
</method>
<method name="Get">
<arg direction="in" type="s" name="interface_name" />
<arg direction="in" type="s" name="property_name" />
<arg direction="out" type="v" />
</method>
</interface>
</node>
"
root@barreleye:/usr/sbin# dbus-send --system --print-reply --dest=org.openbmc.managers.System /org/openbmc/managers/System org.freedesktop.DBus.Introspectable.Introspect
method return time=1471339147.788145 sender=:1.10 -> destination=:1.46 serial=219 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 name="/org/openbmc/managers/System">
<interface name="org.freedesktop.DBus.ObjectManager">
<method name="GetManagedObjects">
<arg direction="out" type="a{oa{sa{sv}}}" />
</method>
<signal name="InterfacesAdded">
<arg type="o" name="object_path" />
<arg type="a{sa{sv}}" name="properties" />
</signal>
<signal name="InterfacesRemoved">
<arg type="o" name="object_path" />
<arg type="as" name="interfaces" />
</signal>
</interface>
<interface name="org.freedesktop.DBus.Introspectable">
<method name="Introspect">
<arg direction="out" type="s" />
</method>
</interface>
<interface name="org.openbmc.Object.Properties">
<method name="SetMultiple">
<arg direction="in" type="s" name="interface_name" />
<arg direction="in" type="a{sv}" name="prop_dict" />
</method>
</interface>
<interface name="org.freedesktop.DBus.Properties">
<signal name="PropertiesChanged">
<arg type="s" name="interface_name" />
<arg type="a{sv}" name="changed_properties" />
<arg type="as" name="invalidated_properties" />
</signal>
<method name="Set">
<arg direction="in" type="s" name="interface_name" />
<arg direction="in" type="s" name="property_name" />
<arg direction="in" type="v" name="new_value" />
</method>
<method name="GetAll">
<arg direction="in" type="s" name="interface_name" />
<arg direction="out" type="a{sv}" />
</method>
<method name="Get">
<arg direction="in" type="s" name="interface_name" />
<arg direction="in" type="s" name="property_name" />
<arg direction="out" type="v" />
</method>
</interface>
<interface name="org.openbmc.managers.System">
<method name="getFRUArea">
<arg direction="in" type="y" name="fru_id" />
<arg direction="out" type="s" />
</method>
<method name="getObjectFromId">
<arg direction="in" type="s" name="category" />
<arg direction="in" type="s" name="key" />
<arg direction="out" type="(ss)" />
</method>
<method name="gpioInit">
<arg direction="in" type="s" name="name" />
<arg direction="out" type="s" />
<arg direction="out" type="i" />
<arg direction="out" type="s" />
</method>
<method name="getSystemState">
<arg direction="out" type="s" />
</method>
<method name="getObjectFromByteId">
<arg direction="in" type="s" name="category" />
<arg direction="in" type="y" name="key" />
<arg direction="out" type="(ss)" />
</method>
</interface>
</node>
"