]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/iris/ActiveMessageC.nc
add default Ieee154MessageC wiring
[tinyos-2.x.git] / tos / platforms / iris / ActiveMessageC.nc
index ef6a2c3d22578b74706a3efe194378ce6ca85a6e..b9273dac1a895cab81f8a8648b80550f8babe9ff 100644 (file)
@@ -30,11 +30,16 @@ configuration ActiveMessageC
                interface AMSend[uint8_t id];
                interface Receive[uint8_t id];
                interface Receive as Snoop[uint8_t id];
+               interface SendNotifier[am_id_t id];
+
                interface Packet;
                interface AMPacket;
 
                interface PacketAcknowledgements;
                interface LowPowerListening;
+#ifdef PACKET_LINK
+               interface PacketLink;
+#endif
 
                interface PacketTimeStamp<TMicro, uint32_t> as PacketTimeStampMicro;
                interface PacketTimeStamp<TMilli, uint32_t> as PacketTimeStampMilli;
@@ -45,15 +50,22 @@ implementation
 {
        components RF230ActiveMessageC as MAC;
 
-       SplitControl = MAC;
-       AMSend       = MAC;
-       Receive      = MAC.Receive;
-       Snoop        = MAC.Snoop;
-       Packet       = MAC;
-       AMPacket     = MAC;
+       SplitControl    = MAC;
+
+       AMSend          = MAC;
+       Receive         = MAC.Receive;
+       Snoop           = MAC.Snoop;
+       SendNotifier    = MAC;
+
+       Packet          = MAC;
+       AMPacket        = MAC;
 
        PacketAcknowledgements  = MAC;
-       LowPowerListening               = MAC;
+       LowPowerListening       = MAC;
+#ifdef PACKET_LINK
+       PacketLink      = MAC;
+#endif
+
        PacketTimeStampMilli    = MAC;
        PacketTimeStampMicro    = MAC;
 }