![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
A cute tiny piece of code implementing an IoT NAND device, demonstrating how to setup and advertise a cute GATT (NAND) service. The code has been tested on a Nordic nRF51822-DK.
Dependencies: BLE_API mbed nRF51822
Fork of BLE_HeartRate_IDB0XA1 by
bricks/trace.h
- Committer:
- hux
- Date:
- 2018-05-19
- Revision:
- 26:dce30a5341bb
- Parent:
- 23:2e73c391bb12
File content as of revision 26:dce30a5341bb:
// trace.h - tracing #ifndef _TRACE_H_ #define _TRACE_H_ #include <mbed.h> #include "bricks/o.h" void trace(O&o, int level, const char *msg); // trace a message void trace(O&o, int level, const char*, int); // trace an int value void traceln(O&o, int level, const char*msg); // trace with CR & LF void verbose(O&o, int level = 9999); // setup verbose level #endif // _TRACE_H_