osd-contiki/tools/cooja/config/scripts/log_all.js

14 lines
303 B
JavaScript
Raw Normal View History

2009-10-29 15:39:08 +01:00
/*
* Example Contiki test script (JavaScript).
* A Contiki test script acts on mote output, such as via printf()'s.
* The script may operate on the following variables:
* Mote mote, int id, String msg
*/
TIMEOUT(60000);
while (true) {
log.log(time + ":" + id + ":" + msg + "\n");
YIELD();
}