0 Replies Latest reply: Jun 24, 2012 8:33 PM by vincent wang RSS

Dtu UDP Data Format Document

vincent wang Novice

Dtu UDP Data Format Document

 

DTU UDP mode’s work process

After DTU repowered, it will dail up automaticafter sucessfulit will send register packet to server. When register is successful, the data can be transmitted between the DTU and server.

 

Data format (DTU send to DSC):

 

  1. 1.  Register packet

   

Start flag

Packet style

Packet length

DTU ID

DTU IP address

DTU port

Finish flag

1 byte

1 byte

2 bytes

11 bytes

4 bytes

2 bytes

1 byte

0x7b

0x01

0x16

 

 

 

0x7b

 

Note

        DTU ID  DTU RUIM card’s phone numbersuch as13312345678

        DTU IP address   IP Address which was assigned when DTU    PPP dail-up sucessful

        DTU port  DTU local port

 

2Data packet

      

Start flag

Packet style

Packet length

DTU ID

Finish flag

data

1 byte

1 byte

2 bytes

11 bytes

1 byte

Less 1024 bytes

0x7b

0x09

0x10

 

0x7b

 

 

 

The packet DSC send DTU

 

  1. 1.  The response packet to DTU:

 

Start flag

Packet style

Packet length

DTU  ID

Finish flag

1 byte

1 byte

2 bytes

11 bytes

1 byte

0x7b

0x81

0x10

 

0x7b

 

2The data packet  which DSC send to DTU

  

Start flag

Packet style

Packet length

DTU ID

Finish flag

Data packet

1 byte

1 byte

2 bytes

11 bytes

1 byte

Less 1024 bytes

0x7b

0x89

0x10

 

0x7b

 

 

  1. 2.  Logout packet which DSC send to DTU:

 

 

  

Start flag

Packet style

Packet length

DTU ID

Finish flag

1 byte

1 byte

2 bytes

11 bytes

1 byte

0x7b

0x82

0x10

 

0x7b

 

Xiamen Four-Faith Communication Technology Co.ltd

http://www.four-faith.com/En

 

Four-Faith HQ

Add.: J1-J3, 3rd Floor, No. 44, Guan Ri

Road, Software Park, Xiamen, China

Post code:361008

 

TEL:     +86-592-5907276  5907277

FAX:     +86-592-5912735
Mail:     vincent@four-faith.com