TOF based Presence Detector

Dependencies:   BLE_API X_NUCLEO_6180XA1 X_NUCLEO_IDB0XA1 mbed

Fork of BLE_HeartRate_IDB0XA1 by ST

Committer:
hux
Date:
Sat Jan 14 08:43:14 2017 +0000
Revision:
27:32267cee7cb8
Setup a GATT Detector Service. There is some bug in the GATT setup, resulting in different behavior between Nordic nRF51822-DK and NUCLEO-L476RG, but with the workaround it works also for the NUCLEO board. (using Bricks V1A)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
hux 27:32267cee7cb8 1 // detection.h - 'detection' services
hux 27:32267cee7cb8 2
hux 27:32267cee7cb8 3 #ifndef _DETECTION_H_
hux 27:32267cee7cb8 4 #define _DETECTION_H_
hux 27:32267cee7cb8 5
hux 27:32267cee7cb8 6 #include "bricks/bricks.h"
hux 27:32267cee7cb8 7
hux 27:32267cee7cb8 8 void services(O&o); // enroll all services & setup callbacks
hux 27:32267cee7cb8 9 void tediousServices(O&o); // enroll all services & setup callbacks
hux 27:32267cee7cb8 10
hux 27:32267cee7cb8 11 #endif // _DETECTION_H_