New cellular update

Dependencies:  

Fork of ublox-at-cellular-interface-ext by u-blox

Revision:
11:3631f62bb359
Parent:
5:9fd89567f769
diff -r 3b24bc50cc06 -r 3631f62bb359 TESTS/unit_tests/cell-locate/main.cpp
--- a/TESTS/unit_tests/cell-locate/main.cpp	Tue Jun 13 10:46:08 2017 +0100
+++ b/TESTS/unit_tests/cell-locate/main.cpp	Fri Jun 16 00:55:19 2017 +0100
@@ -36,11 +36,16 @@
 //        }
 //}
 
+// Whether debug trace is on
+#ifndef MBED_CONF_APP_DEBUG_ON
+# define MBED_CONF_APP_DEBUG_ON false
+#endif
+
 // The credentials of the SIM in the board.
 #ifndef MBED_CONF_APP_DEFAULT_PIN
-// Note: this is the PIN for the SIM with ICCID
-// 8944501104169548380.
-# define MBED_CONF_APP_DEFAULT_PIN "5134"
+// Note: if PIN is enabled on your SIM, you must define the PIN
+// for your SIM jere (e.g. using mbed_app.json to do so).
+# define MBED_CONF_APP_DEFAULT_PIN "0000"
 #endif
 
 // Network credentials.
@@ -96,14 +101,14 @@
 #ifdef TARGET_UBLOX_C030
 static DigitalInOut gnssEnable(GNSSEN, PIN_OUTPUT, PushPullNoPull, 1);
 #elif TARGET_UBLOX_C027
-static DigitalOut gnssEnable(GNSSEN, 1);
+static DigitalOut gnssEnable(GPSEN, 1);
 #endif
 
 // An instance of the cellular interface
 static UbloxATCellularInterfaceExt *pDriver =
        new UbloxATCellularInterfaceExt(MDMTXD, MDMRXD,
                                        MBED_CONF_UBLOX_CELL_BAUD_RATE,
-                                       true);
+                                       MBED_CONF_APP_DEBUG_ON);
 
 // ----------------------------------------------------------------
 // PRIVATE FUNCTIONS