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:
27:32267cee7cb8
Final Version 2.0 of S16_Blue_ToF

Who changed what in which revision?

UserRevisionLine numberNew contents of line
hux 27:32267cee7cb8 1 // callback.h - deal with callbacks
hux 27:32267cee7cb8 2 //
hux 27:32267cee7cb8 3 //
hux 27:32267cee7cb8 4 #ifndef _CALLBACK_H_
hux 27:32267cee7cb8 5 #define _CALLBACK_H_
hux 27:32267cee7cb8 6
hux 27:32267cee7cb8 7 #include "bricks/o.h"
hux 27:32267cee7cb8 8
hux 27:32267cee7cb8 9 void onConnect (O&o, void(*fptr)(O&o)); // setup connection callback
hux 27:32267cee7cb8 10 void onDisconnect(O&o, void(*fptr)(O&o)); // setup disconnect callback
hux 27:32267cee7cb8 11 void onWritten (O&o, void (*fptr)(O&)); // setup data written callback
hux 27:32267cee7cb8 12
hux 27:32267cee7cb8 13 #endif // _CALLBACK_H_