Important: Before you run this example, make sure to program a SoftDevice.
The Buttonless DFU Template Application is an example that includes the functionality of doing buttonless DFU using the hardware delivered in the nRF5 Development Kit.
The application includes the three services in the Heart Rate profile:
When the application starts, the Board Support Package is initialized. Next, the buttonless DFU service is initialized.
When notification of DFU control point characteristic is enabled, and the value 0x01 is written to it, the device will disconnect, send the event BLE_DFU_EVT_ENTERING_BOOTLOADER, and enter the bootloader.
You can find the source code and the project file of the example in the following folder: <InstallFolder>\examples\ble_peripheral\experimental_ble_app_buttonless_dfu
Button assignments: BSP BLE Button Assignments
Test the Buttonless DFU Template Application with the nRF Toolbox app, which is available on both iOS (App Store) and Android (Google Play).
You can also test the application with the Master Control Panel by performing the following steps: