ELAN Home Systems DT22 manual Appendix B Serial Protocol, Port Configuration, Messages

Models: DT22

1 76
Download 76 pages 9.32 Kb
Page 57
Image 57
Appendix B: Serial Protocol

E L A N H O M E S Y S T E M S

DT22 INSTALLATION MANUAL

Appendix B: Serial Protocol

Port Configuration

8 data bit, no parity, 1 stop bit

Baud Rates:

115200: Default, lower speeds will cause increased lag in unsolicited notifications.

57600

38400

19200

9600

Messages

Incoming messages must be terminated with a carriage return (13 in decimal or 0x0d in hex.) Carriage returns will be represented as <cr> in this document.

Incoming linefeeds, 10 in decimal or 0x0D in hex, will be ignored.

All responses and unsolicited notifications will be terminated by carriage return only.

Unsolicited Feedback notifications

This is feedback that the DT22 automatically transmits whenever its state changes. The <COMMAND> section will state if a response will be sent unsolicited or not.

Query/Response Command Structure

Query commands ask the DT22 for information.

Each main body of the command structure is seperated by a comma (44 in decimal or 0x2C in hex.)

Query

&DT,<dd>,<COMMAND>,<SUBCOMMAND>,?<cr>

&DT will always preceed the query

<SUBCOMMAND> may or may not be used.

Always end in ,?<cr> (comma, question mark, carriage return)

Response:

*DT,<dd>,<COMMAND>,<SUBCOMMAND><cr>

*DT will always preceed the response

<SUBCOMMAND> may or may not be used.

Always end in <cr> ( carriage return)

© ELAN Home Systems 2009 • All rights reserved.

Page 57

Page 57
Image 57
ELAN Home Systems DT22 manual Appendix B Serial Protocol, Port Configuration, Messages, Unsolicited Feedback notifications