background image

Chengdu Ebyte Electronic Technology Co.,Ltd.

EBT3001 User Manual

Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.

19

Alibaba Cloud MQTT platform communication test:

4.3 Advanced Features

4.3.1 Random native port

TCP client, UDP client, HTTP client, MQTT client can configure the local port to 0 (use random local port), and server
mode cannot use random port, otherwise the client cannot establish a connection correctly.
Using a random port connection can quickly re-establish the connection when the device disconnects the server
unexpectedly, preventing the server from rejecting the connection due to four waves of incompleteness. It is
recommended to use a random port in client mode .
The device will automatically enable random ports when configuring the TCP client, HTTP client, and MQTT client
modes.

4.3.2 Heartbeat Packet Function

In client mode, users can choose to send heartbeat packets and set the time of heartbeat packets by themselves. The
heartbeat packet can be selected in two modes: network heartbeat packet and serial port heartbeat packet. It supports
hexadecimal and ASCII transmission. This heartbeat packet is not MQTT heartbeat and needs to be turned off in MQTT
client mode. MQTT heartbeat only needs to configure KeepAlive in "MQTT function settings" Time, it is recommended
not to configure less than 60s, for example, 120s is recommended in the Alibaba Cloud manual.
Heartbeat packet sending mode:
(1) The default is to turn off the heartbeat packet mode.
(2) Serial port mode -> The device sends heartbeat content to the serial bus according to the set heartbeat interval.
(3) Network port mode -> The device sends heartbeat content to the network port bus according to the set heartbeat
interval.
Customize heartbeat packet content (maximum support 40 bytes (ASCII) data, 20 bytes (HEX) data)

Summary of Contents for EBT3001

Page 1: ...Chengdu Ebyte Electronic Technology Co Ltd EBT3001 User Manual Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd 1 EBT3001...

Page 2: ...actory settings 13 4 2Socket function 13 4 2 1 TCP server mode 13 4 2 2 TCP Client Mode 14 4 2 3 UDP Server Mode 14 4 2 4 UDP Client Mode 14 4 2 5 HTTP Client Mode 14 4 2 6 MQTT Client mode 16 4 3 Adv...

Page 3: ...ctronic Technology Co Ltd EBT3001 User Manual Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd 2 5 2 Configuration tool software settings 27 5 3 AT command configuration 27 Revise histor...

Page 4: ...Even Mark Space Support DHCP function Support DNS function domain name resolution DNS server address customization Support a variety of Modbus gateways simple protocol conversion multi host mode stor...

Page 5: ...onic Technology Co Ltd EBT3001 User Manual Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd 4 2 Size and pin definition 2 1 Package size This chip adopts standard QFN48 package QFN48 5 5...

Page 6: ...ives RX signal end 12 RX_Women I O A Ethernet receives RX signal end 13 TX_P I O A Ethernet sends TX signal terminal 14 TX_WOMEN I O A Ethernet sends TX signal terminal 17 TXD0 I O A Serial port sendi...

Page 7: ...t is recommended to be no less than 0 1uF and it is recommended to connect VDCID through magnetic beads or directly 36 IO_RST I O A To restore the factory side an external reset button is required and...

Page 8: ...ucts PN Type Socket Operating mode Operating Voltage Product Size mm NS1 SMD module 6 way TCP Sever TCP Client UDP Sever UDP Client MQTT Client HTTP Client 3 0 5 5V DC 17 19 4 NT1 In line module 6 way...

Page 9: ...tion method Web configuration tool AT command IP address Customizable default 192 168 3 7 Local port Customizable default 8887 Subnet mask 255 255 255 0 Gateway Customizable default 192 168 3 1 Target...

Page 10: ...Co Ltd 9 3 3 Default parameters Project Default parameters IP address 192 168 3 7 Default local port 8887 subnet mask 255 255 255 0 default gateway 192 168 3 1 Default working mode TCP Server Default...

Page 11: ...Chengdu Ebyte Electronic Technology Co Ltd EBT3001 User Manual Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd 10 3 4 Hardware design 3 4 1 Typical application hardware connection...

Page 12: ...icrosoft Edge version 94 0 992 50 is an example it is recommended to use Google kernel browser IE kernel browser is not supported Step 1 Open the browser enter the IP address of the device in the addr...

Page 13: ...need to enter 192 168 3 7 8080 in the address bar to connect to the web page configuration 4 1 2 Subnet mask IP address The IP address is the identification of the module in the local area network an...

Page 14: ...router is connected to the external network the gateway is the router 4 1 3 Domain Name Resolution DNS Domain name resolution translates domain names into network recognized IP addresses through Doma...

Page 15: ...device should be less than 512Bit per packet otherwise it will cause data loss 4 2 4 UDP Client Mode UDP Client is a connectionless transmission protocol that provides transaction oriented simple and...

Page 16: ...onic Technology Co Ltd 15 Configure the local network parameters and the HTTP server address and port You are advised to enable DHCP and random ports As shown in the figure below Above is the upper co...

Page 17: ...al port server supports quick access to standard MQTT3 1 1 protocol servers OneNET Baidu Cloud Huawei Cloud user built and other server types and Alibaba Cloud servers supports service quality level c...

Page 18: ...te Electronic Technology Co Ltd 17 To use MQTT function advanced Settings such as short links should be turned off as shown in the figure below upper computer and webpage configuration as shown below...

Page 19: ...a topic for communication testing Select the corresponding product go to Custom Topic under the Topic class list for details please refer to the Alibaba Cloud documentation click Define Topic Class se...

Page 20: ...lient modes 4 3 2 Heartbeat Packet Function In client mode users can choose to send heartbeat packets and set the time of heartbeat packets by themselves The heartbeat packet can be selected in two mo...

Page 21: ...unction In client mode short network connection is supported this function is disabled by default TCP short connection is mainly used to save server resource overhead and is generally used in multi po...

Page 22: ...each attempt of the device to re establish the network Number of reconnections The number of times the device tries to re establish the network and the cumulative number of requests reaches the preset...

Page 23: ...o be upgraded Step 4 Click to start the upgrade the device indicator flashes and wait for the upgrade to complete Note When the device is just powered on click Search Device in the upgrade assistant t...

Page 24: ...t is working in there can only be one Modbus master station Simple protocol conversion configuration TCP server mode as an example the upper computer on the left web page on the right 4 4 3 Multi host...

Page 25: ...ears the cache to ensure the real time and authenticity of the data 3 The polling interval can be customized 0 65535ms 4 The gateway will poll the RTU device according to the storage time of the instr...

Page 26: ...ure web page 4 4 6 Automatic upload In client mode TCP client UDP client etc the gateway will automatically poll the instructions in the stored instruction table and upload it to the server and the fe...

Page 27: ...du Ebyte Electronic Technology Co Ltd EBT3001 User Manual Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd 26 TCP client demo Modbus RTU format on the left and Modbus TCP format on the r...

Page 28: ...mpatibility mode QQ browser compatibility mode and other browsers using IE core are not supported to use web page configuration 5 2 Configuration tool software settings Open the configuration tool sof...

Page 29: ...ology Co Ltd Revise history Version Date Notes Reviser 1 0 2022 06 01 Initial version Xxn About us Technical support support cdebyte com Documents and RF Setting download link www ebyte com Thank you...

Reviews: