Norman James | dc95ef7 | 2015-08-27 21:27:03 -0500 | [diff] [blame] | 1 | <node>
|
| 2 | <interface name="org.openbmc.SensorInteger">
|
Norman James | ce46e3e | 2015-08-30 22:25:55 -0500 | [diff] [blame] | 3 | <method name="init"/>
|
Norman James | dc95ef7 | 2015-08-27 21:27:03 -0500 | [diff] [blame] | 4 | <method name="getValue">
|
| 5 | <arg name="value" type="i" direction="out"/>
|
| 6 | </method>
|
| 7 | <method name="setValue">
|
| 8 | <arg name="value" type="i" direction="in"/>
|
| 9 | </method>
|
| 10 | <method name="getUnits">
|
| 11 | <arg name="units" type="s" direction="out"/>
|
| 12 | </method>
|
| 13 | <method name="setPollInterval">
|
| 14 | <arg name="poll_interval" type="i" direction="in"/>
|
| 15 | </method>
|
Norman James | dc95ef7 | 2015-08-27 21:27:03 -0500 | [diff] [blame] | 16 |
|
Norman James | 90baede | 2015-09-02 20:32:49 -0500 | [diff] [blame^] | 17 | <property name="value" type="i" access="readwrite"/>
|
Norman James | dc95ef7 | 2015-08-27 21:27:03 -0500 | [diff] [blame] | 18 | <property name="units" type="s" access="read"/>
|
Norman James | dc95ef7 | 2015-08-27 21:27:03 -0500 | [diff] [blame] | 19 | <property name="poll_interval" type="i" access="read"/>
|
Norman James | dc95ef7 | 2015-08-27 21:27:03 -0500 | [diff] [blame] | 20 | <property name="heatbeat" type="i" access="read"/>
|
| 21 |
|
| 22 | <signal name="Changed">
|
| 23 | <arg name="value" type="i"/>
|
Norman James | 90baede | 2015-09-02 20:32:49 -0500 | [diff] [blame^] | 24 | <arg name="units" type="s"/>
|
Norman James | dc95ef7 | 2015-08-27 21:27:03 -0500 | [diff] [blame] | 25 | </signal>
|
| 26 | <signal name="Heartbeat">
|
| 27 | <arg name="bus_name" type="s"/>
|
| 28 | </signal>
|
| 29 | </interface>
|
| 30 | <interface name="org.openbmc.SensorString">
|
| 31 | <method name="getValue">
|
| 32 | <arg name="value" type="s" direction="out"/>
|
| 33 | </method>
|
| 34 | <method name="getUnits">
|
| 35 | <arg name="units" type="s" direction="out"/>
|
| 36 | </method>
|
| 37 | <property name="value" type="i" access="read"/>
|
| 38 | <property name="units" type="s" access="read"/>
|
| 39 | <signal name="Changed">
|
| 40 | <arg name="value" type="s"/>
|
| 41 | </signal>
|
| 42 | </interface>
|
| 43 | <interface name="org.openbmc.SensorIntegerThreshold">
|
| 44 | <method name="set">
|
| 45 | <arg name="lower_critical" type="i" direction="in"/>
|
| 46 | <arg name="lower_warning" type="i" direction="in"/>
|
| 47 | <arg name="upper_warning" type="i" direction="in"/>
|
| 48 | <arg name="upper_critical" type="i" direction="in"/>
|
| 49 | </method>
|
| 50 | <method name="getState">
|
| 51 | <arg name="state" type="i" direction="out"/>
|
| 52 | </method>
|
| 53 |
|
Norman James | ce46e3e | 2015-08-30 22:25:55 -0500 | [diff] [blame] | 54 | <property name="lower_critical" type="i" access="readwrite"/>
|
| 55 | <property name="lower_warning" type="i" access="readwrite"/>
|
| 56 | <property name="upper_warning" type="i" access="readwrite"/>
|
| 57 | <property name="upper_critical" type="i" access="readwrite"/>
|
Norman James | dc95ef7 | 2015-08-27 21:27:03 -0500 | [diff] [blame] | 58 | <property name="state" type="i" access="read"/>
|
| 59 |
|
| 60 | <signal name="Warning"/>
|
| 61 | <signal name="Critical"/>
|
Norman James | 90baede | 2015-09-02 20:32:49 -0500 | [diff] [blame^] | 62 | <signal name="Normal"/>
|
Norman James | dc95ef7 | 2015-08-27 21:27:03 -0500 | [diff] [blame] | 63 | </interface>
|
Norman James | 90baede | 2015-09-02 20:32:49 -0500 | [diff] [blame^] | 64 | <interface name="org.openbmc.SensorI2c">
|
| 65 | <property name="dev_path" type="s" access="readwrite"/>
|
| 66 | <property name="address" type="s" access="readwrite"/>
|
| 67 | </interface>
|
| 68 |
|
Norman James | dc95ef7 | 2015-08-27 21:27:03 -0500 | [diff] [blame] | 69 | </node>
|