W5500S2E serial to Ethernet module
W5500S2E user manual
30
DNSEN (DNS enable)
Command format
Parameters
Usage
AT+DNSEN?
Nil
Read
AT+DNSEN=<parameter>
0: Disable (Default)
1: Enable
Set
Response
[DNSEN] Value is:<value>\r\nOK\r\n
Example
Command: AT+DNSEN=1\r\n
Response: [DNSEN] Value is:1\r\nOK\r\n
This command is only valid in TCP client and UDP modes.
Note:
If this is enabled and “DOMAIN” is set, “C1_CLI_IP1” command will be invalid. Module will be
communicated with the host defined by “Domain”.
If this is disabled and “C1_CLI_IP1” is set, “DOMAIN” command will be invalid. Module will be
communicated with the IP defined by “C1_CLI_IP1”.
C1_CLI_IP1 (Remote host IP address)
Command format
Parameters
Usage
AT+C1_CLI_IP1?
Nil
Read
AT+C1_CLI_IP1=<parameter>
Default: 192.168.1.99
。
Set
Response
[C1_CLI_IP1] Value is:<value>\r\nOK\r\n
Example
Command: AT+C1_CLI_IP1=192.168.1.99\r\n
Response: [C1_CLI_IP1] Value is:192.168.1.99\r\nOK\r\n
This command is only valid
In TCP client mode or UDP mode
“DNSEN” is enabled
It sets the remote IP address to communicate with W5500S2E.
C1_CLI_PP1 (Remote host port number)
Command format
Parameters
Usage
AT+C1_CLI_PP1?
Nil
Read
AT+C1_CLI_PP1=<parameter>
Range: 1 ~ 65,535, Default: 5000
。
Set
Response
[C1_CLI_PP1] Value is:<value>\r\nOK\r\n
Example
Command: AT+C1_CLI_PP1=5000\r\n
Response: [C1_CLI_PP1] Value is:5000\r\nOK\r\n
This command is valid only in TCP server and UDP mode.
Note: Please prevent to use
common port numbers
for avoiding conflict with other service on the remote
host.