Skip to content

Commit a8faeac

Browse files
author
Teppo Järvelin
committed
Cellular: Fixed sms greentea by removing uncommon character set setting
1 parent 6a64ca9 commit a8faeac

File tree

1 file changed

+3
-5
lines changed
  • features/cellular/TESTS/api/cellular_sms

1 file changed

+3
-5
lines changed

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,9 @@ static void test_set_cscs()
150150

151151
static void test_set_csca()
152152
{
153-
TEST_ASSERT(sms->set_cscs("IRA") == NSAPI_ERROR_OK);
154-
TEST_ASSERT(sms->set_cscs("8859-1") == NSAPI_ERROR_OK);
155-
TEST_ASSERT(sms->set_cscs("PCCP437") == NSAPI_ERROR_OK);
156-
TEST_ASSERT(sms->set_cscs("UCS2") == NSAPI_ERROR_OK);
157-
TEST_ASSERT(sms->set_cscs("GSM") == NSAPI_ERROR_OK);
153+
TEST_ASSERT(sms->set_csca("55555", 129) == NSAPI_ERROR_OK);
154+
TEST_ASSERT(sms->set_csca("+35855555", 145) == NSAPI_ERROR_OK);
155+
TEST_ASSERT(sms->set_csca(service_center_address, service_address_type) == NSAPI_ERROR_OK);
158156
}
159157

160158
static void test_set_cpms_me()

0 commit comments

Comments
 (0)