| nRF5 SDK v12.0.0 |

Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Experimental: BLE Blinky Application
This example requires one of the following SoftDevices: S130, S132

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

The BLE Blinky Application uses the LED Button Service Server. This is a small custom service that is used to toggle LEDs and receive button statuses from the nRF5 Development board.

# Setup

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

Button assignments: BSP BLE Button Assignments

# Testing

Test the BLE Blinky Application with the nRF Toolbox app, which is available on both iOS (App Store) and Android (Google Play).

## Test using a Central Blinky Client

You can test the Blinky example by using the Experimental: BLE Blinky Client Application Example. The Experimental: BLE Blinky Client Application Example is a central to this peripheral example. If you download these examples onto two different boards, you will notice that they connect to each other (LED 1 is off, LED 2 is ON). You can now press button 1 on one of the boards and observe that LED 3 will light on the other board. For a more detailed description see the Experimental: BLE Blinky Client Application Example documentation.

## Test using Master Control Panel

You can also test the application with the Master Control Panel by performing the following steps:

1. Compile and program the application. Observe that LED 1 is on. This indicates that the application is advertising.
2. Connect to the device from Master Control Panel (the device will be advertising as 'Nordic_Blinky').
3. Observe that LED 2 is on and LED 1 is off. This indicates that the connections is established.
4. In Master Control Panel, perform service discovery and enable services.
5. Observe that notifications are received on the Button Characteristic (0x1524) when pressing or releasing button 1.
6. Write 01 to the LED Characteristic (0x1525) and observe that LED 3 is turned on.
7. Write 00 to the LED Characteristic (0x1525) and observe that LED 3 is turned off.