How do I stop ble broadcasting before sleep

SDK:17.1.0
application: ble_app_uart(+ble_app_buttonless dfu service)
bootloader:secure bootloader pca10040e_s112_ble

We recently encountered one while developing our product. After the product goes to sleep, ble still has the problem of reconnection. I wonder if the ble broadcast didn't stop in time. What can I do with ble before going into sleep mode?

  • hi Jared.
    The battery pin is mainly used to control the adc input reading power.

    So I can understand that when I make sure every device connected to nRF52810 is turned off, calling sd_power_system_off() will not cause a reconnection. Is that what I mean? Or what function do I need to call to pause the Ble adv after I've made sure all my devices are turned off.

    Best regard

    kenyon

  • Hi,

    sd_power_system_off() will put the device into system off sleep. In system off sleep, no clocks are running, which means that the radio will not be on.. The only exception is if the device is in debug mode, this can happen if the debugger is connected to the debug interface. Can you try to flash the power profiler example to your board and see if it enters system off sleep? 

    regards

    Jared 

Related