]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/rf2xx/layers/ActiveMessageLayerC.nc
Use BareSend/BareReceive instead of Send/Receive to avoid duplication of payload...
[tinyos-2.x.git] / tos / chips / rf2xx / layers / ActiveMessageLayerC.nc
index 5cc4afe66c08cecf6018e72ea36be145919f3768..5404beca6ee5e26045276ce9373e0e4147c16b4a 100755 (executable)
@@ -31,13 +31,14 @@ configuration ActiveMessageLayerC
                interface AMSend[am_id_t id];
                interface Receive[am_id_t id];
                interface Receive as Snoop[am_id_t id]; 
+               interface SendNotifier[am_id_t id];
        }
 
        uses
        {
                interface RadioPacket as SubPacket;
-               interface Send as SubSend;
-               interface Receive as SubReceive;
+               interface BareSend as SubSend;
+               interface BareReceive as SubReceive;
                interface ActiveMessageConfig as Config;
        }
 }
@@ -53,6 +54,7 @@ implementation
        AMSend = ActiveMessageLayerP;
        Receive = ActiveMessageLayerP.Receive;
        Snoop = ActiveMessageLayerP.Snoop;
+       SendNotifier = ActiveMessageLayerP;
        
        SubPacket = ActiveMessageLayerP;
        SubSend = ActiveMessageLayerP;