nRF5 SDK v12.1.0
Template Application
This example requires one of the following SoftDevices: S130, S132

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 the 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 the Master Control Panel 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 Master Control Panel (the device will be advertising as 'Nordic_Template'), then connect and perform service discovery. Observe that the BSP_INDICATE_CONNECTED state is indicated.
  3. Disconnect, 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, the application starts advertising again.

Documentation feedback | Developer Zone | Subscribe | Updated