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

Fix communication loop errors when handling ACKs for Describe messages #2756

Merged
merged 2 commits into from
Mar 13, 2024

Conversation

sergeuz
Copy link
Member

@sergeuz sergeuz commented Mar 12, 2024

Problem

When handling a CoAP ACK for a Describe or OTAv3 message, the protocol implementation still forwards the message to the new CoAP implementation which causes an error if the code that handled the ACK in the first place happened to overwrite the contents of the shared message buffer.

Solution

Stop further processing of the ACK message if it was handled by one of the aforementioned subsystems.

Steps to Test

Run the communication/* tests.

@sergeuz sergeuz marked this pull request as ready for review March 12, 2024 19:25
@avtolstoy avtolstoy force-pushed the fix/blockwise_describe_handling branch from f357fb6 to ad0f061 Compare March 13, 2024 03:43
@avtolstoy avtolstoy merged commit 5bf4c98 into develop Mar 13, 2024
13 checks passed
@avtolstoy avtolstoy deleted the fix/blockwise_describe_handling branch March 13, 2024 04:21
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.

3 participants