this is using the mbed os version 5-13-1

Dependencies:   mbed-http

Revision:
104:11e9605093c9
Parent:
103:7b566b522427
Child:
113:888e262ff0a9
--- a/source/debug.h	Thu May 02 21:50:17 2019 +0000
+++ b/source/debug.h	Sun May 05 08:24:46 2019 +0000
@@ -32,7 +32,7 @@
 
 #define DBG_RX_CMDDATA_SIZE_BYTES       32   
 
-//#define dbg_printf(debug_level, ...) dbg_print(FILE_CODE, __LINE__, debug_level, __VA_ARGS__)
+#define dbg_printf(debug_level, ...) dbg_print(FILE_CODE, __LINE__, debug_level, __VA_ARGS__)
 
 //-------- Constants & enums -------------------------------------------------//
 
@@ -88,8 +88,9 @@
 
 void print_debug_hex(const uint8_t* p_buf, uint16_t len);
 
-void dbg_printf(uint8_t debug_level, const char *text, ...);
-//void dbg_printf(uint8_t debug_level, ...);
+//void dbg_printf(uint8_t debug_level, const char *text, ...);
+void dbg_print(const char* file_name, uint16_t line_number, 
+                       uint8_t debug_level, const char *text, ...);
 //----------------------------------------------------------------------------//
 
 #endif /* DEBUG_H */