]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/rf2xx/layers/DummyLayerC.nc
reorganized packet header handling, added RF212Ieee154MessageC for BLIP
[tinyos-2.x.git] / tos / chips / rf2xx / layers / DummyLayerC.nc
index e3c55dea3352de88b545b3490f41476b9c34a6ff..a595974bae878bfda7ae7f3c95e7b0651d3b9cdd 100644 (file)
@@ -28,25 +28,27 @@ generic configuration DummyLayerC()
                interface SplitControl;
                interface Send;
                interface Receive;
-               interface LowPowerListening;
 
                interface RadioState;
                interface RadioSend;
                interface RadioReceive;
                interface RadioCCA;
+               interface RadioPacket;
 
                interface DummyConfig as UnconnectedConfig;
        }
 
        uses 
        {
+               interface SplitControl as SubControl;
+               interface Send as SubSend;
+               interface Receive as SubReceive;
+
                interface RadioState as SubState;
                interface RadioSend as SubRadioSend;
                interface RadioReceive as SubRadioReceive;
                interface RadioCCA as SubRadioCCA;
-               interface SplitControl as SubControl;
-               interface Send as SubSend;
-               interface Receive as SubReceive;
+               interface RadioPacket as SubPacket;
 
                interface DummyConfig as Config;
        }
@@ -58,13 +60,11 @@ implementation
        RadioSend = SubRadioSend;
        RadioReceive = SubRadioReceive;
        RadioCCA = SubRadioCCA;
+       RadioPacket = SubPacket;
 
        SplitControl = SubControl;
        Send = SubSend;
        Receive = SubReceive;
 
        Config = UnconnectedConfig;
-
-       components DummyLayerP;
-       LowPowerListening = DummyLayerP.LowPowerListening;
 }