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 project file of the example in the following folder: <InstallFolder>\examples\ble_peripheral\ble_app_template
Buttons assignments:
- Button 1: Wake up and start advertising.
Testing
Test the Template Application with the Master Control Panel by performing the following steps:
- Compile and program the application. Observe that the BSP_INDICATE_ADVERTISING state is indicated.
- 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.
- 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.
- In system-off, press button 1, the application starts advertising again.