]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/rf2xx/layers/LowPowerListeningLayerC.nc
Use BareSend/BareReceive instead of Send/Receive to avoid duplication of payload...
[tinyos-2.x.git] / tos / chips / rf2xx / layers / LowPowerListeningLayerC.nc
index f616167874aa8fd4369f55ec0c540b2e5cc04ba1..76f0a9a2477d0e135f81369a0365cfdddadb64ef 100644 (file)
  * Author: Miklos Maroti
  */
 
-#warning "*** USING LOW POWER LISTENING LAYER"
-
 configuration LowPowerListeningLayerC
 {
        provides
        {
                interface SplitControl;
-               interface Send;
-               interface Receive;
+               interface BareSend as Send;
+               interface BareReceive as Receive;
                interface RadioPacket;
 
                interface LowPowerListening;
@@ -37,8 +35,8 @@ configuration LowPowerListeningLayerC
        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;
 
                interface LowPowerListeningConfig as Config;