Set and Retrieve Color Temperature
# Set and Retrieve Color Temperature
Set Absolute Color Temperature
Request format: <STX><FLAG><Command><Color Temperature level><ETX><LRC>
| Field | Format | Length | Description |
|---|---|---|---|
| Command | AN | 3 | “801” |
| Color Temperature level | AN | 5 | "02000”…“10000” |
Example: Set the device color temperature to 8000K
Control PC sends:
<STX><FLAG><38H><30H><31H>><30H><38H><30H><30H><30H><ETX><LRC>
Device responds:
<ACK>
Example of command sent: 02 11 38 30 31 30 38 30 30 30 03 32
Retrieve Device Color Temperature
Request format: <STX><FLAG><Command><ETX><LRC>
| Field | Format | Length | Description |
|---|---|---|---|
| Command | AN | 3 | “899” |
Response format: <STX><FLAG><Command><Color Temperaure Level><ETX><LRC>
| Field | Format | Length | Description |
|---|---|---|---|
| Command | AN | 3 | “899” |
| Color Temperaure Level | AN | 5 | "02000”…“10000” |
Example: Retrieve the color temperature of the device (current color temperature: 8000K)
Control PC sends:
<STX><FLAG><38H><39H><39H><ETX><LRC>
Device responds:
<ACK>
<STX><FLAG><38H><39H><39H><30H><38H><30H><30H><30H><ETX><LRC>
Example of command sent: 02 11 38 39 39 03 32
Example of device response:
02 11 06 03 14
02 11 38 39 39 30 36 35 30 30 03 18