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

Files at this revision

API Documentation at this revision

Comitter:
mudassar0121
Date:
Thu Nov 07 12:48:05 2019 +0500
Parent:
31:b85378bb8269
Child:
33:0f6b21dc0274
Commit message:
Set modem to airplane mode in test cases after disconnect

Changed in this revision

TESTS/unit_tests/http/main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/TESTS/unit_tests/http/main.cpp	Wed Nov 06 16:39:43 2019 +0500
+++ b/TESTS/unit_tests/http/main.cpp	Thu Nov 07 12:48:05 2019 +0500
@@ -221,6 +221,12 @@
     TEST_ASSERT(pDriver->disconnect() == 0);
     // Wait for printfs to leave the building or the test result string gets messed up
     wait_ms(500);
+
+#ifdef TARGET_UBLOX_C027
+    pDriver->set_functionality_mode(UbloxATCellularInterfaceExt::FUNC_MIN);
+#else
+    pDriver->set_functionality_mode(UbloxATCellularInterfaceExt::FUNC_AIRPLANE);
+#endif
 }
 
 // Test HTTP with TLS
@@ -268,6 +274,12 @@
     TEST_ASSERT(pDriver->disconnect() == 0);
     // Wait for printfs to leave the building or the test result string gets messed up
     wait_ms(500);
+
+#ifdef TARGET_UBLOX_C027
+    pDriver->set_functionality_mode(UbloxATCellularInterfaceExt::FUNC_MIN);
+#else
+    pDriver->set_functionality_mode(UbloxATCellularInterfaceExt::FUNC_AIRPLANE);
+#endif
 }
 
 // Allocate max profiles