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

CC2420: improve the address filtering #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yatch
Copy link

@yatch yatch commented Jan 18, 2017

The frame filtering feature of (simulated) CC2420 mistakenly drops a received frame when its sequence number is suppressed. This PR resolves the issue as well as makes it support the IEEE 802.15.4-2015 frame or frame version 0b10.

Due to the complexity of handling PAN ID Compression field for frame version 0b10, the additional code gets long... The code refers to test-panid-handling.c in the comments so that we can see what combinations of the key fields are addressed in each if or else if block.

Travis got green on the tip of a contiki branch including this change in mspsim.

- support the IEEE 802.15.4-2015 frame
- handle the case when Sequence Number is suppressed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant