nes-proj/tests/13-ieee802154
Yasuyuki Tanaka a5fadb2ebe sixtop: refactoring
- support draft-ietf-6tisch-6top-protocol-03
- maintain a sequence number per neighbor
- rename variables and constants
- reconsider file structure and file names
- make sf-simple part of example
- update sixtop/README.md
- add regression-tests for 6tisch
- apply C-DAC copyright notice
- bugfix + cleanup
2017-09-13 14:38:06 +09:00
..
code TSCH: remove tsch-packet-create test 2017-09-13 14:38:05 +09:00
code-flush-nbr-queue sixtop: refactoring 2017-09-13 14:38:06 +09:00
js TSCH: remove tsch-packet-create test 2017-09-13 14:38:05 +09:00
01-panid-handling.csc Renamed regression-tests to tests in preparation for the addition of other types of tests. 2017-09-01 17:22:10 +02:00
02-tsch-flush-nbr-queue.csc TSCH: remove tsch-packet-create test 2017-09-13 14:38:05 +09:00
Makefile Renamed regression-tests to tests in preparation for the addition of other types of tests. 2017-09-01 17:22:10 +02:00
README.md Renamed regression-tests to tests in preparation for the addition of other types of tests. 2017-09-01 17:22:10 +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