Bluetooth Connected TOF Sensor

Dependencies:   BLE_API X_NUCLEO_6180XA1 X_NUCLEO_IDB0XA1 mbed

Fork of BLE_HeartRate_IDB0XA1 by ST

Committer:
hux
Date:
Thu Feb 02 17:35:34 2017 +0000
Revision:
30:e324e95c68a9
Parent:
28:def5e0f0fb06
Final Version 2.0 of S16_Blue_ToF

Who changed what in which revision?

UserRevisionLine numberNew contents of line
hux 28:def5e0f0fb06 1 S16_Blue_ToF
hux 22:d467526abc4a 2
hux 28:def5e0f0fb06 3 This demo is a big mile stone:
hux 28:def5e0f0fb06 4 - BLE GATT database with 2 services
hux 28:def5e0f0fb06 5 Service detection(0xA010,"Detection"); // Detection Service
hux 28:def5e0f0fb06 6 Characteristic<Bool> chrPresence(detection,0xA011, "n", "Presence");
hux 28:def5e0f0fb06 7 Service debug(0xA030,"Debug"); // Debug Service
hux 28:def5e0f0fb06 8 Characteristic<Bool> chrTest(debug, 0xA031, "w", "Test");
hux 28:def5e0f0fb06 9 - If the ToF sensor detects/undetects an object the changed presence status
hux 28:def5e0f0fb06 10 is written to characteristic "Presence" (allows notifications)
hux 28:def5e0f0fb06 11 - Pressing the blue button is an alternative way to change the button status
hux 28:def5e0f0fb06 12 - The red switch on the expansion board can be used to switch the distance dis-
hux 28:def5e0f0fb06 13 play on or off
hux 22:d467526abc4a 14
hux 22:d467526abc4a 15 Tested Platforms:
hux 28:def5e0f0fb06 16 NUCLEO-L476RG + XNUCLEO-6180XA1 + XNUCLEO-IDB0XA1
hux 22:d467526abc4a 17