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

Committer:
michaesc
Date:
Tue Mar 28 15:55:45 2017 +0000
Revision:
1:f8f97a4d8f02
Included boilerplate project files for imminent logic development.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
michaesc 1:f8f97a4d8f02 1 This example creates and updates a nonstandard blinky service containing two GATT characteristics as specified:
michaesc 1:f8f97a4d8f02 2
michaesc 1:f8f97a4d8f02 3 http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v13.0.0%2Fble_sdk_app_blinky.html
michaesc 1:f8f97a4d8f02 4
michaesc 1:f8f97a4d8f02 5 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.
michaesc 1:f8f97a4d8f02 6
michaesc 1:f8f97a4d8f02 7 For information on the corresponding UUIDs and logic in use, please read:
michaesc 1:f8f97a4d8f02 8
michaesc 1:f8f97a4d8f02 9 http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v11.0.0%2Fgroup__ble__sdk__srv__lbs.html
michaesc 1:f8f97a4d8f02 10 http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v11.0.0%2Fgroup__ble__sdk__srv__lbs__c.html
michaesc 1:f8f97a4d8f02 11
michaesc 1:f8f97a4d8f02 12 ## Requirements
michaesc 1:f8f97a4d8f02 13
michaesc 1:f8f97a4d8f02 14 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:
michaesc 1:f8f97a4d8f02 15
michaesc 1:f8f97a4d8f02 16 https://play.google.com/store/apps/details?id=no.nordicsemi.android.nrfblinky
michaesc 1:f8f97a4d8f02 17 https://github.com/NordicSemiconductor/nrf5-physical-web/tree/gh-pages/projects/nRF-Blinky/
michaesc 1:f8f97a4d8f02 18
michaesc 1:f8f97a4d8f02 19 Additionally, the application can be seen on any BLE scanner on a smartphone such as:
michaesc 1:f8f97a4d8f02 20
michaesc 1:f8f97a4d8f02 21 - https://play.google.com/store/apps/details?id=no.nordicsemi.android.mcp for Android.
michaesc 1:f8f97a4d8f02 22 - https://itunes.apple.com/gb/app/lightblue-bluetooth-low-energy/id557428110?mt=8 for iPhone.