This class provides SMS, USSD and modem file system support for u-blox modules on the C027 and C030 boards (excepting the C030 N2xx flavour) from mbed 5.5 onwards.

Dependents:   example-ublox-at-cellular-interface-ext example-ublox-cellular-driver-gen HelloMQTT ublox_new_driver_test ... more

Revision:
4:4f2c12992e17
Parent:
3:027c9eaec52c
Child:
5:b935404dcf7c
--- a/UbloxCellularDriverGen.cpp	Tue Jun 13 00:29:44 2017 +0100
+++ b/UbloxCellularDriverGen.cpp	Tue Jun 13 10:45:14 2017 +0100
@@ -19,9 +19,10 @@
 #include "mbed_trace.h"
 #define TRACE_GROUP "UCID"
 #else
-#define debug_if(_debug_trace_on, ...) (void(0)) // dummies if feature common pal is not added
-#define tr_info(...)  (void(0)) // dummies if feature common pal is not added
-#define tr_error(...) (void(0)) // dummies if feature common pal is not added
+#define tr_debug(format, ...) debug_if(_debug_trace_on, format "\n", ## __VA_ARGS__)
+#define tr_info(format, ...)  debug_if(_debug_trace_on, format "\n", ## __VA_ARGS__)
+#define tr_warn(format, ...)  debug_if(_debug_trace_on, format "\n", ## __VA_ARGS__)
+#define tr_error(format, ...) debug_if(_debug_trace_on, format "\n", ## __VA_ARGS__)
 #endif
 
 /**********************************************************************