Home
last modified time | relevance | path

Searched hist:"7 b03727602014997c99e13614304ff53782ec807" (Results 1 – 3 of 3) sorted by relevance

/openbmc/phosphor-host-ipmid/include/dbus-sdr/
H A Dstoragecommands.hppdiff 7b03727602014997c99e13614304ff53782ec807 Mon Jun 17 14:12:40 CDT 2024 Johnathan Mantey <johnathanx.mantey@intel.com> Add ability to add 'energy' sensor Type 01 records

Allow the getSensorTypeFromPath to create Type 01 records for D-Bus
entries with 'energy' in their path name.

Energy sensors are 'Other Unit-based sensors' and are considered to be
'threshold' sensors. The unit of measure is 'joules'.

Tested:
Confirmed sensors with the 'energy' string preceding the sensor name
generated a Type 01 record with the Sensor Type == 0xb, and the Event
Reading type set to 0x01. The record also set the Sensor Units 2 entry
to 0x07 to indicate the unit of measure is in joules.

Change-Id: I6ca9027e1ff2a8ad58640f851a9bd9f102ba55e9
Signed-off-by: Johnathan Mantey <johnathanx.mantey@intel.com>
H A Dsdrutils.hppdiff 7b03727602014997c99e13614304ff53782ec807 Mon Jun 17 14:12:40 CDT 2024 Johnathan Mantey <johnathanx.mantey@intel.com> Add ability to add 'energy' sensor Type 01 records

Allow the getSensorTypeFromPath to create Type 01 records for D-Bus
entries with 'energy' in their path name.

Energy sensors are 'Other Unit-based sensors' and are considered to be
'threshold' sensors. The unit of measure is 'joules'.

Tested:
Confirmed sensors with the 'energy' string preceding the sensor name
generated a Type 01 record with the Sensor Type == 0xb, and the Event
Reading type set to 0x01. The record also set the Sensor Units 2 entry
to 0x07 to indicate the unit of measure is in joules.

Change-Id: I6ca9027e1ff2a8ad58640f851a9bd9f102ba55e9
Signed-off-by: Johnathan Mantey <johnathanx.mantey@intel.com>
/openbmc/phosphor-host-ipmid/dbus-sdr/
H A Dsensorcommands.cppdiff 7b03727602014997c99e13614304ff53782ec807 Mon Jun 17 14:12:40 CDT 2024 Johnathan Mantey <johnathanx.mantey@intel.com> Add ability to add 'energy' sensor Type 01 records

Allow the getSensorTypeFromPath to create Type 01 records for D-Bus
entries with 'energy' in their path name.

Energy sensors are 'Other Unit-based sensors' and are considered to be
'threshold' sensors. The unit of measure is 'joules'.

Tested:
Confirmed sensors with the 'energy' string preceding the sensor name
generated a Type 01 record with the Sensor Type == 0xb, and the Event
Reading type set to 0x01. The record also set the Sensor Units 2 entry
to 0x07 to indicate the unit of measure is in joules.

Change-Id: I6ca9027e1ff2a8ad58640f851a9bd9f102ba55e9
Signed-off-by: Johnathan Mantey <johnathanx.mantey@intel.com>