-/* tab:4
+/*
* "Copyright (c) 2005 Stanford University. All rights reserved.
*
* Permission to use, copy, modify, and distribute this software and
interface RadioBackoff[am_id_t amId];
interface LowPowerListening;
interface PacketLink;
+ interface SendNotifier[am_id_t amId];
}
}
implementation {
#endif
- RadioBackoff = CsmaC;
+ RadioBackoff = AM;
Packet = AM;
AMSend = AM;
+ SendNotifier = AM;
Receive = AM.Receive;
Snoop = AM.Snoop;
AMPacket = AM;
AM.CC2420PacketBody -> CC2420PacketC;
AM.CC2420Config -> CC2420ControlC;
+ AM.SubBackoff -> CsmaC;
+
}