![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
A blue button is always a nice toy ...
Dependencies: BLE_API X_NUCLEO_IDB0XA1 mbed
Fork of BLE_HeartRate_IDB0XA1 by
bricks/trace.h@25:231d3f382583, 2017-01-06 (annotated)
- Committer:
- hux
- Date:
- Fri Jan 06 21:36:47 2017 +0000
- Revision:
- 25:231d3f382583
- Parent:
- 23:677689000369
T07N_Easy_GATT, release 1.1 - all services & required callbacks for handling the services are moved to easy.cpp. Works well - no bug known!
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
hux | 23:677689000369 | 1 | // trace.h - tracing |
hux | 23:677689000369 | 2 | #ifndef _TRACE_H_ |
hux | 23:677689000369 | 3 | #define _TRACE_H_ |
hux | 23:677689000369 | 4 | |
hux | 23:677689000369 | 5 | #include <mbed.h> |
hux | 23:677689000369 | 6 | |
hux | 23:677689000369 | 7 | void verbose(int level); // setup verbose level |
hux | 23:677689000369 | 8 | void trace(int level, const char *msg); // trace a message |
hux | 23:677689000369 | 9 | |
hux | 25:231d3f382583 | 10 | inline void verbose() |
hux | 25:231d3f382583 | 11 | { |
hux | 25:231d3f382583 | 12 | verbose(99); // print all verbose messages |
hux | 25:231d3f382583 | 13 | } |
hux | 25:231d3f382583 | 14 | |
hux | 23:677689000369 | 15 | #endif // _TRACE_H_ |