## Features - Mixed Light

### Function Introduction
Supports turning on white light alone, turning on color light alone, and turning on white light and color light at the same time.

### DP protocol
- DP: mix_rgbcw

|Serial number| Name | Number of bytes| Identifier| Data type| Field attribute| Field description|
|---|---|---|---|---|---|---|
|1| Version|1| version| Enumeration| Initial version: 00||
|2| Flag|1| flag| Bit | Inverse calculation Bit0: White light switch Identifier: switch_white 0: Off 1: On Bit1: Color light switch Identifier: switch_color 0: Off 1: On Bit2: Mixing light function flag Identifier: mix_sign 0: Off 1: On Bit3: Reserved Identifier: null1 0: Reserved 1: Reserved Bit4: Reserved Identifier: null2 0: Reserved 1: Reserved Bit5: Reserved Identifier: null3 0: Reserved 1: Reserved Bit6: Reserved Identifier: null4 0: Reserved 1: Reserved Bit7: Reserved Identifier: null5 0: Reserved 1: Reserved | The panel determines whether to jump to the mixed light interface through the mixed light function flag bit. |
|3| Hue| 2| hue | Value | Maximum value: 360 Minimum value: 0 Step: 1 Multiple: 0||
|4| Saturation| 2| saturation| Value | Maximum value: 1000 Minimum value: 0 Step: 1 Multiple: 0||
|5| Brightness| 2| value| Value | Maximum value: 1000 Minimum value: 0 Step: 1 Multiple: 0||
|6| White light brightness| 2| brightness| Value | Maximum value: 1000 Minimum value: 0 Step: 1 Multiple: 0||
|7| White light color temperature| 2| CCT | Value | Maximum value: 1000 Minimum value: 0 Step: 1 Multiple: 0||

### How to develop

- Monitor and report DP according to UI interaction
  - [Specific monitoring and distribution examples](/en/miniapp/solution-panel/ability#device-function-point-management)

### Notes
None

### Related materials
- [Function page]: 
  - None
- [Component]: 
  - None
- [Tutorial]: 
  - None
- [SDK]: 
  - None
- [API]: 
  - None