X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=blobdiff_plain;f=tos%2Fchips%2Fcc2420%2Flpl%2FDefaultLplC.nc;h=b18b08a5ffff1df5b23d1d594896781393edd967;hp=4fc8b7e18e6c400ab493f27d172dc0e4ee53077b;hb=e9bfab607e051bae6afb47b44892ce37541d1b44;hpb=adf1de6c009d13b7b52e68535c63b28f59c97400 diff --git a/tos/chips/cc2420/lpl/DefaultLplC.nc b/tos/chips/cc2420/lpl/DefaultLplC.nc index 4fc8b7e1..b18b08a5 100644 --- a/tos/chips/cc2420/lpl/DefaultLplC.nc +++ b/tos/chips/cc2420/lpl/DefaultLplC.nc @@ -58,7 +58,7 @@ implementation { components MainC, DefaultLplP, PowerCycleC, - CC2420ActiveMessageC, + CC2420RadioC, CC2420CsmaC, CC2420TransmitC, CC2420PacketC, @@ -66,6 +66,7 @@ implementation { new StateC() as SendStateC, new TimerMilliC() as OffTimerC, new TimerMilliC() as SendDoneTimerC, + SystemLowPowerListeningC, LedsC; LowPowerListening = DefaultLplP; @@ -89,11 +90,10 @@ implementation { DefaultLplP.SendDoneTimer -> SendDoneTimerC; DefaultLplP.PowerCycle -> PowerCycleC; DefaultLplP.Resend -> CC2420TransmitC; - DefaultLplP.PacketAcknowledgements -> CC2420ActiveMessageC; - DefaultLplP.AMPacket -> CC2420ActiveMessageC; + DefaultLplP.PacketAcknowledgements -> CC2420RadioC; DefaultLplP.CC2420PacketBody -> CC2420PacketC; DefaultLplP.RadioBackoff -> CC2420CsmaC; DefaultLplP.Random -> RandomC; DefaultLplP.Leds -> LedsC; - + DefaultLplP.SystemLowPowerListening -> SystemLowPowerListeningC; }