beautypg.com

B. serial communication protocol, Serial protocol, Protocol data format – RGBLink DXP V1616 User Manual User Manual

Page 42: Serial communication protocol, B . serial communication protocol

background image

DXP V1616 User Manual 42

B.

Serial Communication Protocol

Serial protocol

Baud rate 115200 BPS; 1 bit start bit; 1 bit stop bit; No parity bit;

Protocol data format

Sending data format as follows, defined as shown in table 1.

ADDR * SN * CMD * DAT1 * DAT2 * DAT3 * DAT4 * CHKSUM

Table 2 sends data format definition

Symbol

Byte

Definition

Note

ADDR

1

Address

SN

1

Used for transmission flow controlling

CMD

1

Command type

DAT1

1

DAT2

1

DAT3

1

DAT4

1

CHKSUM

1

All protocol data

Receiving data format as follows, defined as shown in table 3.

ADDR * SN * CMD * DAT1 * DAT2 * DAT3 * DAT4 * CHKSUM

Table 4 receiving data format definition

Symbol

Byte

Definition

Note

ADDR

1

Address

Not used

SN

1

Used for transmission flow controlling

CMD

1

Command type

DAT1

1

DAT2

1

DAT3

1

DAT4

1

CHKSUM

1

All protocol data

CHKSUM = ADDR + SN + CMD + DAT1 + DAT2 + DAT3 + DAT4.

SN is used for flow controlling, with beginning connection settings

This manual is related to the following products: