Chengdu Ebyte Electronic Technology Co.,Ltd E180-DTU(ZG120-ETH)User Maunel
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
Contents
1. Overview....................................................................................................................................................................................................... 3
1.1 Introduction....................................................................................................................................................................................... 3
2. Hardware parameter................................................................................................................................................................................... 3
2.1 Main specification parameter....................................................................................................................................................... 3
2.2 Size and pin definition ................................................................................................................................................................... 4
3. Function description................................................................................................................................................................................... 5
3.1 Typical application model ............................................................................................................................................................. 5
3.2 Basic function................................................................................................................................................................................... 5
3.2.1 SOCKET Function............................................................................................................................................................. 5
3.2.2 TCP Client Function .......................................................................................................................................................... 6
3.2.3 TCP Server Function ......................................................................................................................................................... 6
3.2.4 UDP Client Function ......................................................................................................................................................... 7
3.2.5 UDP Server Function......................................................................................................................................................... 7
→Wireless...................................................................................................................................................................................... 8
3.2.6 ZigBee Device type............................................................................................................................................................ 8
3.2.7 Data transmission method ................................................................................................................................................ 9
3.2.8 Output mode of receiving data...................................................................................................................................... 10
3.3 Feature..............................................................................................................................................................................................11
3.3.1 Page configuration ........................................................................................................................................................... 11
3.3.2 Heartbeat packet ...............................................................................................................................................................11
3.3.3 Registration packet...........................................................................................................................................................12
3.3.4 IoT........................................................................................................................................................................................12
3.3.4.4 ONENET ..................................................................................................................................................................... 14
3.3.5 Short connection............................................................................................................................................................ 14
3.3.6 KeepAlive....................................................................................................................................................................... 15
3.3.7 Timeout restart .................................................................................................................................................................. 15
3.3.8 Clear cache.........................................................................................................................................................................15
3.3.9 Link/Data receiving and sending command............................................................................................................... 16
3.3.10 Restore factory setting .................................................................................................................................................. 16
4. Quick start ..................................................................................................................................................................................................16
4.1 Default parameter.......................................................................................................................................................................... 16
4.2 DTU Instruction............................................................................................................................................................................. 17
4.3 TCP Client Instruction .................................................................................................................................................................19
4.4 TCP Server Instruction.................................................................................................................................................................20
4.5 UDP Client Instruction.................................................................................................................................................................21
4.6 UDP Server Instruction................................................................................................................................................................ 22
4.7 WEB Introduction .........................................................................................................................................................................23
Revision history .............................................................................................................................................................................................25
About us........................................................................................................................................................................................................... 25