Experimental BLE Blinky Application using a LED and button service server. This is a small custom service that is used to toggle LEDs and receive button status from wirelessly connected Bluetooth Smart development boards.

For information on the GATT service UUID, characteristic UUIDs, or what to expect when manipulating them, please refer to:

http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v13.0.0%2Fble_sdk_app_blinky.html http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v11.0.0%2Fgroup__ble__sdk__srv__lbs.html http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v11.0.0%2Fgroup__ble__sdk__srv__lbs__c.html

Good luck with that.

For an easy 5 minute tour of how Bluetooth Smart works, program a developer kit (nRF52-DK for example) with this application. Once it starts to run it will indicate advertising by blinking LED1. At this time, install a corresponding client application like the nRF Blinky Android app [1] and watch it detect the developer kit. Click on the 'Lightsw' identifier to connect with the GATT service and wait until the developer kit LED1 stops blinking to indicate a connected state. Now, illuminate LED2 by clicking on the lightbulb. Pressing one of the developer kit's buttons will cause the Android app's background to illuminate illustrating bidirectional communication over Bluetooth Smart.

[1] https://play.google.com/store/apps/details?id=no.nordicsemi.android.nrfblinky

readme.md

Committer:
michaesc
Date:
2017-03-28
Revision:
2:204381095967
Parent:
1:f8f97a4d8f02

File content as of revision 2:204381095967:

This example creates and updates a nonstandard blinky service containing two GATT characteristics as specified:

http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v13.0.0%2Fble_sdk_app_blinky.html

The blinky service transmits a device's LED state as well as a device's button state while providing notifications as well. It receives input and manipulates the LED state accordingly.

For information on the corresponding UUIDs and logic in use, please read:

http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v11.0.0%2Fgroup__ble__sdk__srv__lbs.html
http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v11.0.0%2Fgroup__ble__sdk__srv__lbs__c.html

## Requirements

A client application is required to properly access the read only, write only, read write, and notify characteristics of this service application. To answer this requirement, please consider:

https://play.google.com/store/apps/details?id=no.nordicsemi.android.nrfblinky
https://github.com/NordicSemiconductor/nrf5-physical-web/tree/gh-pages/projects/nRF-Blinky/

Additionally, the application can be seen on any BLE scanner on a smartphone such as:

- https://play.google.com/store/apps/details?id=no.nordicsemi.android.mcp for Android.
- https://itunes.apple.com/gb/app/lightblue-bluetooth-low-energy/id557428110?mt=8 for iPhone.