Bluetooth Connected TOF Sensor

Dependencies:   BLE_API X_NUCLEO_6180XA1 X_NUCLEO_IDB0XA1 mbed

Fork of BLE_HeartRate_IDB0XA1 by ST

Revision:
28:def5e0f0fb06
Parent:
27:32267cee7cb8
--- a/Readme.md	Sat Jan 14 08:43:14 2017 +0000
+++ b/Readme.md	Wed Feb 01 22:08:56 2017 +0000
@@ -1,13 +1,17 @@
-S07_Detection 
-
-This demo program sets up a set of services for a Detector peripheral.
-Using Bricks-V1A library.
+S16_Blue_ToF
 
-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)
+This demo is a big mile stone:
+- BLE GATT database with 2 services
+      Service detection(0xA010,"Detection"); // Detection Service
+         Characteristic<Bool>  chrPresence(detection,0xA011, "n", "Presence"); 
+      Service debug(0xA030,"Debug");         // Debug Service
+         Characteristic<Bool>  chrTest(debug, 0xA031, "w", "Test"); 
+- If the ToF sensor detects/undetects an object the changed presence status
+  is written to characteristic "Presence" (allows notifications)
+- Pressing the blue button is an alternative way to change the button status
+- The red switch on the expansion board can be used to switch the distance dis-
+  play on or off   
 
 Tested Platforms:
-   NUCLEO-L476RG
+   NUCLEO-L476RG + XNUCLEO-6180XA1 + XNUCLEO-IDB0XA1 
    
\ No newline at end of file