]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/net/blip/IPDispatchC.nc
- fix epic OPTFLAGS
[tinyos-2.x.git] / tos / lib / net / blip / IPDispatchC.nc
index 66a44c0f2c8f27308ad69fb14d8a6842f159112d..407aca655fc64673ccff4d9611a9ebfe658912b2 100644 (file)
@@ -39,7 +39,7 @@ configuration IPDispatchC {
   }
 } implementation {
   
-  components Ieee154MessageC as MessageC;
+  components Ieee154MessageC as MessageC, ResourceSendP;
   components MainC, IPDispatchP, IPAddressC, IPRoutingP; 
   components NoLedsC as LedsC;
   components RandomC;
@@ -50,7 +50,10 @@ configuration IPDispatchC {
 
   IPDispatchP.Boot -> MainC;
 
-  IPDispatchP.Ieee154Send -> MessageC;
+  ResourceSendP.SubSend -> MessageC;
+  ResourceSendP.Resource -> MessageC.SendResource[unique(IEEE154_SEND_CLIENT)];
+  IPDispatchP.Ieee154Send -> ResourceSendP.Ieee154Send;
+
   IPDispatchP.Ieee154Receive -> MessageC.Ieee154Receive;
   IPDispatchP.Packet -> MessageC.Packet;
 #ifdef LOW_POWER_LISTENING