mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-24 22:32:23 +00:00
10 lines
276 B
JavaScript
10 lines
276 B
JavaScript
/* Script is called once for every node log output. */
|
|
/* Input variables: Mote mote, int id, String msg. */
|
|
|
|
/* Contiki test script example */
|
|
if (msg.startsWith('Contiki')) {
|
|
log.testOK(); /* Report test success */
|
|
} else {
|
|
log.testFailed(); /* Report test failure */
|
|
}
|