Ebyte E810-DTU User Manual page 52

Hide thumbs Also See for E810-DTU:
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co,.Ltd
7.4.32 AT+KEPALVB1: query/set the keep-alive parameter of SOCKET B1 corresponding to the serial port
Function: query/set the keep-alive parameter of SOCKET B1 corresponding to the serial port.
Format: query
Send: AT + KEEPALIVEB1 < CR >
Returns: < CR > < LF > + OK = < time, intv, the probes > < CR > < LF >
Set up the
Send: AT + KEEPALIVEB1 = < time, intv, the probes > < CR >
Returns: < CR > < LF > + OK < CR > < LF >
Parameters:
Time TCP link after how many seconds no datagram transmission starts probe message
0: turn off KeepAlive
2~7200: KeepAlive function is enabled with intv,probes, and time parameters in effect
Unit S in seconds
The time interval between the previous probe message of intv and the next probe message of intv
2~7200, unit S (seconds)
The maximum number of probe failures to which the TCP connection is disconnected when the probes fails
2~255, unit: times
Example: the AT + KEEPALIVEB1 = 10,5,20 < CR >
7.4.33 AT+KEPNEWA1: query/set TCP Server to allow new connections
Function: query/set TCP Server to allow new connections.
Format: query
Send: AT+ KEPNEWA1<cr>
Return: <cr><lf>+OK=< sw ><cr><lf>
Set up the
Send: AT+ KEPNEWA1=< sw ><cr>
Returns: < CR > < LF > + OK < CR > < LF >
Parameters:
Sw switch
When the number of clients connected to TCP Server reaches the maximum number of connections allowed
by TCP Server, new connections are allowed, but new connections crowd out the earliest connections to TCP
Server.
When the number of clients connected to TCP Server reaches the maximum allowable connections of TCP
Server, no new connections are allowed.
Example: AT+ KEPNEWA1=ON<cr>
7.4.34 AT+LPORTA1: query/set the local port number of SOCKET A1
Function: query/set SOCKET A1 local port number.
Format: query
Send: AT+ LPORTA1<cr>
Return: <cr><lf>+OK=< port ><cr><lf>
Set up the
Send: AT+ LPORTA1 =< port ><cr>
Returns: < CR > < LF > + OK < CR > < LF >
Copyright ©2012–2020, Chengdu Ebyte Electronic Technology Co,.Ltd
E810-DTU User Manual
49

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rs232

Table of Contents