Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include all SntpStatus_t values in Sntp_StatusToStr #83

Merged
merged 3 commits into from
Jan 7, 2024

Conversation

aggarg
Copy link
Member

@aggarg aggarg commented Jan 5, 2024

Description

Withtout this change, the function Sntp_StatusToStr would return "Invalid status code!" for the following valid status codes:

  • SntpRejectedResponse
  • SntpErrorSendTimeout
  • SntpErrorResponseTimeout
  • SntpNoResponseReceived
  • SntpErrorContextNotInitialized

Test Steps

Unit tests pass.

Checklist:

  • I have tested my changes. No regression in existing tests.
  • I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

#82

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Withtout this change, the function Sntp_StatusToStr would return
"Invalid status code!" for the following valid status codes:

- SntpRejectedResponse
- SntpErrorSendTimeout
- SntpErrorResponseTimeout
- SntpNoResponseReceived
- SntpErrorContextNotInitialized

This issue was reported here - FreeRTOS#82

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
@kar-rahul-aws kar-rahul-aws merged commit c5face5 into FreeRTOS:main Jan 7, 2024
13 checks passed
@aggarg aggarg deleted the Sntp_StatusToStr branch January 8, 2024 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants