example of adding cooja-platform mote interface manually
This commit is contained in:
parent
a49c08caf4
commit
a501816472
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue