Udp Mode - ZLG CANWiFi-200T User Manual

High performance 2-channel wifi-to-can converter
Table of Contents

Advertisement

Guangzhou ZHIYUAN Electronics Co., Ltd.
based on the set connection condition. The bi-directional communication is
performed as soon as the TCP connection between the CANWiFi-200T device and
TCP server is established. The communication is established as shown in Figure 5-2.
In this mode, TCP server IP is determined by "destination IP (see Table 6-1)"; TCP server
Notes:
port is determined by "destination port (see Table 6.1)". There are totally 6 groups of valid
"destination port" and "destination IP", and the device will connect to the TCP server specified by
these 6 groups of parameters in turn based on predefined number of connections until the
connection is established successfully.

5.3 UDP mode

Figure 5-3: Communication in the UDP mode
The communication uses UDP protocol in the UDP mode. The UDP is a kind of
communication mode independent of connections, which cannot guarantee that the
data package sent to a destination host is correctly received, therefore the
correctness of data should be ensure through the communication protocol of high
layer in the situation with strict reliability requirement; However, since the UDP mode
is a relatively simple communication mode, it does not increase the excess additional
traffic, and provide a higher communication speed than the TCP mode to guarantee
the real time of data. Actually, the errors do not often occur in this mode in the
situation with simple network and low network communication load. Furthermore, in
the UDP mode, there are no servers and clients, and all devices are equal. The
communication process is shown in Figure 5-3.
In this mode, the CANWiFi-200T device uses the "operating port (see Table 6-1)" to
Notes:
receive the UDP data package sent by the user device; The data received from the CAN port of
CANWiFi-200T device will be sent to 6 groups of valid "destination port (see Table 6-1)" of
"destination IP (see Table 6-1)".
User Manual
Date: 2017/08/04
High performance 2-channel WiFi-to-CAN Converter
C
©2017 Guangzhou ZHIYUAN Electronics
27
CANWiFi-200T User Manual
V1.02

Advertisement

Table of Contents
loading

Table of Contents