firm newest
Dependencies: MTS-Serial libmDot-dev-mbed5-deprecated
mts_at_debug.h@1:c1c6549b9333, 2018-10-22 (annotated)
- Committer:
- nguyenhoang9x5555
- Date:
- Mon Oct 22 01:56:09 2018 +0000
- Revision:
- 1:c1c6549b9333
- Parent:
- 0:3c869a8cb8f8
hey
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 1 | #include "mbed.h" |
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 2 | #include <stdio.h> |
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 3 | |
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 4 | // enable to turn on debug prints and AT commands |
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 5 | // #define DEBUG_MAC 1 |
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 6 | |
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 7 | #ifdef DEBUG_MAC |
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 8 | #define MTS_RADIO_DEBUG_COMMANDS 1 |
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 9 | #define DEBUG_PRINTF(fmt, args...) printf("%s:%d: "fmt, __FUNCTION__, __LINE__, ## args) |
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 10 | #else |
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 11 | #define DEBUG_PRINTF(fmt, args...) |
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 12 | #endif |