32 #include "dev/moteid.h"
33 #include "lib/simEnvChange.h"
34 #include "lib/random.h"
36 const struct simInterface moteid_interface;
40 char simMoteIDChanged;
45 doInterfaceActionsBeforeTick(
void)
47 if (simMoteIDChanged) {
49 random_init(simRandomSeed);
54 doInterfaceActionsAfterTick(
void)
59 SIM_INTERFACE(moteid_interface,
60 doInterfaceActionsBeforeTick,
61 doInterfaceActionsAfterTick);