]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/rf2xx/layers/PacketLinkLayerC.nc
reorganized packet header handling, added RF212Ieee154MessageC for BLIP
[tinyos-2.x.git] / tos / chips / rf2xx / layers / PacketLinkLayerC.nc
index 34ea89118e613ff45a25d8c4767d4a51d0d8115c..fb65fe60e743a89ac47cff21858f9f8c2c2ceef5 100644 (file)
@@ -65,25 +65,25 @@ configuration PacketLinkLayerC {
   provides {
     interface Send;
     interface PacketLink;
+    interface RadioPacket;
   }
   
   uses {
     interface Send as SubSend;
-    interface PacketData<packet_link_metadata_t>;
+    interface RadioPacket as SubPacket;
     interface PacketAcknowledgements;
   }
 }
 
 implementation {
-  components PacketLinkLayerP,
-      RF230PacketC,
-      new TimerMilliC() as DelayTimerC;
+  components PacketLinkLayerP, new TimerMilliC() as DelayTimerC;
   
   PacketLink = PacketLinkLayerP;
-  Send = PacketLinkLayerP.Send;
-  SubSend = PacketLinkLayerP.SubSend;
+  Send = PacketLinkLayerP;
+  SubSend = PacketLinkLayerP;
   PacketAcknowledgements = PacketLinkLayerP;
-  PacketData = PacketLinkLayerP;
-  
+  RadioPacket = PacketLinkLayerP;
+  SubPacket = PacketLinkLayerP;
+
   PacketLinkLayerP.DelayTimer -> DelayTimerC;
 }