ublox-at-cellular-interface-ext
Dependencies: ublox-at-cellular-interface
Diff: TESTS/unit_tests/http/main.cpp
- Revision:
- 32:c7ff56f0381f
- Parent:
- 30:da746bc48735
- Child:
- 34:4f08b9dd8d03
--- 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