Udp Server Mode; Udp Client Mode; Serial Function; Serial Basic Parameters - Ebyte NA111 User Manual

Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.

4.2.3 UDP Server mode

UDP Server refers to a device that does not verify the source IP address of the data when
communicating with the UDP protocol, saves the source IP address and source port of the packet
after receiving one UDP packet, and sets it as the target IP and port, so the data sent by the device
sends the packet only to the source IP address and port where the data was received by the last device.
This mode is typically used in scenarios where multiple network devices communicate with the
device and are more frequent and TCP Server cannot meet the criteria.
Note: In UDP mode, the network should send less than 512Bit per package to the device, otherwise
data loss will result.

4.2.4 UDP Client mode

UDP Client is a connectionless transport protocol that provides a simple, unreliable information
delivery service for transactions, with no connection established and disconnected, and only IP and
ports need to be developed to send data to each other. Typically used for data transfer scenarios
where packet drop rates are not required, packets are small and send more frequently, and data is
passed to the specified IP.
In UDP Client mode, the device will only communicate with the target port of the target IP, and
data from other IPs will not be received by the device.
In this mode, the destination address is set to 255.255.255.255, and the sending data will be
broadcast throughout the network segment, but the transceiver device needs to ensure that the port is
consistent and that the device can also receive broadcast data.

4.3 Serial function

4.3.1 Serial basic parameters

The basic parameters of serial port include: baud rate, data bit, stop bit, check bit.
Baud Rate: Serial communication rate, configurable for 1200, 2400, 4800, 9600, 14400, 19200,
38400, 57600, 115200, 230400bps.
Data bits: The length of the data bits, range 5, 6, 7, 8.
Stop bit: You can set the range 1, 2.
Check bit: the check bit of data communication, support None, Odd, Even, Mark, Space five
verification methods by setting serial parameters, to maintain consistent with serial connection
Copyright ©2012–2021,Chengdu Eyrth Electronic Technology Co., Ltd
NA111 User Manual
15

Advertisement

Table of Contents
loading

Table of Contents