AT terminal for the mDot using the USB debug port instead of the serial port.
Dependencies: MTS-Serial libmDot-mbed5
Fork of Dot-AT-Firmware by
Diff: mts_at_debug.h
- Revision:
- 14:f9a77400b622
diff -r b0f5ae12dc05 -r f9a77400b622 mts_at_debug.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mts_at_debug.h Fri Nov 04 14:25:43 2016 -0500 @@ -0,0 +1,12 @@ +#include "mbed.h" +#include <stdio.h> + +// enable to turn on debug prints and AT commands +// #define DEBUG_MAC 1 + +#ifdef DEBUG_MAC + #define MTS_RADIO_DEBUG_COMMANDS 1 + #define DEBUG_PRINTF(fmt, args...) printf("%s:%d: "fmt, __FUNCTION__, __LINE__, ## args) +#else + #define DEBUG_PRINTF(fmt, args...) +#endif