This class adds HTTP, FTP and CellLocate client support for u-blox modules for the C027 and C030 boards (excepting the C030 N2xx flavour) from mbed 5.5 onwards. The HTTP, FTP and CellLocate operations are all hosted on the module, minimizing RAM consumption in the mbed MCU. It also sub-classes ublox-cellular-driver-gen to bring in SMS, USSD and modem file system support if you need to use these functions at the same time as the cellular interface.

Dependencies:   ublox-at-cellular-interface

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

Revision:
27:12b47e78f601
Parent:
11:3631f62bb359
Child:
30:da746bc48735
--- a/TESTS/unit_tests/ftp/main.cpp	Thu Aug 08 17:37:24 2019 +0500
+++ b/TESTS/unit_tests/ftp/main.cpp	Mon Aug 19 12:25:22 2019 +0500
@@ -261,9 +261,9 @@
     tr_debug("Listing:\n%s", buf);
 
     // The file we will GET should appear in the directory listing
-    TEST_ASSERT(strstr(buf, MBED_CONF_APP_FTP_FILENAME) > NULL);
+    TEST_ASSERT(strstr(buf, MBED_CONF_APP_FTP_FILENAME));
     // As should the directory name we will change to
-    TEST_ASSERT(strstr(buf, MBED_CONF_APP_FTP_DIRNAME) > NULL);
+    TEST_ASSERT(strstr(buf, MBED_CONF_APP_FTP_DIRNAME));
 }
 
 // Test FTP file information
@@ -275,7 +275,7 @@
     tr_debug("File info:\n%s", buf);
 
     // The file info string should at least include the file name
-    TEST_ASSERT(strstr(buf, MBED_CONF_APP_FTP_FILENAME) > NULL);
+    TEST_ASSERT(strstr(buf, MBED_CONF_APP_FTP_FILENAME));
 }
 
 #if MBED_CONF_APP_FTP_SERVER_SUPPORTS_WRITE
@@ -433,7 +433,7 @@
     tr_debug("Listing:\n%s", buf);
 
     // The listing should include the directory name we are going to move to
-    TEST_ASSERT(strstr(buf, MBED_CONF_APP_FTP_DIRNAME) > NULL);
+    TEST_ASSERT(strstr(buf, MBED_CONF_APP_FTP_DIRNAME));
 
     // Change directories
     TEST_ASSERT(pDriver->ftpCommand(UbloxATCellularInterfaceExt::FTP_CD,
@@ -458,7 +458,7 @@
     tr_debug("Listing:\n%s", buf);
 
     // The listing should include the directory name we went to once more
-    TEST_ASSERT(strstr(buf, MBED_CONF_APP_FTP_DIRNAME) > NULL);
+    TEST_ASSERT(strstr(buf, MBED_CONF_APP_FTP_DIRNAME));
 }
 
 #ifdef MBED_CONF_APP_FTP_FOTA_FILENAME