Skip to content

Commit a38247d

Browse files
author
Ari Parkkila
committed
Cellular: Fix Greentea tests for UBLOX_C027
1 parent 8bf51be commit a38247d

File tree

1 file changed

+2
-0
lines changed
  • features/cellular/TESTS/api/cellular_network

1 file changed

+2
-0
lines changed

features/cellular/TESTS/api/cellular_network/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ static void test_other()
330330

331331
TEST_ASSERT(nw->set_blocking(true) == NSAPI_ERROR_OK);
332332

333+
#ifndef TARGET_UBLOX_C027 // AT command is supported, but excluded as it runs out of memory easily (there can be very many operator names)
333334
if (strcmp(devi, "QUECTEL_BG96") != 0 && strcmp(devi, "SARA4_PPP") != 0) {
334335
// QUECTEL_BG96 timeouts with this one, tested with 3 minute timeout
335336
CellularNetwork::operator_names_list op_names;
@@ -346,6 +347,7 @@ static void test_other()
346347
TEST_ASSERT(strlen(opn->alpha) > 0);
347348
}
348349
}
350+
#endif
349351

350352
// 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
351353
CellularNetwork::Supported_UE_Opt supported_opt = CellularNetwork::SUPPORTED_UE_OPT_MAX;

0 commit comments

Comments
 (0)