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
Diff: TESTS/unit_tests/http/main.cpp
- Revision:
- 35:6a6ee1adff84
- Parent:
- 34:4f08b9dd8d03
diff -r 4f08b9dd8d03 -r 6a6ee1adff84 TESTS/unit_tests/http/main.cpp --- a/TESTS/unit_tests/http/main.cpp Fri Jan 03 15:46:29 2020 +0500 +++ b/TESTS/unit_tests/http/main.cpp Mon Jan 06 14:43:04 2020 +0500 @@ -124,7 +124,7 @@ TEST_ASSERT(pDriver->set_mno_profile(UbloxATCellularInterface::STANDARD_EU)); TEST_ASSERT(pDriver->reboot_modem()); tr_debug("Reboot successful\n"); - wait_ms(5000); + ThisThread::sleep_for(5000); } } TEST_ASSERT(pDriver->init(MBED_CONF_APP_DEFAULT_PIN)); @@ -220,7 +220,7 @@ TEST_ASSERT(pDriver->httpFreeProfile(profile)); TEST_ASSERT(pDriver->disconnect() == 0); // Wait for printfs to leave the building or the test result string gets messed up - wait_ms(500); + ThisThread::sleep_for(500); #ifdef TARGET_UBLOX_C027 pDriver->set_functionality_mode(UbloxATCellularInterfaceExt::FUNC_MIN); @@ -273,7 +273,7 @@ TEST_ASSERT(pDriver->httpFreeProfile(profile)); TEST_ASSERT(pDriver->disconnect() == 0); // Wait for printfs to leave the building or the test result string gets messed up - wait_ms(500); + ThisThread::sleep_for(500); #ifdef TARGET_UBLOX_C027 pDriver->set_functionality_mode(UbloxATCellularInterfaceExt::FUNC_MIN); @@ -341,7 +341,7 @@ TEST_ASSERT(pDriver->disconnect() == 0); // Wait for printfs to leave the building or the test result string gets messed up - wait_ms(500); + ThisThread::sleep_for(500); } // ----------------------------------------------------------------