-
Notifications
You must be signed in to change notification settings - Fork 23
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
Not all status codes are handled in Sntp_StatusToStr() function #82
Comments
aggarg
added a commit
to aggarg/coreSNTP
that referenced
this issue
Jan 5, 2024
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 <[email protected]>
2 tasks
Thank you for reporting this. The following PR addressed it - #83. |
kar-rahul-aws
pushed a commit
that referenced
this issue
Jan 7, 2024
* Include all SntpStatus_t values in Sntp_StatusToStr 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 - #82 Signed-off-by: Gaurav Aggarwal <[email protected]> * Fix memory estimates Signed-off-by: Gaurav Aggarwal <[email protected]> * Fix spell check Signed-off-by: Gaurav Aggarwal <[email protected]> --------- Signed-off-by: Gaurav Aggarwal <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not all cases of
SntpStatus_t
status codes are handled inSntp_StatusToStr
.Therefore
Sntp_StatusToStr
returns "Invalid status code!" also for valid states such as SntpRejectedResponse,SntpErrorSendTimeoutetc.
The text was updated successfully, but these errors were encountered: