W7500S2E-R1 serial to Ethernet module
W7500S2E-R1 user manual
26
available for TCP client and UDP mode.
6.4.3.14
DNS server address (AT+DNS)
Command format
Parameters
Usage
AT+DNS=<dns>\r\n
<dns>
DNS server address, default: 114.114.114.114
Define new value
AT+DNS?\r\n
Query current value
Return value
[DNS] Value is: <dns>\r\nOK\r\n
DNS server address format is separate in 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 size for DNS server address is 15 bytes.
This command could not accept xxx.xxx.xxx.0 or xxx.xxx.xxx.255 values input.
6.4.3.15
Debug message (AT+DEBUGMSGEN)
Command format
Parameters
Usage
AT+DEBUGMSGEN=<debugmsg>\r\n
<debugmsg>
0: Turn off the print debugging information;
1: Turn on print debug information (default)
Define new value
AT+DEBUGMSGEN?\r\n
Query current value
Return value
[DEBUGMEGEN] Value is: <debugmsg>\r\nOK\r\n
6.4.3.16
MAC address (AT+MAC)
Command format
Parameters
Usage
AT+MAC?\r\n
Nil
Query current value
Return value
[MAC] Value is: <mac>\r\nOK\r\n
This is the MAC address of this WIZS2E. This attribute is read-only.
6.4.3.17
IP setting method (AT+IP_MODE)
Command format
Parameters
Usage
AT+IP_MODE=<mode>\r\n
<mode>
0: Static IP mode (default)
1: DHCP mode
Define new value
AT+IP_MODE?\r\n
Query current value
Return value
[IP_MODE] Value is: <mode>\r\nOK\r\n
When using static IP mode, the IP address, gateway, subnet mask and DNS server address are required configure
by user. In DHCP mode, W7500S2E-R1 will get all above IP parameters from the DHCP server.
6.4.3.18
Web port number (AT+WEB_PORT)
Command format
Parameters
Usage
AT+WEB_PORT=<port>\r\n
<port>
Web server port number, default: 80
Define new value
AT+WEB_PORT?\r\n
Query current value
Return value
[WEB_PORT] Value is: <port>\r\nOK\r\n
This port number will be used on W7500S2E-R1’s webserver through web browser. The value range is 0 to
65535. If the port wasn’t set to 80, it needs to add the port number at the end of IP address. For example:
192.168.1.88: 8000.