CHY FIREMATE CO. LTD. 2400M User Manual

Page of 4
 
3.  Pin Definition 
 
Pin No. 
Pin Type 
Function Description 
Digital I/O 
GPIO/ UART_RX 
Digital I/O 
GPIO/ UART_TX 
Digital I/O 
GPIO / Digital IO 
Digital I/O 
GPIO / Digital IO 
Digital I/O 
GND 
Digital I/O 
Vcc 
Digital I/O 
Vcc Enable 
Digital I/O 
GPIO / CTS 
Digital I/O 
GPIO / RTS 
10 
Digital I/O 
GPIO / Digital IO 
4.  Protocol : 
Communication parameters:  115200 , 8 , n , 1 
The maximum of every packet in the two‐way communication is 20 Bytes   
Every communication will be transferred by the packet, it's an one‐inquiry‐one‐answer 
approach.     
When a host sends an inquiry packet, clients will answer with a received packet.     
Host    RXD Time Out:0.5 sec.   
 
Format of command and answer packet: 
(1Byte) 
(1Byte) 
(1Byte) 
(1Byte) 
(nByte) 
Start code 
Length of 
packet   
Command Type 
Command Code 
Command 
Parameter 
 
Start code of the host,    fixed with ‘$’(24H) 
Start code of the answer of client , fixed with ‘%’(25H) 
Command type and code are defined by HEX Code 
Command parameter is based on the conditions of the command, there are HEX Code ,   
or ASCII Code.