W5500S2E serial to Ethernet module
W5500S2E user manual
29
DNS (DNS server address)
Command format
Parameters
Usage
AT+DNS?
Nil
Read
AT+DNS=<parameter>
DNS server address, default:
114.114.114.114
Set
Response
[DNS] Value is:<value>\r\nOK\r\n
Example
Command: AT+DNS=1.1.1.1\r\n
Response: [DNS] Value is: 1.1.1.1\r\nOK\r\n
DNS server address format is separated into 4 sections; each section is a decimal value and using a
dot to separate. The value range for each section is 0-255 therefore the maximum value Dimension
for DNS server address is 15 bytes. This command could not accept xxx.xxx.xxx.0 or xxx.xxx.xxx.255
values input.
C1_PORT (Local port number)
Command format
Parameters
Usage
AT+C1_PORT?
Nil
Read
AT+C1_PORT=<parameter>
Local port number, Default: 5000
Set
Response
[C1_PORT] Value is:<value>\r\nOK\r\n
Example
Command: AT+C1_PORT=5000\r\n
Response: [C1_PORT] Value is:5000\r\nOK\r\n
This command is only valid in TCP server and UDP mode. It defines the port number of the module. The
module will use this port number to communicate with other devices. The value range is 0 to 65535.
Note: Please avoid using the same port number for web page configuration, which the port number
default is 80)
C1_BIND (Local port binding)
Command format
Parameters
Usage
AT+C1_BIND?
Nil
Read
AT+C1_BIND=<parameter>
0: Disable (Default)
1: Enable
Set
Response
[C1_BIND] Value is:<value>\r\nOK\r\n
Example
Command: AT+C1_BIND=1\r\n
Response: [C1_BIND] Value is:1\r\nOK\r\n
This command is only valid in TCP client mode, this will enable the blinding to a fixed local port using
command “C1_PORT”