nRF5 SDK v15.0.0
Template Application
This example requires one of the following SoftDevices: S112, S132, S140

Important: Before you run this example, make sure to program the SoftDevice.

The Template Application is an application that you can use as a starting point for developing your own application, using the hardware delivered in the nRF5 Development Kit.

Note
The application will stop advertising after 3 minutes, and then go to system-off mode. To wake it up, press Button 1, and it will start advertising again.

Setup

You can find the source code and the project file of the example in the following folder: <InstallFolder>\examples\ble_peripheral\ble_app_template

Buttons assignments:

Testing

Test the Template Application with nRF Connect by performing the following steps:

  1. Compile and program the application. Observe that the BSP_INDICATE_ADVERTISING state is indicated.
  2. Connect to the device from nRF Connect (the device is advertising as 'Nordic_Template'). Observe that the BSP_INDICATE_CONNECTED state is indicated.
  3. Disconnect the device in nRF Connect and observe that the BSP_INDICATE_ADVERTISING state is indicated. You can wait for 3 minutes and observe that the BSP_INDICATE_IDLE is indicated.
  4. In system-off, press Button 1 and observe that the application starts advertising again.

Documentation feedback | Developer Zone | Subscribe | Updated