Change BT update interval at run time?

8 posts / 0 new
Last post
Liviu
Offline
Last seen:6 years 6 months ago
Expert
Joined:2014-04-01 15:05
Change BT update interval at run time?

Hello,

Is there a way to change the BT connection interval during program execution? I need to increase the update frequency in certain conditions and then decrease it when the process is done. I am using the 2.4 SDK.

Best Regards,
Liviu

Liviu
Offline
Last seen:6 years 6 months ago
Expert
Joined:2014-04-01 15:05
Any suggestions would be

Any suggestions would be greatly appreciated. Thanks.

AK_Dialog
Offline
Last seen:2 months 1 week ago
Staff
Joined:2013-12-16 15:49
Hi Liviu,

Hi Liviu,
Since we have a new SDK available (3.0.2), which supports the production silicon chips, it is wise to upgrade to the new version.
Concerning your question of changing the connection interval, do you want to change the connection interval while a system is connected or do you want to (re)start advertising? Please give some more insight of the use case.

Dialog Bluetooth Support Team.

Joacimwe
Offline
Last seen:1 year 5 months ago
Guru
Joined:2014-01-14 06:45
Hi,

Hi,
I am also wondering the same thing I believe so I figured I'd post on this topic.
While having a connection between the DA14580 (as a peripheral) and a central device is it possible to make a connection parameter request from the peripheral to the central? If so, can you point me in the right direction?

In the Apple Bluetooth Design Guidlines is says:"The accessory is responsible for the connection parameters used for the Low Energy connection. The accessory should request connection parameters appropriate for its use case by sending an L2CAP Connection Parameter Update Request at the appropriate time"
So I am assuming that is should be possible. However, in the Connection Manager application provided by you I am only allowed to change the interval as a manager and not a peripheral, why is that?

I have looked slightly at the gapc_param_update_req_ind, gapc_param_update_cmd and gapc_conn_param structs of gapc_task, are they related?

Thanks!

Liviu
Offline
Last seen:6 years 6 months ago
Expert
Joined:2014-04-01 15:05
Hi,

Hi,

Preferably we would like to change the connection interval without re-connection, but change on connections is . Unfortunately we cannot switch to SDK3.xx because we have prototypes based on a Murata module which is using the DA14580-00. We have purchased quite a few of this modules, so it would be good if we can make it work for the -00.

Best regards,
Liviu

Joacimwe
Offline
Last seen:1 year 5 months ago
Guru
Joined:2014-01-14 06:45
嗨对话框。一些额外的

嗨对话框。一些额外的information: We are using the latest sdk. It doesn't really matter if we need to reconnect or not. We want to achieve longer battery life by using a longer connection interval. Is this possible, if so, how?

WT_Dialog (not verified)
Hi,

Hi,
的再保险quest of updating connection parameters can be sent by a slave device.
The API to do this is GAPC_PARAM_UPDATE_CMD.
You can find more explanation of this API in RW-BLE-GAP-IS (GAP Interface Specification) document.

BRs
Dialog

Liviu
Offline
Last seen:6 years 6 months ago
Expert
Joined:2014-04-01 15:05
Thank you, the connection

Thank you, the connection interval changed with use of that function.