interface AMPacket;
interface PacketAcknowledgements;
}
- uses {
- interface Receive as Receive[uint8_t id];
- interface Receive as Snoop[uint8_t id];
- interface AMSend as AMSend[uint8_t id];
- }
}
implementation {
components ActiveMessageC as AM;
BlockingAMSend = AMSenderP;
BlockingStdControlC.SplitControl -> AM;
- Receive = AMReceiverP.Receive;
- Snoop = AMSnooperP.Snoop;
- AMSend = AMSenderP.AMSend;
+ AMReceiverP.Receive -> AM.ReceiveDefault;
+ AMSnooperP.Snoop -> AM.SnoopDefault;
+ AMSenderP.AMSend -> AM.AMSend;
Packet = AM;
AMPacket = AM;