]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/mac/tkn154/dummies/NoDispatchSlottedCsmaP.nc
removed an Alarm from a dummy component
[tinyos-2.x.git] / tos / lib / mac / tkn154 / dummies / NoDispatchSlottedCsmaP.nc
index b61259ecce4bf856afe4160cc13d96134cba62e5..67dcc5ba00281a38df8a3804498f1bcb6d7ca257 100644 (file)
@@ -53,8 +53,7 @@ generic module NoDispatchSlottedCsmaP(uint8_t sfDirection)
   {
     interface Alarm<TSymbolIEEE802154,uint32_t> as CapEndAlarm;
     interface Alarm<TSymbolIEEE802154,uint32_t> as BLEAlarm;
-    interface Alarm<TSymbolIEEE802154,uint32_t> as IndirectTxWaitAlarm;
-    interface Alarm<TSymbolIEEE802154,uint32_t> as BroadcastAlarm;
+    interface Alarm<TSymbolIEEE802154,uint32_t> as RxWaitAlarm;
     interface GetNow<token_requested_t> as IsRadioTokenRequested;
     interface TransferableResource as RadioToken;
     interface SuperframeStructure; 
@@ -62,6 +61,7 @@ generic module NoDispatchSlottedCsmaP(uint8_t sfDirection)
     interface Get<ieee154_txframe_t*> as GetIndirectTxFrame; 
     interface Notify<bool> as RxEnableStateChange;
     interface GetNow<bool> as IsTrackingBeacons;
+    interface Notify<const void*> as PIBUpdateMacRxOnWhenIdle;
     interface FrameUtility;
     interface SlottedCsmaCa;
     interface RadioRx;
@@ -99,9 +99,7 @@ implementation
 
   event void RxEnableStateChange.notify(bool whatever){ }
 
-  async event void BroadcastAlarm.fired(){ }
-
-  async event void IndirectTxWaitAlarm.fired() { }
+  async event void RxWaitAlarm.fired(){ }
 
   async event void SlottedCsmaCa.transmitDone(ieee154_txframe_t *frame, ieee154_csma_t *csma, 
       bool ackPendingFlag,  uint16_t remainingBackoff, error_t result) { }
@@ -114,4 +112,5 @@ implementation
 
   command error_t WasRxEnabled.enable(){return FAIL;}
   command error_t WasRxEnabled.disable(){return FAIL;}
+  event void PIBUpdateMacRxOnWhenIdle.notify( const void* val ) {}
 }