This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Deinit fully BLE

Hi i use a soft with DFU and Beacon. I will use the beacon and when i press on a button i can update the software with DFU. DFU and BEACON works independently but when i will use the 2 together the soft stop or restart.

for deinit the BLE i have try : sd_ble_gap_adv_stop(); softdevice_handler_sd_disable();

but the result as the same. Do you have a method for completely deinit the BLE BEACON ?

Parents Reply
  • Thank you for your answer, In fact, I can run the DFU BEACON and independent way, but when I try to send the BEACON and perform OTA with just after DFU, monn program stops. By making several test I noticed that the problem came from the ble_stack_init function (); when I call 2x the program stops, that's why I try to deinit the BLE in order to reset the data with DFU.

    I have try sd_soft_device_disable like say in the post but it doesn't work in my code.

Children
No Data
Related