frame802154: comply with IEEE 802.15.4-2015 on PAN ID Field Handling

This patch changes the behaviors of frame802154_has_panid() for frames
of frame version 0b10 so that it complies with the PAN ID Field Handling
specification in IEEE 802.15.4-2015. For the other frame versions, 0b00
and 0b01, no change is made in frame802154_has_panid().

For more information, please refer to:
https://github.com/contiki-os/contiki/pull/1914/
This commit is contained in:
Yasuyuki Tanaka 2016-10-31 16:18:02 +01:00
parent 9ccc1697cf
commit 3872965362
9 changed files with 529 additions and 11 deletions

View file

@ -0,0 +1,8 @@
all: test-panid-handling
APPS += unit-test
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
CONTIKI = ../../..
CONTIKI_WITH_IPV6 = 1
include $(CONTIKI)/Makefile.include