Copyright © Shenzhen Rakwireless Technology Co., Ltd
ETDX1602241830
19
RAK475 Instruction manual
3.2.3
Communication settings
Communication settings includes: UART parameter settings and socket parameter
settings.
UART parameters configuration
The parameter settings of the serial port includes serial port baud rate, data bit,
check bit and stop bit, settings of the flow control. Serial port’s free split interval is
10ms, if the timeout for the byte received from the serial port is 10ms, the serial port
data with the interval greater than 10ms will be split and sent to the network.
Set the Socket parameters
Socket communication settings, socket parameter settings mainly include the
communication socket type, the server’s IP address, port number, the local
server’s port number, TCP timeout and other parameters.
The module supports two communication Sockets, SocketA can act as one of the five
secure connections, namely, the TCP server, TCP client, UDP server, UDP client,
TLS/SSL secure connection, SocketB does not support a secure connection.
While using the same serial port communication, add two bytes tips to the
communication data, "S0" indicates the transceiver data of SocketA, "S1" indicates
the transceiver data of SocketB.
IP or domain name of the server can be filled with a fixed IP address or domain name
length of less than 42 characters.
The number of connections that Local server supports can set the number of clients
connected to the local server, 1-3 can be selected, if you select unlimited, then the
default maximum value is 4. When there are multiple connections, the module
communication will realize one-to-many communication, the data received from the
module serial port will be forwarded to the connected multiple client, take care that