Get LED Color Capabilities
更新时间: 2026/08/06
在Gitcode上查看源码

Get LED Color Capabilities

Change History

openUBMC VersionRevision DateDescription
25.062025/06/26Initial draft: add command details

Basic Information

Function Description

Obtains the LED color.

Privilege

ReadOnly

Command Information

Request Information

ByteData Field
NetFnPICMG 2Ch
CMD06h
1PICMG Identifier, Indicates that this is a PICMG defined group extension command. A value of 00h is used
2FRU Device ID
3LED ID
FFh Reserved

Response Information

ByteData Field
1Completion Code
CCh–If the LED ID contained in the Request data is not present on the FRU
2PICMG Identifier
Indicates that this is a PICMG defined group extension command. A value of 00h is used
3LED 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
4Default 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
5Default 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 0

Response:

text
0f 2d 00 06 00 00 20 05 00

Back to Index