]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/rf230/DummyLayerC.nc
Proper MSP_BSL_FLAGS for telosa and telosb based platforms using TMI modular tos...
[tinyos-2.x.git] / tos / chips / rf230 / DummyLayerC.nc
index 5aebc90d92f71b7aa46ddec361c58716b25eacf3..e3c55dea3352de88b545b3490f41476b9c34a6ff 100644 (file)
@@ -25,6 +25,11 @@ generic configuration DummyLayerC()
 {
        provides
        {
+               interface SplitControl;
+               interface Send;
+               interface Receive;
+               interface LowPowerListening;
+
                interface RadioState;
                interface RadioSend;
                interface RadioReceive;
@@ -36,9 +41,12 @@ generic configuration DummyLayerC()
        uses 
        {
                interface RadioState as SubState;
-               interface RadioSend as SubSend;
-               interface RadioReceive as SubReceive;
-               interface RadioCCA as SubCCA;
+               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 DummyConfig as Config;
        }
@@ -47,8 +55,16 @@ generic configuration DummyLayerC()
 implementation
 {
        RadioState = SubState;
-       RadioSend = SubSend;
-       RadioReceive = SubReceive;
-       RadioCCA = SubCCA;
+       RadioSend = SubRadioSend;
+       RadioReceive = SubRadioReceive;
+       RadioCCA = SubRadioCCA;
+
+       SplitControl = SubControl;
+       Send = SubSend;
+       Receive = SubReceive;
+
        Config = UnconnectedConfig;
+
+       components DummyLayerP;
+       LowPowerListening = DummyLayerP.LowPowerListening;
 }