nes-proj/tests/13-ieee802154
2018-04-07 14:49:19 +01:00
..
code-6tisch sixtop: update to draft-ietf-6tisch-6top-protocol-10 2018-03-29 16:19:21 +02:00
code-flush-nbr-queue TSCH: rework .h system, now following the same structure as rpl-lite 2018-03-28 10:39:41 -07:00
code-panid-handling CI: merge IEEE 802.15.4 and 6tisch tests 2017-11-23 06:53:24 -08:00
js Delete trailing whitespaces (tests/) 2018-04-07 14:49:19 +01:00
01-panid-handling.csc Cooja .csc files: do not load collect-view 2018-02-01 05:03:55 -08:00
02-tsch-flush-nbr-queue.csc Cooja .csc files: do not load collect-view 2018-02-01 05:03:55 -08:00
03-cooja-test-sixtop.csc Cooja .csc files: do not load collect-view 2018-02-01 05:03:55 -08:00
04-cooja-test-sixp-pkt.csc Cooja .csc files: do not load collect-view 2018-02-01 05:03:55 -08:00
05-cooja-test-sixp-trans.csc Cooja .csc files: do not load collect-view 2018-02-01 05:03:55 -08:00
06-cooja-test-sixp-nbr.csc Cooja .csc files: do not load collect-view 2018-02-01 05:03:55 -08:00
07-cooja-test-sixp.csc Cooja .csc files: do not load collect-view 2018-02-01 05:03:55 -08:00
Makefile
README.md

Regression Tests of IEEE 802.15.4 Fundamentals

01-panid-handling

Test return values by frame802154_has_panid() in frame802154.c.

Test Code

A test vector is implemented in test-panid-handling.c according to Section 7.2.1.5, IEEE 802.15.4-2015. The testee mote outputs a test result to the console with the prefix, "=check-me=".

01-panid-handling.js examines each console output containing "=check-me=". If it finds "DONE" without having had any "FAILED", the test is considered SUCCESS, log.testOK() is called. Otherwise, FAILED.

References