ublox-at-cellular-interface-ext

Dependencies:   ublox-at-cellular-interface

Revision:
11:3631f62bb359
Parent:
5:9fd89567f769
Child:
18:071ae6c6e581
diff -r 3b24bc50cc06 -r 3631f62bb359 TESTS/unit_tests/http/main.cpp
--- a/TESTS/unit_tests/http/main.cpp	Tue Jun 13 10:46:08 2017 +0100
+++ b/TESTS/unit_tests/http/main.cpp	Fri Jun 16 00:55:19 2017 +0100
@@ -30,11 +30,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.
@@ -76,7 +81,7 @@
 static UbloxATCellularInterfaceExt *pDriver =
        new UbloxATCellularInterfaceExt(MDMTXD, MDMRXD,
                                        MBED_CONF_UBLOX_CELL_BAUD_RATE,
-                                       true);
+                                       MBED_CONF_APP_DEBUG_ON);
 // A few buffers for general use
 static char buf[1024];
 static char buf1[sizeof(buf)];
@@ -321,7 +326,10 @@
 // Test cases
 Case cases[] = {
     Case("HTTP commands", test_http_cmd),
+#ifndef TARGET_UBLOX_C027
+    // C027 doesn't support TLS
     Case("HTTP with TLS", test_http_tls),
+#endif
     Case("Alloc max profiles", test_alloc_profiles)
 };