Bluetooth Connected TOF Sensor

Dependencies:   BLE_API X_NUCLEO_6180XA1 X_NUCLEO_IDB0XA1 mbed

Fork of BLE_HeartRate_IDB0XA1 by ST

Readme.md

Committer:
hux
Date:
2017-02-02
Revision:
30:e324e95c68a9
Parent:
28:def5e0f0fb06

File content as of revision 30:e324e95c68a9:

S16_Blue_ToF

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 + XNUCLEO-6180XA1 + XNUCLEO-IDB0XA1