Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Extend BLE application to support the BLE DFU Service with nRF52832, SDK15.0.0, Softdevice S132

Hello,

I'm using nRF52832, SDK15.0.0, Softdevice S132.

What should be the code added to application in order to support BLE DFU service?

I've been here, but its for nRF52 SDK V0.9.2 (which I think is very old).

Thanks in advance for your reply.

Parents
  • Hello,

    If you have not used the bootloader and DFU yet, I suggest that you start with this guide. I know it is a bit old, but it should be very suited as a starting point for SDK15.

    If you start with this example, and then move over to the ble_app_buttonless_dfu example in SDK15\examples\ble_peripheral, using the same bootloader that you made in the guide, using the SDK15\examples\dfu\secure_bootloader\pca10040_ble, you should be up and running. 

     

    What you want to do, eventually, is to add the buttonless_dfu service from the ble_app_buttonless_dfu example to your custom project. Note that this requires the chip/board to have a bootloader flashed when running, or it will cause an application error. This can be ensured upgrading from the dfu\secure_bootloader example to the buttonless_dfu example using the bootloader.

     

    Let me know if you run into any problems on the way.

     

    Best regards,

    Edvin

  • Hi Edvin, do we have a tutorial on how to migrate buttonless_dfu service to any existing bonding project such as  ble_app_gls?

    I failed and had no clue.

Reply Children
Related