blob: 7b89a1846443c3a5988e9e75b9f99452cdba99ce [file] [log] [blame]
Chris Austenac4604a2015-10-13 12:43:27 -05001#ifndef __HOST_IPMI_SEN_HANDLER_H__
2#define __HOST_IPMI_SEN_HANDLER_H__
3
Chris Austen0012e9b2015-10-22 01:37:46 -05004#include <stdint.h>
5
Chris Austenac4604a2015-10-13 12:43:27 -05006// IPMI commands for net functions.
7enum ipmi_netfn_sen_cmds
8{
Chris Austenac4604a2015-10-13 12:43:27 -05009 IPMI_CMD_GET_SENSOR_TYPE = 0x2F,
10 IPMI_CMD_SET_SENSOR = 0x30,
Chris Austenac4604a2015-10-13 12:43:27 -050011};
12
Chris Austen0012e9b2015-10-22 01:37:46 -050013#define MAX_DBUS_PATH 128
14struct dbus_interface_t {
15 uint8_t sensornumber;
16 uint8_t sensortype;
17
18 char bus[MAX_DBUS_PATH];
19 char path[MAX_DBUS_PATH];
20 char interface[MAX_DBUS_PATH];
21};
Chris Austenac4604a2015-10-13 12:43:27 -050022#endif