Experimental: BLE Blinky Application

nRF5 SDK v10.0.0

nRF51 SDK v10.0.0
This example requires one of the following SoftDevices: S110, S130

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

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

Setup

The name of the example is experimental_ble_app_blinky_ SoftDevice _pca10028 , where SoftDevice is the SoftDevice that you are using. If you are not using the Keil Pack Installer, you can find the source code and 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 (Apple Store) and Android (Google Play).

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 1 is turned on.
  7. Write 00 to the LED Characteristic (0x1525) and observe that LED 1 is turned off.

Please send us your feedback about the documentation! For technical questions, visit the Nordic Developer Zone .