Host Protocols Direct Protocol CONTROL class IOs and UI SET LED RGB
September 3, 2025 at 8:28 AMSET LED RGB
Role
Drive the device’s RGB LED directly.
Access condition
Free.
Command
| Field | Value |
|---|---|
| CLA | 58 (CONTROL) |
| INS | 91 |
| Data | See the various ‘Parameters’ options below |
Parameters
Set mode
| Bytes | Content |
|---|---|
| 0 | Mode of the RGB LED |
Set color - No fading
| Bytes | Content |
|---|---|
| 0 | RED value |
| 1 | GREEN value |
| 2 | BLUE value |
Fade to color
| Bytes | Content |
|---|---|
| 0 | RED value |
| 1 | GREEN value |
| 2 | BLUE value |
| 3-4 | Transition time in milliseconds (MSB-first) |
Response
None