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

Remove assertion check to make out-of-order packet work #450

Merged
merged 1 commit into from
Aug 19, 2022

Conversation

ActoryOu
Copy link
Member

Remove assertion check to make out-of-order packet work

Description

Cloud may send the out-of-order (index) OTA packets.
Because we've checked the index in function validateDataBlock(), we don't need to check it again here.
And we shouldn't assume the lastest index packet must be the lastest coming packets.

Checklist:

  • I have tested my changes. No regression in existing tests.
  • My code is formatted using Uncrustify.
  • I have read and applied the rules stated in CONTRIBUTING.md.

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

@ActoryOu ActoryOu merged commit 2f663c6 into aws:main Aug 19, 2022
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