]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/rf2xx/layers/MessageBufferLayerC.nc
Use BareSend/BareReceive instead of Send/Receive to avoid duplication of payload...
[tinyos-2.x.git] / tos / chips / rf2xx / layers / MessageBufferLayerC.nc
index 90402c35bed9d12d2e776ab6907f1e12d46c3417..5ef764478bc309c0d3e6a5534cd1b8fb6c164ce4 100644 (file)
@@ -26,8 +26,8 @@ configuration MessageBufferLayerC
        provides
        {
                interface SplitControl;
-               interface Send;
-               interface Receive;
+               interface BareSend as Send;
+               interface BareReceive as Receive;
                interface RadioChannel;
        }
        uses
@@ -35,8 +35,6 @@ configuration MessageBufferLayerC
                interface RadioState;
                interface RadioSend;
                interface RadioReceive;
-
-               interface Packet;
        }
 }
 
@@ -55,6 +53,4 @@ implementation
        MessageBufferLayerP.Tasklet -> TaskletC;
        RadioSend = MessageBufferLayerP;
        RadioReceive = MessageBufferLayerP;
-
-       Packet = MessageBufferLayerP;
 }