W7500S2E-R1 serial to Ethernet module
W7500S2E-R1 user manual
30
6.4.4.10
Inactivity timer (AT+C1_IT)
Command format
Parameters
Usage
AT+C1_IT=<time>\r\n
<time>
Inactivity time to disconnect, value range 0 ~ 60000, unit:
ms, default: 0 (Disable this function)
Define new value
AT+C1_IT?\r\n
Query current value
Return value
[C1_IT] Value is: <time>\r\n
When the module is working in TCP server or client mode, there has a chance that opponent device will
disconnect with the module (forcibly disconnected or network failure). However, the module may not notify the
disconnection occur and still maintain the connection active status. Then, there will be a failure when either party
initiates the communication. By defining an inactivity timer for the module, connection will be disconnected if
the module didn’t receive any data in a defined time. When the value of inactivity timer is 0, it will be disable
and the connection will maintain active all the time.
6.4.4.11
Keep alive timer (AT+C1_TCPAT)
Command format
Parameters
Function feature
AT+C1_TCPAT=<time>\r\n
<time>
Keep alive time, value range: 0 ~255, unit: 5s
default: 0 (disable this function)
Define new value
AT+C1_TCPAT?\r\n
Query current value
Return value
[C1_TCPAT] Value is: <time>\r\n
Under TCP server mode, the module will send out a keep alive package in a standard of time to check the
connection is it active. If the module did not receive any response, it will disconnect the connection.
6.4.4.12
TCP authentication (AT+C1_LINK_P)
Command format
Parameters
Usage
AT+C1_LINK_P=<pass>\r\n
<pass>
0: No password is required for TCP connection
1: Required password for TCP connection
Define new value
AT+C1_LINK_P?\r\n
Query current value
Return value
[C1_LINK_P] Value is: <time>\r\n
To improve security of communication, the module supports TCP authentication. When TCP authentication is
enable, the module requires password input from the Ethernet. If the password is wrong, it requires re-entering
password until it receives a correct password. Device password could be configured or query by “AT+PASS”.
6.4.4.13
TCP link establishment condition (AT+LINK_T)
Command format
Parameters
Usage
AT+C1_LINK_T=<link_t>\r\n <link_t>
0: Reconnect after power up the module (default)
1: Reconnect after received data from serial interface
Define new value
AT+C1_LINK_T?\r\n
Query current value
Return value
[C1_LINK_T] Value is: <link_t>\r\n
In TCP client mode, the connection is established by the module. If define it as 1, the module will establish the
connection establishment by receiving the first package of data from serial interface. This data will be discard by