From a5018164725d5d8b21180e45be5fa8a1cbacb2bf Mon Sep 17 00:00:00 2001 From: Fredrik Osterlind Date: Fri, 11 Feb 2011 15:23:59 +0100 Subject: [PATCH] example of adding cooja-platform mote interface manually --- platform/cooja/contiki-cooja-main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platform/cooja/contiki-cooja-main.c b/platform/cooja/contiki-cooja-main.c index 88a3257f5..a64482def 100644 --- a/platform/cooja/contiki-cooja-main.c +++ b/platform/cooja/contiki-cooja-main.c @@ -118,6 +118,9 @@ SIM_INTERFACE_NAME(clock_interface); SIM_INTERFACE_NAME(leds_interface); SIM_INTERFACE_NAME(cfs_interface); SIM_INTERFACES(&vib_interface, &moteid_interface, &rs232_interface, &simlog_interface, &beep_interface, &radio_interface, &button_interface, &pir_interface, &clock_interface, &leds_interface, &cfs_interface); +/* Example: manually add mote interfaces */ +//SIM_INTERFACE_NAME(dummy_interface); +//SIM_INTERFACES(..., &dummy_interface); /* Sensors */ SENSORS(&button_sensor, &pir_sensor, &vib_sensor);