![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
A blue button is always a nice toy ...
Dependencies: BLE_API X_NUCLEO_IDB0XA1 mbed
Fork of BLE_HeartRate_IDB0XA1 by
Diff: Readme.md
- Revision:
- 28:307f58df778a
- Parent:
- 27:32267cee7cb8
diff -r 32267cee7cb8 -r 307f58df778a Readme.md --- a/Readme.md Sat Jan 14 08:43:14 2017 +0000 +++ b/Readme.md Sun Oct 01 12:48:58 2017 +0000 @@ -1,12 +1,13 @@ -S07_Detection +S15_Blue Button -This demo program sets up a set of services for a Detector peripheral. -Using Bricks-V1A library. +Demonstration of Blue Button status to be transmitted via small GATT database. -There is some bug in the bricks library. As an consequence of the bug the -code runs on the NORDIC-nRF51822-DK, but not on the NUCLEO-L476RG board. -For this reason an alterbative way is used to setup the GATT services, using -tediousServices (see tedious.cpp) +- pressing blue button activates long blinking sequence and sets 'presence' + characteristics to logical 1 +- releasing blue button activates short blinking sequence and sets 'presence' + characteristics to logical 0 +- writing a value to 'test' characteristics copies this vaue to the 'presence' + characteristics Tested Platforms: NUCLEO-L476RG