X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Flib%2Fnet%2Fblip%2FIPDispatchC.nc;h=407aca655fc64673ccff4d9611a9ebfe658912b2;hb=c76f0ecb25bc766d836b79552b1659b7a7465b56;hp=66a44c0f2c8f27308ad69fb14d8a6842f159112d;hpb=2f964a9b81ab74d767477d82cd85a72e2d2366cb;p=tinyos-2.x.git diff --git a/tos/lib/net/blip/IPDispatchC.nc b/tos/lib/net/blip/IPDispatchC.nc index 66a44c0f..407aca65 100644 --- a/tos/lib/net/blip/IPDispatchC.nc +++ b/tos/lib/net/blip/IPDispatchC.nc @@ -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