Cellular: Fix Greentea tests for UBLOX_C027

pull/8050/head
Ari Parkkila 2018-09-10 00:11:07 -07:00
parent 8bf51be75a
commit a38247dc04
1 changed files with 2 additions and 0 deletions

View File

@ -330,6 +330,7 @@ static void test_other()
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) {
// QUECTEL_BG96 timeouts with this one, tested with 3 minute timeout
CellularNetwork::operator_names_list op_names;
@ -346,6 +347,7 @@ static void test_other()
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
CellularNetwork::Supported_UE_Opt supported_opt = CellularNetwork::SUPPORTED_UE_OPT_MAX;