AT command interface for mdot forced to asia interfaces
Dependencies: MTS-Serial libmDot-mbed5
Fork of Dot-AT-Firmware by
mts_at_debug.h@19:79c906b2c53c, 2018-05-01 (annotated)
- Committer:
- brettsawyers
- Date:
- Tue May 01 01:40:37 2018 +0000
- Revision:
- 19:79c906b2c53c
- Parent:
- 14:f9a77400b622
uploading to team
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Mike Fiore |
14:f9a77400b622 | 1 | #include "mbed.h" |
Mike Fiore |
14:f9a77400b622 | 2 | #include <stdio.h> |
Mike Fiore |
14:f9a77400b622 | 3 | |
Mike Fiore |
14:f9a77400b622 | 4 | // enable to turn on debug prints and AT commands |
Mike Fiore |
14:f9a77400b622 | 5 | // #define DEBUG_MAC 1 |
Mike Fiore |
14:f9a77400b622 | 6 | |
Mike Fiore |
14:f9a77400b622 | 7 | #ifdef DEBUG_MAC |
Mike Fiore |
14:f9a77400b622 | 8 | #define MTS_RADIO_DEBUG_COMMANDS 1 |
Mike Fiore |
14:f9a77400b622 | 9 | #define DEBUG_PRINTF(fmt, args...) printf("%s:%d: "fmt, __FUNCTION__, __LINE__, ## args) |
Mike Fiore |
14:f9a77400b622 | 10 | #else |
Mike Fiore |
14:f9a77400b622 | 11 | #define DEBUG_PRINTF(fmt, args...) |
Mike Fiore |
14:f9a77400b622 | 12 | #endif |