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

Regarding buttonless dfu bootloader example in SDK12

Hii,

We are using currently nRF SDK12 and nrfutil for performing DFU over ble. we are able to do it by pressing button on  nrf51822 Dk kit at time of restart and putting it in to Bootloader mode.

Now we trying to implement out buttonless DFU. I am using example given in nRF sdk12 (experimental buttonless DFU)  and nrfutil for performing OTA with ble. but when i try to perform DFU i get following error.(CCCD not found please find attached screenshot of the error)

Parents Reply Children
  • It depends a bit on your application. you should add the dfu service in services_init(). Then add ble_dfu_evt_handler(), and add it to your dispatch_function.

    After adding this service, it should take care of the bootloader actions. You probably also need the nrf_dfu_flash_buttonless.c file, like in the buttonless_dfu example.

     

    You basically need to merge the two examples, and try to compile. When it works, try the dfu via nRF Connect, and let me know if it doesn't work.

     

    BR,

    Edvin

Related