RS485 TO ETH ( B)
8 . 1 . REGISTRATION PACKAGE
The definition of the registration package is that when the computer software and the serial
server module (herei nafter referred to as the module) establish a TCP connection, the module
will first send a string of codes to the software, so that the software can know which module is
communicating with itself. This string of codes is the registration package.
The registration package is very suitable for the monitoring of the Internet of Things,
because the cloud software generally runs on the public network server of the Internet, and the
modules are scattered at various collection and monitoring points. How to make the cloud
software recognize the module is very important, and it is necessary to realize the
communication of the Internet of Things.
The serial server provides the following multiple registration package methods.
8 . 1 . 1 . SEND MAC ADDRESS ON CONNECTION
Send the MAC address on the connection: This method is not only supported for 4 models
(such as RS485 TO ETH (B)), but also for ordinary models. Its method is to send its mac address to
the cloud when the module is connected to the cloud. Since the MAC address is unique, it can
uniquely identify the device. This method is simple and does not require writing a registration
package for each device, so it is simple and effective. How to use it: Click "More Advanced
Settings" in the device settings dialog box, find "Send MAC address when TCP is establish" in the
upper middle, tick the front, and then return to the setting interface and click "Modify Settings".
Figure 31 Sending MAC address on connection
8 . 1 . 2 . REALCOM AGREEMENT
The Realcom protocol is a mature protocol containing a registration package and a
heartbeat package. Users can use this protocol to realize the functions of the registration
43
/
52