厦 门 才 茂 通 信 科 技 有 限 公 司
Xiamen Cai
more
Communication Technology Co.,Ltd
Add: 3F, 1st Building, 23# Wanghai Road, Xiamen
Tel: +86-592-5902655
Web:
http://en.cai
more.
com
Fax:+86-592-5975885
33
4 byte 11 byte
1 byte 4 byte
1 byte
Description:
ID:
8 HEX number
PHONE_NUMBER:
11bytes ASCII code
IP_ADD:
IP address(HEX)
ETX:
0x00, end mark of packet
2. Default registered respond packet:
All series of DTU do not respond it by default.
3. Default heartbeat packet:
All series of DTU’s default heartbeat packet’s content is
FE
.
4. Default heartbeat response packet:
All series of DTU do not respond it by default.
5. Default data format of DTU:
All series of DTU send data to server transparently.
Notice:
1. It suggests that fix the length of registered packet to 21 bytes if you use Caimore’s demo software of
data center and want to change the registered packet.
2. If
FE
is included in the data, we will take a conversion to escape it for the content of heartbeat packet is
FE
. If you want to develop a data center software by yourself, please consult our technical support stuff to
get the conversion rule.
Appendix V: UDP Protocol Document
If DTU works in UDP mode, it will send a registered packet to server at first connection. When there
is no data transmitting with server during 60 seconds, DTU will send a heartbeat packet to server to keep
the connection.
The data format that DTU send to data center:
1. Default registered packet:
Starting
Mark
Type
Length DTU
Identify
Code
DTU
IP
Address
Local Port
Ending
Mark
1 byte
1 byte
2 bytes 11 bytes
4 bytes
2 bytes
1 byte
0x7b
0x01
0x00
0x16
0x7b