Domain Name Resolution (Dns); Restore Factory Settings; Socket Function; Tcp Server Mode - Ebyte EBT3001 User Manual

Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.
EBT3001 User Manual
Disadvantages: Different network segments in different LANs, resulting in normal TCP/UDP communication.
(2) Dynamic DHCP: The main function of DHCP is to dynamically obtain the IP address, gateway address, DNS server
address and other information from the gateway host, thereby eliminating the tedious steps of setting the IP address. It is
suitable for scenarios where there is no requirement for IP, and there is no mandatory one-to-one correspondence between
IP and modules.
Advantages: devices with DHCP Server such as access routers can communicate directly, reducing the trouble of setting
IP address gateway and subnet mask.
Disadvantage: Connecting to a network without DHCP Server, such as direct connection with a computer, the module
will not work properly. The subnet mask is mainly used to determine the network number and host number of the IP
address, to indicate the number of subnets, and to determine whether the module is in the subnet. The subnet mask must
be set. Our commonly used class C subnet mask: 255.255.255.0, the network number is the first 24 bits, the host number
is the last 8 bits, the number of subnets is 255, and the module IP is in the range of 255 within this subnet, the module IP
is considered to be in this subnet. Gateway refers to the network number of the network where the current IP address of
the module is located. If a device such as a 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 Domain Name
Resolution (DNS) servers. The domain name resolution (DNS) server address of the serial port server supports user
definition, and can realize domain name resolution through a custom domain name resolution server in the event of an
abnormal domain name server. The device will report the resolution to the custom domain name resolution (DNS) server
during domain name resolution. Request, return the device connection parameters (usually the IP address) after the
parsing is completed.
In DHCP mode, the domain name resolution (DNS) server address is automatically obtained (synchronized with the
router's domain name resolution address) and cannot be modified.
In static IP mode, the factory default address of the Domain Name Resolution (DNS) server is 114.114.114.114.

4.1.4 Restore factory settings

Press and hold the Reload pin of the device until the LED indicator lights up to release the key.

4.2Socket function

4.2.1 TCP server mode

TCP Server is the TCP server. In TCP Server mode, the device listens to the local port, accepts the client's connection
request and establishes a connection for data communication. When the Modbus gateway function is turned off, the
device sends the data received by the serial port to all client devices that establish connections with the device, and
supports connecting up to 6 clients. After the Modbus gateway function is enabled, the non-Modbus data will be cleared
and not forwarded.
Typically used for communication with TCP clients within a local area network.
13
Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.

Advertisement

Table of Contents
loading

Table of Contents