blob: f57d03041060ceabde2bea57316bcd9c50f6d0b7 [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>
Norman James4eb42682015-08-19 23:12:43 -050010 <method name="setPollInterval">
11 <arg name="poll_interval" type="i" direction="in"/>
12 </method>
Norman Jamese2765102015-08-19 22:00:55 -050013 <property name="value" type="i" access="read"/>
14 <property name="units" type="s" access="read"/>
Norman James4eb42682015-08-19 23:12:43 -050015 <property name="poll_interval" type="i" access="read"/>
16 <property name="changed_tolerance" type="i" access="read"/>
Norman Jamese2765102015-08-19 22:00:55 -050017 <signal name="Changed">
18 <arg name="value" type="i"/>
19 </signal>
20 </interface>
21 <interface name="org.openbmc.SensorString">
22 <method name="getValue">
23 <arg name="value" type="s" direction="out"/>
24 </method>
25 <method name="getUnits">
26 <arg name="units" type="s" direction="out"/>
27 </method>
28 <property name="value" type="i" access="read"/>
29 <property name="units" type="s" access="read"/>
30 <signal name="Changed">
31 <arg name="value" type="s"/>
32 </signal>
33 </interface>
34 <interface name="org.openbmc.SensorIntegerSettable">
35 <method name="getValue">
36 <arg name="value" type="i" direction="out"/>
37 </method>
38 <method name="setValue">
39 <arg name="value" type="i" direction="in"/>
40 </method>
41 <method name="getUnits">
42 <arg name="units" type="s" direction="out"/>
43 </method>
44 <property name="value" type="i" access="read"/>
45 <property name="units" type="s" access="read"/>
46 <signal name="Changed">
47 <arg name="value" type="i"/>
48 </signal>
49 </interface>
50</node>