diff --git a/.github/.cSpellWords.txt b/.github/.cSpellWords.txt
index 5a4ad76..721cfb5 100644
--- a/.github/.cSpellWords.txt
+++ b/.github/.cSpellWords.txt
@@ -23,6 +23,7 @@ lcov
ldms
lums
misra
+nondet
sinclude
sntp
utest
diff --git a/docs/doxygen/include/size_table.md b/docs/doxygen/include/size_table.md
index 246a6b8..5ff9fdf 100644
--- a/docs/doxygen/include/size_table.md
+++ b/docs/doxygen/include/size_table.md
@@ -9,8 +9,8 @@
core_sntp_client.c |
- 1.5K |
- 1.2K |
+ 1.7K |
+ 1.4K |
core_sntp_serializer.c |
@@ -19,7 +19,7 @@
Total estimates |
- 2.5K |
- 2.0K |
+ 2.7K |
+ 2.2K |
diff --git a/source/core_sntp_client.c b/source/core_sntp_client.c
index 653dd0d..b84d45f 100644
--- a/source/core_sntp_client.c
+++ b/source/core_sntp_client.c
@@ -931,6 +931,10 @@ const char * Sntp_StatusToStr( SntpStatus_t status )
pString = "SntpErrorBadParameter";
break;
+ case SntpRejectedResponse:
+ pString = "SntpRejectedResponse";
+ break;
+
case SntpRejectedResponseChangeServer:
pString = "SntpRejectedResponseChangeServer";
break;
@@ -975,6 +979,22 @@ const char * Sntp_StatusToStr( SntpStatus_t status )
pString = "SntpErrorAuthFailure";
break;
+ case SntpErrorSendTimeout:
+ pString = "SntpErrorSendTimeout";
+ break;
+
+ case SntpErrorResponseTimeout:
+ pString = "SntpErrorResponseTimeout";
+ break;
+
+ case SntpNoResponseReceived:
+ pString = "SntpNoResponseReceived";
+ break;
+
+ case SntpErrorContextNotInitialized:
+ pString = "SntpErrorContextNotInitialized";
+ break;
+
default:
pString = "Invalid status code!";
break;
diff --git a/test/unit-test/core_sntp_client_utest.c b/test/unit-test/core_sntp_client_utest.c
index b797405..805704a 100644
--- a/test/unit-test/core_sntp_client_utest.c
+++ b/test/unit-test/core_sntp_client_utest.c
@@ -1367,6 +1367,7 @@ void test_StatusToStr( void )
{
TEST_ASSERT_EQUAL_STRING( "SntpSuccess", Sntp_StatusToStr( SntpSuccess ) );
TEST_ASSERT_EQUAL_STRING( "SntpErrorBadParameter", Sntp_StatusToStr( SntpErrorBadParameter ) );
+ TEST_ASSERT_EQUAL_STRING( "SntpRejectedResponse", Sntp_StatusToStr( SntpRejectedResponse ) );
TEST_ASSERT_EQUAL_STRING( "SntpRejectedResponseChangeServer", Sntp_StatusToStr( SntpRejectedResponseChangeServer ) );
TEST_ASSERT_EQUAL_STRING( "SntpRejectedResponseRetryWithBackoff", Sntp_StatusToStr( SntpRejectedResponseRetryWithBackoff ) );
TEST_ASSERT_EQUAL_STRING( "SntpRejectedResponseOtherCode", Sntp_StatusToStr( SntpRejectedResponseOtherCode ) );
@@ -1378,5 +1379,10 @@ void test_StatusToStr( void )
TEST_ASSERT_EQUAL_STRING( "SntpErrorNetworkFailure", Sntp_StatusToStr( SntpErrorNetworkFailure ) );
TEST_ASSERT_EQUAL_STRING( "SntpServerNotAuthenticated", Sntp_StatusToStr( SntpServerNotAuthenticated ) );
TEST_ASSERT_EQUAL_STRING( "SntpErrorAuthFailure", Sntp_StatusToStr( SntpErrorAuthFailure ) );
+ TEST_ASSERT_EQUAL_STRING( "SntpErrorSendTimeout", Sntp_StatusToStr( SntpErrorSendTimeout ) );
+ TEST_ASSERT_EQUAL_STRING( "SntpErrorResponseTimeout", Sntp_StatusToStr( SntpErrorResponseTimeout ) );
+ TEST_ASSERT_EQUAL_STRING( "SntpNoResponseReceived", Sntp_StatusToStr( SntpNoResponseReceived ) );
+ TEST_ASSERT_EQUAL_STRING( "SntpErrorContextNotInitialized", Sntp_StatusToStr( SntpErrorContextNotInitialized ) );
+
TEST_ASSERT_EQUAL_STRING( "Invalid status code!", Sntp_StatusToStr( 100 ) );
}