Chengdu Ebyte Electronic Technology Co.,Ltd.
Copyright ©2012–2019
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
3-23
6.19 Read and set timeout
Command
Response
Parameter
Query
:
AT+ CONTIMEOUT?
+OK=[para]
para: 10~3200
Example
:
500
500*10ms=5s
Setting
:
AT+CONTIMEOUT=[para]
+OK
:
Success
+ERR=[NUM]
:
Error
Description: It takes effect on next connection, save when power off
Note
:
Connection timeout must be greater than (maximum and minimum connection interval) / 8
6.20 Set and query delay times
Command
Response
Parameter
Query
:
AT+CONLATENCY?
+OK=[para]
para: 0~500
Setting
:
AT+CONLATENCY=[para]
+OK
:
Success
+ERR=[NUM]
:
Error
Description: It takes effect on next connection, save when power off
Note: Delay times * connection interval <connection timeout
Namely
:
CONMAXINTV*1.25ms* CONLATENCY < CONTIMEOUT*10
6.21 Disconnect the current connection
Command
Response
Parameter
Query
:
AT+DISCON
+OK
NO
Description: It takes effect immediately, can only be used when connecting, otherwise it returns error
6.22 Query the current connection status
Command
Response
Parameter
Query
:
AT+CONSTA?
+OK=[para]
para:
Connected
:
connection established
Disconnect
:
connection disconnected
Description: It takes effect immediately
6.23 Querying the Local MAC Address
Command
Response
Parameter
Query
:
AT+MAC?
+OK=[para]
para:MAC address