Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: ublox-at-cellular-interface
Dependents: example-ublox-at-cellular-interface-ext HelloMQTT ublox_new_driver_test example-ublox-at-cellular-interface-ext ... more
Diff: TESTS/unit_tests/http/main.cpp
- Revision:
- 32:c7ff56f0381f
- Parent:
- 30:da746bc48735
- Child:
- 34:4f08b9dd8d03
diff -r b85378bb8269 -r c7ff56f0381f TESTS/unit_tests/http/main.cpp
--- 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