Get Component Parameters
更新时间: 2026/08/06
在Gitcode上查看源码Get Component Parameters
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Query device parameters.
Privilege
ReadOnly
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 93h |
| 1:3 | Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h. |
| 4 | Sub command, sub command = 90h |
| 5:8 | Component Type, LS Byte first [31]: value range flag of the device type 0- device type identifier. For details, see the definition of PLDM Entity ID Code tables in the DMTF specification document DSP0249. 1- device type identifier. For details, see the Table 3 definition table. [16:30]: reserved [0:15]: device type identifier |
| 9 | Group ID. 0xFF indicates an invalid value. If the device ID is not globally unique in the product, this field must be set based on the product plan. The background performs indexing based on the group ID and device ID. If the device ID is globally unique in the product, this field is set to an invalid value. The background performs indexing only based on the device ID. If the device number is globally unique but filled with a valid value or the device number is not globally unique but filled with an invalid value, C9h is returned. |
| 10:11 | Component Id, LS Byte first Device number. If the device supports the silkscreen number, the value is the same as the silkscreen number. If the device does not support the silkscreen number, the value is the logical number. |
| 12:13 | Parameter Selector, LS Byte first. Different parameters are used as follows: General type. The Selector is limited to [0x0000, 0xBFFF], which is applicable to all device types. For details, see Table 1.Dedicated type. The value range of Selector is [0xC000, 0xFFFF]. For details, see Table 2. |
| 14:15 | Read Offset, LS Byte first Offset of the read data, starting from 0 |
| 16 | Length Length of the data to be read (a maximum of 240 bytes) |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2:4 | Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h. |
| 5 | End of List indicates whether the data reading is complete, Long data may need to be read multiple times. This field is used to check whether data is completely read. [7:1]: reserved [0]: End of list 0=last data 1=middle data |
| 6:N | Data: length of the returned data <=length of the read data. The value varies according to the value of Parameter Selector in the request. General type. The Selector is limited to [0x0000, 0xBFFF], which is applicable to all device types. For details, see Table 1.Dedicated type. The value range of Selector is [0xC000, 0xFFFF]. For details, see Table 2. |
Command Example
Request:
bash