mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-09-04 05:29:04 +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 */
|
|
}
|