保持坚持ble_app_p BLE连接eripheral application

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
4 posts / 0 new
Last post
dhrishi
Offline
Last seen:3 years 3 months ago
Joined:2017-02-10 09:56
保持坚持ble_app_p BLE连接eripheral application

Hi,

I am using the ble_app_peripheral app. When I connect to the DA14580 through a mobile phone and keep it connected, I see that the link disconnects after some time.
I want to keep the BLE connection intact forever.

Is there any change that can be done in the app in this regard? If yes, how it can be done.

Thanks,
Hrishikesh

Device:
MT_dialog
Offline
Last seen:3 months 16 hours ago
Staff
Joined:2015-06-08 11:34
Hi dhrishi,

Hi dhrishi,

I am not able to understand the question, you will have to be more descriptive on what is that you would like to do.

Thanks MT_dialog

dhrishi
Offline
Last seen:3 years 3 months ago
Joined:2017-02-10 09:56
Hi,

Hi,

I had added the details in the synopsis instead of description. I have updated the same. Can you please check -

I am using the ble_app_peripheral app. When I connect to the DA14580 through a mobile phone and keep it connected, I see that the link disconnects after some time.
I want to keep the BLE connection intact forever.

Is there any change that can be done in the app in this regard? If yes, how it can be done.

Thanks,
Hrishikesh

MT_dialog
Offline
Last seen:3 months 16 hours ago
Staff
Joined:2015-06-08 11:34
Hi dhrishi,

Hi dhrishi,

The ble connection should be permanent, if you are seeing disconnections i suppose that is because the android or the OS that operates your phone terminates the connection (you should see that the device disconnects after a while), if you try to install a BLE Generic application on your phone then you will see that the connection will be permanent. If this is not the reason of the disconnection and you observe random disconnections after a few hours or so you can start by checking the reason of the disconnection in the disconnection callback, this will give us a clue and also you can try and test if that occurs with an example from the SDK in order to check if the disconnection reason is a sw issue.

Thanks MT_dialog