mirror of https://github.com/ARMmbed/mbed-os.git
Cellular: Fix Greentea tests for UBLOX_C027
parent
8bf51be75a
commit
a38247dc04
|
@ -330,6 +330,7 @@ static void test_other()
|
||||||
|
|
||||||
TEST_ASSERT(nw->set_blocking(true) == NSAPI_ERROR_OK);
|
TEST_ASSERT(nw->set_blocking(true) == NSAPI_ERROR_OK);
|
||||||
|
|
||||||
|
#ifndef TARGET_UBLOX_C027 // AT command is supported, but excluded as it runs out of memory easily (there can be very many operator names)
|
||||||
if (strcmp(devi, "QUECTEL_BG96") != 0 && strcmp(devi, "SARA4_PPP") != 0) {
|
if (strcmp(devi, "QUECTEL_BG96") != 0 && strcmp(devi, "SARA4_PPP") != 0) {
|
||||||
// QUECTEL_BG96 timeouts with this one, tested with 3 minute timeout
|
// QUECTEL_BG96 timeouts with this one, tested with 3 minute timeout
|
||||||
CellularNetwork::operator_names_list op_names;
|
CellularNetwork::operator_names_list op_names;
|
||||||
|
@ -346,6 +347,7 @@ static void test_other()
|
||||||
TEST_ASSERT(strlen(opn->alpha) > 0);
|
TEST_ASSERT(strlen(opn->alpha) > 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// TELIT_HE910 and QUECTEL_BG96 just gives an error and no specific error number so we can't know is this real error or that modem/network does not support the command
|
// TELIT_HE910 and QUECTEL_BG96 just gives an error and no specific error number so we can't know is this real error or that modem/network does not support the command
|
||||||
CellularNetwork::Supported_UE_Opt supported_opt = CellularNetwork::SUPPORTED_UE_OPT_MAX;
|
CellularNetwork::Supported_UE_Opt supported_opt = CellularNetwork::SUPPORTED_UE_OPT_MAX;
|
||||||
|
|
Loading…
Reference in New Issue