dev

Dependencies:   MTS-Serial libmDot-mbed5

Fork of Dot-AT-Firmware by MultiTech

Revision:
14:f9a77400b622
--- /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