A blue button is always a nice toy ...
Dependencies: BLE_API X_NUCLEO_IDB0XA1 mbed
Fork of BLE_HeartRate_IDB0XA1 by
callback.h
00001 // callback.h - deal with callbacks 00002 // 00003 // 00004 #ifndef _CALLBACK_H_ 00005 #define _CALLBACK_H_ 00006 00007 #include "bricks/o.h" 00008 00009 void onConnect (O&o, void(*fptr)(O&o)); // setup connection callback 00010 void onDisconnect(O&o, void(*fptr)(O&o)); // setup disconnect callback 00011 void onWritten (O&o, void (*fptr)(O&)); // setup data written callback 00012 00013 #endif // _CALLBACK_H_
Generated on Wed Jul 20 2022 11:41:13 by 1.7.2