Get Device Information
更新时间: 2025/06/26
在Gitcode上查看源码

40h-获取设备信息(Get-Device-Information)

修订记录

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

基本信息

功能说明

获取定制设备的信息。

权限

ReadOnly

命令信息

请求信息

字节顺序域取值说明
NetFn3Eh
CMD40h
1Device entity ID
0x0a – Power supply
22 Device offset (1 based on)

响应信息

字节顺序域取值说明
1Completion Code
80h=Device entity ID is not present
81h=device offset exceed limitation
2:NDevice 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

返回到索引