Implementation of the CellularInterface for u-blox C027 and C030 (non-N2xx flavour) modems that uses the IP stack on-board the cellular modem, hence not requiring LWIP (and so less RAM) and allowing any AT command exchanges to be carried out at the same time as data transfers (since the modem remains in AT mode all the time). This library may be used from mbed 5.5 onwards. If you need to use SMS, USSD or access the modem file system at the same time as using the CellularInterface then use ublox-at-cellular-interface-ext instead.

Dependents:   example-ublox-cellular-interface example-ublox-cellular-interface_r410M example-ublox-mbed-client example-ublox-cellular-interface ... more

Revision:
5:f6706249d076
Parent:
1:bc228becc45d
Child:
6:63dad754c267
--- a/UbloxATCellularInterface.cpp	Tue Jun 13 01:41:53 2017 +0100
+++ b/UbloxATCellularInterface.cpp	Tue Jun 13 10:09:57 2017 +0100
@@ -21,10 +21,10 @@
 #include "mbed_trace.h"
 #define TRACE_GROUP "UACI"
 #else
-#define tr_debug(format, ...) debug(format "\n", ## __VA_ARGS__)
-#define tr_info(format, ...)  debug(format "\n", ## __VA_ARGS__)
-#define tr_warn(format, ...)  debug(format "\n", ## __VA_ARGS__)
-#define tr_error(format, ...) debug(format "\n", ## __VA_ARGS__)
+#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
 
 /**********************************************************************