Set Property Value Common Command
更新时间: 2026/08/06
在Gitcode上查看源码Set Property Value Common Command
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 set the attribute value.
Privilege
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=35h |
| 5:6 | Function ID. For details, see Table 1,LSB first. |
| 7 | Set Information Count M: Set the number of pieces of information |
| 8 | [7:1]: reserved [0]: cascading flag 0: last data 1: middle data |
| 9:10 | Offset of the written data. The value starts from 0 (LSB first). Write data in sequence when they are written as multiple frames. |
| 11:N | //Data to be written. The following is the data to be written. //datax:y x indicates the start byte and y indicates the number of bytes. // Specify the object index. data1:2-Object Key ID, LSB first index attribute information ID. If the object does not have an index attribute, the value is 0xffff, indicating that the first object of the class is queried. data3: 1-Reserved. The value is 0. data4:1-Object Key Length L. If Object Key ID is set to 0xffff, this field is set to 1. data5: L-Object Key Value. The specified information value is used as the object index value. For details, see Table 1. LSB first. If the object key ID is 0xffff, this field is set to 0. //The following specifies the information ID and information value. When the value of an attribute exceeds the maximum length (220 bytes), the value needs to be set by frame. Each frame must contain the triplet information ID, Reserved, and information Length. data(X):2-information1 ID, LSB first data (X+2): 1-Reserved. The value is 0. data(X+3):1-information1 Length L data (X+4): L-information1 Value. Each frame of data must contain the information ID, reserved, and information length triplets, including the frame division. ...... dataY:2-informationM ID, LSB first data (Y+2):1-Reserved. The value is 0. data(Y+3):1-informationM Length L data(Y+4):L-informationM Value NOTE: If the value of an attribute exceeds 220 bytes, the attribute needs to be set by frame. Each frame must contain the triplet information ID, Reserved, and information Length. |
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. |
Command Example
Set an attribute value.
Request:
bash
Request:
ipmicmd -k "0f 00 MM NN" smi 0
Response:
0f MM NN