Base class for the ublox-xxx-cellular-xxx classes. Cannot be used standalone, only inherited by classes that do properly useful stuff. Or, to put it another way, if you are using any of the ublox-xxx-cellular-xxx classes, you will need this class also.

Dependents:   example-ublox-cellular-interface example-ublox-cellular-driver-gen HelloMQTT example-ublox-cellular-interface_r410M ... more

Files at this revision

API Documentation at this revision

Comitter:
rob.meades@u-blox.com
Date:
Mon Jun 12 23:03:38 2017 +0100
Parent:
0:5cffef3371f6
Child:
2:73fcc33c9400
Commit message:
Tested on C027.

Changed in this revision

UbloxCellularBase.cpp Show annotated file Show diff for this revision Revisions of this file
UbloxCellularBase.h Show annotated file Show diff for this revision Revisions of this file
--- a/UbloxCellularBase.cpp	Mon Jun 12 21:28:56 2017 +0000
+++ b/UbloxCellularBase.cpp	Mon Jun 12 23:03:38 2017 +0100
@@ -21,10 +21,10 @@
 #include "mbed_trace.h"
 #define TRACE_GROUP "UCB"
 #else
-#define tr_debug(format, ...) debug(format, ## __VA_ARGS__)
-#define tr_info(format, ...)  debug(format, ## __VA_ARGS__)
-#define tr_warn(format, ...)  debug(format, ## __VA_ARGS__)
-#define tr_error(format, ...) debug(format, ## __VA_ARGS__)
+#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__)
 #endif
 
 /**********************************************************************
--- a/UbloxCellularBase.h	Mon Jun 12 21:28:56 2017 +0000
+++ b/UbloxCellularBase.h	Mon Jun 12 23:03:38 2017 +0100
@@ -13,8 +13,8 @@
  * limitations under the License.
  */
 
-#ifndef UBLOX_CELLULAR_BASE_
-#define UBLOX_CELLULAR_BASE_
+#ifndef _UBLOX_CELLULAR_BASE_
+#define _UBLOX_CELLULAR_BASE_
 
 #include "mbed.h"
 #include "ATCmdParser.h"
@@ -377,5 +377,5 @@
     void UMWI_URC();
 };
 
-#endif //_UBLOX_CELLULAR_DRIVER_GEN_BASE_
+#endif // _UBLOX_CELLULAR_BASE_