Get Sensor Reading Factors 命令详情
更新时间:2025/06/26
在Gitcode上查看源码

修订记录

openUBMC版本号修订日期修订人修订内容
25.062025/06/26pengqiang-gs初稿,新增命令详情

基本信息

功能说明

获取 传感器记录 的计算数据。 This command returns the Sensor Reading Factors fields for the specified reading value on the specified sensor.

权限

ReadOnly

命令信息

请求信息

字节顺序域取值说明
1sensor number (FFh = reserved)
2reading byte

响应信息

字节顺序域取值说明
1Completion Code.
2Next reading. This field indicates the next reading for which a different set of sensor reading factors is defined. If the reading byte passed in the request does not match exactly to a table entry, the nearest entry will be returned, and this field will hold the reading byte value for which an exact table match would have been obtained. Once the ‘exact’ table byte has been obtained, this field will be returned with a value such that, if the returned value is used as the reading byte for the next request, the process can be repeated to cycle through all the Sensor Reading Factors in the device’s internal table. This process shall ‘wrap around’ such a complete list of the table values can be obtained starting with any reading byte value.
3M: LS 8 bits
4[7:6] - M: MS 2 bits
[5:0] - Tolerance in +/- ½ raw counts
5[7:0] - B: LS 8 bits
6[7:6] - B: MS 2 bits
Unsigned, 10-bit Basic Sensor Accuracy in 1/100 percent scaled up by unsigned Accuracy exponent.[
5:0] - Accuracy: LS 6 bits
7[7:4] - Accuracy: MS 4 bits
[3:2] - Accuracy exp: 2 bits, unsigned
[1:0] - reserved: 2 bits, returned as 00b
8[7:4] - R (result) exponent 4 bits, signed
[3:0] - B exponent 4 bits, signed

命令样例

样例1:

  • 请求:
  • 响应:

返回到索引