nes-proj/regression-tests/13-ieee802154
2017-09-01 15:29:00 +02:00
..
code Renamed core to os 2017-09-01 15:29:00 +02:00
code-flush-nbr-queue Renamed core to os 2017-09-01 15:29:00 +02:00
js Merge Travis sub-tests for faster check time 2017-05-16 20:55:13 +02:00
01-panid-handling.csc
02-tsch-packet-create.csc
03-tsch-flush-nbr-queue.csc Merge Travis sub-tests for faster check time 2017-05-16 20:55:13 +02:00
Makefile
README.md Renamed core to os 2017-09-01 15:29:00 +02:00

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