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 off by one after SRV_MAC_LINK_ADR_REQ when only one byte left #1536

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Garag
Copy link

@Garag Garag commented May 5, 2023

When the MAC command SRV_MAC_LINK_ADR_REQ is received followed by only one byte MAC command the last one byte command will not be processed. In this case the macIndex will not be corrected and the last byte is skipped.

I had this problem with a SRV_MAC_LINK_ADR_REQ command followed by a SRV_MAC_DEV_STATUS_REQ command.

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.

2 participants