]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/rf2xx/layers/LowPowerListeningDummyC.nc
Use BareSend/BareReceive instead of Send/Receive to avoid duplication of payload...
[tinyos-2.x.git] / tos / chips / rf2xx / layers / LowPowerListeningDummyC.nc
index fab03147644d0c60177cf904179f46ac94c379a0..163dc8a100554c261943102ab503f5b8c181b0dd 100644 (file)
@@ -26,16 +26,18 @@ configuration LowPowerListeningDummyC
        provides
        {
                interface SplitControl;
-               interface Send;
-               interface Receive;
+               interface BareSend as Send;
+               interface BareReceive as Receive;
+               interface RadioPacket;
 
                interface LowPowerListening;
        }
        uses
        {
                interface SplitControl as SubControl;
-               interface Send as SubSend;
-               interface Receive as SubReceive;
+               interface BareSend as SubSend;
+               interface BareReceive as SubReceive;
+               interface RadioPacket as SubPacket;
        }
 }
 
@@ -44,6 +46,7 @@ implementation
        SplitControl = SubControl;
        Send = SubSend;
        Receive = SubReceive;
+       RadioPacket = SubPacket;
 
        components LowPowerListeningDummyP;
        LowPowerListening = LowPowerListeningDummyP;