AT Command Set mDot firmware with updated libmDot, to fix endian problem with joining LoRaWAN network

Dependencies:   MTS-Serial libmDot mbed-rtos mbed-src

Fork of mDot_AT_firmware by MultiTech

debug.h

Committer:
mfiore
Date:
2015-06-25
Revision:
0:e2b8246361bc
Child:
1:e52ae6584f1c

File content as of revision 0:e2b8246361bc:

#include "mbed.h"
#include <stdio.h>

// enable to turn on debug prints
#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