Obtain the sensor reading valu
更新时间: 2026/08/06
在Gitcode上查看源码Obtain the sensor reading valu
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Obtains the sensor reading value.
Privilege
ReadOnly
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 32h |
| CMD | B2h |
| 1 | Fru id |
| 2:3 | Fru type 0x0002: control board 0x0004: BBU 0x0001: interface card (CST0221V6) |
| 4 | Device ID index, starting from 0 |
| 5 | Sdr type 0x1: temperature 0x2: voltage |
| 6 | Need num |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2:(need_num*2+1) | Sensor reading value |
Command Example
Obtain the reading value of the sensor.
Request:
bash
ipmitool raw 0x32 0xb2 0x00 0x02 0x00 0x00 0x01 0x2Response:
text
ae 01 d2 00