Research Article

LED Context Lighting System in Residential Areas

Table 10

The structure of a transmission data packet for LED control.

012~345678910~1112

STX
(1 byte)
Module ID
(1 byte)
Gateway ID
(2 bytes)
Module type
(1 byte)
R data
(1 byte)
G data
(1 byte)
B data
(1 byte)
Warm data
(1 byte)
Cool data
(1 byte)
CRC
(2 bytes)
ETX
(1 byte)

0x060x64~0x960x88880x020x000x000x000x00~0xff0x00~0xff0x0000 (null)0x07