Get Sensor Threshold
更新时间: 2026/08/06
在Gitcode上查看源码Get Sensor Threshold
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
This API is used to obtain the sensor threshold.
Privilege
ReadOnly
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | S/E 04h |
| CMD | 27h |
| 1 | sensor number (FFh=reserved) |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2 | [7:6]-reserved. Return as 00b Readable thresholds: This bit mask indicates which thresholds are readable [5]-1b=upper non-recoverable threshold [4]-1b=upper critical threshold [3]-1b=upper non-critical threshold [2]-1b=lower non-recoverable threshold [1]-1b=lower critical threshold [0]-1b=lower non-critical threshold |
| 3 | lower non-critical threshold (if present, ignore on read otherwise) |
| 4 | lower critical threshold (if present, ignore on read otherwise) |
| 5 | lower non-recoverable threshold (if present, ignore on read otherwise) |
| 6 | upper non-critical threshold (if present, ignore on read otherwise) |
| 7 | upper critical (if present, ignore on read otherwise) |
| 8 | upper non-recoverable (if present, ignore on read otherwise) |
Command Example
Request:
bash
ipmicmd -k "0f 00 04 27 01" smi 0Response:
text
0f 1a 00 02 00 2a 37 00