Get Device Information
更新时间: 2026/08/06
在Gitcode上查看源码Get Device Information
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
This command is used to obtain the information about the customized device.
Privilege
ReadOnly
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 3Eh |
| CMD | 40h |
| 1 | Device entity ID 0x0a – Power supply |
| 2 | 2 Device offset (1 based on) |
Response Information
| Byte | Data Field |
|---|---|
| 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 |
Command Example
Obtain the customized device information about a power module.
Request:
bash
ipmicmd -k "0f 00 3e 40 0a 01" smi 0Response:
text
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