From a38247dc040c2ff9c56121ca853260bb410707d6 Mon Sep 17 00:00:00 2001 From: Ari Parkkila Date: Mon, 10 Sep 2018 00:11:07 -0700 Subject: [PATCH] Cellular: Fix Greentea tests for UBLOX_C027 --- features/cellular/TESTS/api/cellular_network/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/features/cellular/TESTS/api/cellular_network/main.cpp b/features/cellular/TESTS/api/cellular_network/main.cpp index 80b38c3f33..5de37a9a1f 100644 --- a/features/cellular/TESTS/api/cellular_network/main.cpp +++ b/features/cellular/TESTS/api/cellular_network/main.cpp @@ -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;