Tcp Client Mode - ZLG CANFDWIFI-100U User Manual

Single-channel can(fd) to wifi converter
Table of Contents

Advertisement

CANFDWIFI-100U
Single-channel CAN (FD) to WIFI converter

5.6.2 TCP Client Mode

In TCP Client mode, the device will actively connect to the preset TCP server. If the
connection fails, the client continuously tries to establish a connection with the TCP server
based on the preset connection conditions. After the device establishes a connection with
the TCP server, two-way data communication can be performed.
When the device acts as a TCP Client, the PC should act as a TCP server. Open the
[Device Management] interface of ZCANPRO, select CANFDWIFI-TCP as the device type,
open the device, and start the device.
On the startup device interface (as shown in Figure 5.29), set [Work Mode] to [Server],
and enter [Local Port]. For example, the current device IP address is "192.168.0.178", the
target IP address of the client connection is "192.168.0.55", and the target port is 8000.
On the ZCANPRO startup interface, set [local port] to 8000, and change the IP address of
the PC to "192.168.0.55".
Figure 5.28 Starting the CANFDWIFI-TCP client
©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
29
User Manual

Advertisement

Table of Contents
loading

Table of Contents