W5500S2E serial to Ethernet module
W5500S2E user manual
19
6
Introduction of AT command
6.1
AT command overview
AT command can be sent to the serial port of W5500S2E running in AT command mode.
AT command is case insensitive. AT command is always starting with string “AT” and ends
with “\r\n”. Each command has specific response and parameter format.
Below are difference types of AT command:
1.
Commands without parameter
Format: AT+<command>\r\n
No extra parameters or symbol after the command.
Example
Command:
AT+EXIT\r\n
Response:
OK\r\n
.
2.
Commands with parameter
Format: AT+<command>=<parameter>\r\n
These commands are for configure certain settings.
Example
Command:
AT+ECHO=1\r\n
Response:
[ECHO] Value is: 1\r\n OK\r\n
3.
Read commands
Format: AT+<command>?\r\n
These commands read the current settings value.
Example
Command:
AT+ECHO?\r\n
Response:
[ECHO] Value is: 1\r\n OK\r\n
Based on different AT command sent, W5500S2E will return with corresponding response.
The response type is shown in the table below.
6.2
AT command responds
Table 6-1 AT command responds list
Response type
Response
Description
Error message
Command Invalid\r\nERROR\r\n
Invalid command
<Error Info>\r\n
Invalid
parameter
or in the wrong mode
Success message
OK\r\n
Command is executed successfully
[Command] Value is:<value>\r\nOK\r\n