Get LED Color Capabilities
更新时间: 2026/08/06
在Gitcode上查看源码Get LED Color Capabilities
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Obtains the LED color.
Privilege
ReadOnly
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | PICMG 2Ch |
| CMD | 06h |
| 1 | PICMG Identifier, Indicates that this is a PICMG defined group extension command. A value of 00h is used |
| 2 | FRU Device ID |
| 3 | LED ID FFh Reserved |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code CCh–If the LED ID contained in the Request data is not present on the FRU |
| 2 | PICMG Identifier Indicates that this is a PICMG defined group extension command. A value of 00h is used |
| 3 | LED Color Capabilities A bit field. When the bit set, the LED supports the color Bit LED [7] Reserved, is set to 0 [6] LED supports WHITE [5] LED supports ORANGE [4] LED supports AMBER [3] LED supports GREEN [2] LED supports RED [1] LED supports BLUE [0] Reserved, is set to 0 |
| 4 | Default LED Color in Local Control State Bit numbers [7:4] Reserved, is set to 0 [3:0] Hex Value Function 0h Local Control not supported 1h BLUE 2h RED 3h GREEN 4h AMBER 5h ORANGE 6h WHITE 7h-Fh Reserved |
| 5 | Default LED Color in Override State Bit numbers [7:4] Reserved, is set to 0 [3:0] Hex Value Function 0h Reserved 1h BLUE 2h RED 3h GREEN 4h AMBER 5h ORANGE 6h WHITE 7h-Fh Reserved |
| (6) | LED Flags[1] A bit field. When the bit is set, it has the stated meaning Bit numbers [7:2]Reserved, is set to 0 [1] LED has a hardware restriction other than that described by bit 0 and will not function unless that restriction is met. Consult hardware documentation for the FRU [0] LED is powered from Payload power and will not function when Payload power is off |
| 1 Field added in Revision 3.0 of this specification |
Command Example
Obtain the LED color.
Request:
bash
ipmicmd -k "0f 00 2c 06 00 00 02" smi 0Response:
text
0f 2d 00 06 00 00 20 05 00