what to do to stop BLE activity?

⚠️
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 https://www.dialog-semiconductor.com/support . We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
Ryon
Offline
Last seen: 2 years 2 months ago
Joined: 2019-06-26 08:04
what to do to stop BLE activity?

 

hello Dialog,

i need to completely stop BLE activity before pressing a button.

currently i use the BLE stop advertising API to stop advertising(why stop the advertising the power consumption is more than start advertising?),do i need to stop anything else in BLE?

I want to enable and disable the BLE function by pressing a button.so what should I do ?

 

thanks

 

 

Device: 
PS_Dialog
Offline
Last seen: 1 year 8 months ago
Joined: 2018-01-15 10:36
Hi Ryon,

Hi Ryon,

I acknowledge you are using the DA1468x family, BLE Start/Stop functionality is automatically performed by the SDK. Whenever there is no activity for BLE the radio is turned off to save power. It is automatically turned on when there is an upcoming BLE event. So if the application disconnects from the host and stops advertising the BLE will be automatically deactivated and will stay deactivated until the application starts BLE activity again.

BR, Paolo