public void receivedPacket(RadioPacket p) {
/* Ignore */
}
public void sentPacket(RadioPacket p) {
/* Send another packet after a small pause */
getSimulation().scheduleEvent(new MoteTimeEvent(this, 0) {
public void execute(long t) {
/*logger.info("Sending another radio packet on channel: " + radio.getChannel());*/
radio.startTransmittingPacket(radioPacket, DURATION);
}
}, getSimulation().getSimulationTime() + DELAY);