Get Device Information
更新时间: 2025/06/26
在Gitcode上查看源码40h-获取设备信息(Get-Device-Information)
修订记录
| openUBMC版本号 | 修订日期 | 修订内容 |
|---|---|---|
| 25.06 | 2025/06/26 | 初稿,新增命令详情 |
基本信息
功能说明
获取定制设备的信息。
权限
ReadOnly
命令信息
请求信息
| 字节顺序 | 域取值说明 |
|---|---|
| NetFn | 3Eh |
| CMD | 40h |
| 1 | Device entity ID 0x0a – Power supply |
| 2 | 2 Device offset (1 based on) |
响应信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | Completion Code 80h=Device entity ID is not present 81h=device offset exceed limitation |
| 2:N | Device information: (include manufacturer, part number/model name, FW version, HW version) Device Manufacturer Data 1 – string length (include NULL) Data 2:X – string data Device part number (model name) Data X+1 – string length (include NULL) Data X+2:Y – string data FW Version: Data Y+1- string length (include NULL) Data Y+2:Z – string data HW version: Data Z+1 – string length (include NULL) Data Z+2: N – string data |
命令样例
获取电源的定制设备信息
请求:
ipmicmd -k "0f 00 3e 40 0a 01" smi 0响应:
0f 3f 00 40 00 06 48 75 61 77 65 69 0d 50 41 43 32 30 30 30
53 31 32 2d 42 47 0e 44 43 3a 31 31 39 20 50 46
43 3a 31 31 39 00