Bluetooth Connected TOF Sensor
Dependencies: BLE_API X_NUCLEO_6180XA1 X_NUCLEO_IDB0XA1 mbed
Fork of BLE_HeartRate_IDB0XA1 by
Readme.md@28:def5e0f0fb06, 2017-02-01 (annotated)
- Committer:
- hux
- Date:
- Wed Feb 01 22:08:56 2017 +0000
- Revision:
- 28:def5e0f0fb06
- Parent:
- 27:32267cee7cb8
First S16_Blue_ToF application which runs nicely!; Digital display can be switched on/off with red slider
Who changed what in which revision?
User | Revision | Line number | New 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 |