blob: c4b8c00d40f2baeb59163d36efe7fcf8719fada0 [file] [log] [blame]
Norman Jamese2765102015-08-19 22:00:55 -05001<node>
Norman James16efce62015-08-19 22:30:31 -05002 <!-- Can I do have interfaces as children of other interfaces? -->
Norman Jamese2765102015-08-19 22:00:55 -05003 <interface name="org.openbmc.SensorInteger">
4 <method name="getValue">
5 <arg name="value" type="i" direction="out"/>
6 </method>
7 <method name="getUnits">
8 <arg name="units" type="s" direction="out"/>
9 </method>
10 <property name="value" type="i" access="read"/>
11 <property name="units" type="s" access="read"/>
12 <signal name="Changed">
13 <arg name="value" type="i"/>
14 </signal>
15 </interface>
16 <interface name="org.openbmc.SensorString">
17 <method name="getValue">
18 <arg name="value" type="s" direction="out"/>
19 </method>
20 <method name="getUnits">
21 <arg name="units" type="s" direction="out"/>
22 </method>
23 <property name="value" type="i" access="read"/>
24 <property name="units" type="s" access="read"/>
25 <signal name="Changed">
26 <arg name="value" type="s"/>
27 </signal>
28 </interface>
29 <interface name="org.openbmc.SensorIntegerSettable">
30 <method name="getValue">
31 <arg name="value" type="i" direction="out"/>
32 </method>
33 <method name="setValue">
34 <arg name="value" type="i" direction="in"/>
35 </method>
36 <method name="getUnits">
37 <arg name="units" type="s" direction="out"/>
38 </method>
39 <property name="value" type="i" access="read"/>
40 <property name="units" type="s" access="read"/>
41 <signal name="Changed">
42 <arg name="value" type="i"/>
43 </signal>
44 </interface>
45</node>