Norman James | e276510 | 2015-08-19 22:00:55 -0500 | [diff] [blame] | 1 | <node>
|
Norman James | 16efce6 | 2015-08-19 22:30:31 -0500 | [diff] [blame] | 2 | <!-- Can I do have interfaces as children of other interfaces? -->
|
Norman James | e276510 | 2015-08-19 22:00:55 -0500 | [diff] [blame] | 3 | <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 James | 4eb4268 | 2015-08-19 23:12:43 -0500 | [diff] [blame^] | 10 | <method name="setPollInterval">
|
| 11 | <arg name="poll_interval" type="i" direction="in"/>
|
| 12 | </method>
|
Norman James | e276510 | 2015-08-19 22:00:55 -0500 | [diff] [blame] | 13 | <property name="value" type="i" access="read"/>
|
| 14 | <property name="units" type="s" access="read"/>
|
Norman James | 4eb4268 | 2015-08-19 23:12:43 -0500 | [diff] [blame^] | 15 | <property name="poll_interval" type="i" access="read"/>
|
| 16 | <property name="changed_tolerance" type="i" access="read"/>
|
Norman James | e276510 | 2015-08-19 22:00:55 -0500 | [diff] [blame] | 17 | <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>
|