Read And Set Timeout; Set And Query Delay Times; Disconnect The Current Connection; Query The Current Connection Status - Ebyte E104-BT51 User Manual

Cc2640r2f ble5.0 low power consumption, bluetooth to serial port module
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.

6.19 Read and set timeout

Command
Query:AT+ CONTIMEOUT?
Setting:AT+CONTIMEOUT=[para]
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
Query:AT+CONLATENCY?
Setting:AT+CONLATENCY=[para]
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
Query:AT+DISCON
Description: It takes effect immediately, can only be used when connecting, otherwise it returns error

6.22 Query the current connection status

Command
Query:AT+CONSTA?
Description: It takes effect immediately

6.23 Querying the Local MAC Address

Command
Query:AT+MAC?
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
3-23
Response
+OK=[para]
+OK:Success
+ERR=[NUM]:Error
Response
+OK=[para]
+OK:Success
+ERR=[NUM]:Error
Response
+OK
Response
+OK=[para]
Response
+OK=[para]
E104-BT51 User Manual
Parameter
para: 10~3200
Example:500
500*10ms=5s
Parameter
para: 0~500
Parameter
NO
Parameter
para:
Connected:connection established
Disconnect:connection disconnected
Parameter
para:MAC address

Advertisement

Table of Contents
loading

Table of Contents