Chengdu Ebyte Electronic Technology Co.,Ltd.
NA111-A User Manual
Copyright©2012–2021Chengdu Ebyte Electronic Technology Co.,Ltd.
16
4.2.3 UDP Server mode
UDP Server is a device that enables a device to communicate with a UDP protocol without
verifying the data source IP address, and after each UDP packet is received, the source IP address of
the packet and the source port are saved and set to the target IP and port, so the device The data
sent by sends packets only to the source IP address and port where the last device received the data.
This mode is typically used for scenarios where multiple network devices communicate with
this device and are more frequent and TCP Server
cannot meet the criteria.
Note: InUDP mode, the network should send data to the device less than 512Bit per pack,
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 sent by 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 is broadcast
throughout the network segment, but the transceiver device needs to ensure that the ports are
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 ranges 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