interface InternalFlash as IFlash;
interface Crc;
interface Leds;
+#if !defined(PLATFORM_TINYNODE)
interface CC2420Config;
+#endif
async command void setAmAddress(am_addr_t a);
interface ReprogramGuard;
}
TOS_NODE_ID = bootArgs.address;
call setAmAddress(bootArgs.address);
}
+#if !defined(PLATFORM_TINYNODE)
call CC2420Config.setShortAddr(bootArgs.address);
call CC2420Config.sync();
-
+#endif
return SUCCESS;
}
}
}
+#if !defined(PLATFORM_TINYNODE)
event void CC2420Config.syncDone(error_t error) {}
+#endif
}