User's Manual
Chengdu Ebyte Electronic Technology Co., Ltd E104-BT5032A User Manual
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd
30
connection time to be too long, and during the connection process, all data received by the serial port is
discarded.
For example
AT+CONPARAMS=16,0,400
Connection gap 16*1.25ms,slave will delay:0,16*1.25ms, connection timeout 400*1.25ms
6.4.23 AT+CONPARAMSx specified connection interval setting
command respond
Set
AT+ CONPARAMSx=[handle],
[intv],[latency],[timeout]
+OK:success
+ERR=[NUM]:error
Parameter
[handle][ASCII] : connection handle(refer to 错误!未找到引用源。)value range,0~7.It is
from the connection state printing.
[intv](ASCII) : connection interval,range,6~3200;
[latency] (ASCII) : salve delay: range,0~499
[timeout](ASCII) : connection timeout,range,10~3200
Default:16,0,400
Remark Take into effect immediately.
Note
1、 Connection timeout must be more than connection interval;
2、 Timeout *4 > (1 + latency)* intv;
3、 Error parameter device will not save
4、 Take into effect immediately, do not save;
5、 This command is for modifying connection parameter for specified link;
6、 Even if the connection parameter modification returns "OK", it does not mean that the connection
parameter modification is successful. During the negotiation process between the master and the slave, if
the other device refuses to modify, the connection can only be made according to the connection parameters
of the other device.
7、 This command is good for firmware:V1.1
For example
AT+CONPARAMSx=2,16,0,400
Connection interval 16*1.25ms, the delay of salve:0,16*1.25ms,connection timeout 400*1.25ms
6.4.24 AT+DISCON disconnect command
command respond
Set
(only for master)
AT+DISCON=[
handle]
+OK:success
+ERR=[NUM]:error