mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 16:29:34 +00:00
3872965362
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/
22 lines
334 B
JavaScript
22 lines
334 B
JavaScript
TIMEOUT(10000, log.testFailed());
|
|
|
|
while(true) {
|
|
YIELD();
|
|
|
|
log.log(time + " " + id + " "+ msg + "\n");
|
|
|
|
if(msg.contains("=check-me=") == false) {
|
|
continue;
|
|
}
|
|
|
|
if(msg.contains("FAILED")) {
|
|
log.testFailed();
|
|
}
|
|
|
|
if(msg.contains("DONE")) {
|
|
log.testOK();
|
|
break;
|
|
}
|
|
|
|
}
|