]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/mac/tkn154/dummies/NoPromiscuousModeP.nc
- re-designed the radio driver interfaces, restructured/improved the CC2420 radio...
[tinyos-2.x.git] / tos / lib / mac / tkn154 / dummies / NoPromiscuousModeP.nc
index 4ac6c850f39cabd1e645914c24d6a007fd8f03fe..40929940da21bab688e936a58b69c54ad15cedf2 100644 (file)
@@ -33,6 +33,8 @@
  * ========================================================================
  */
 
+ /** Empty placeholder component for PromiscuousModeP. */
+
 #include "TKN154_PHY.h"
 #include "TKN154_MAC.h"
 module NoPromiscuousModeP 
@@ -47,7 +49,6 @@ module NoPromiscuousModeP
     interface RadioRx as PromiscuousRx;
     interface RadioOff;
     interface Set<bool> as RadioPromiscuousMode;
-    interface Ieee802154Debug as Debug;
   }
 }
 implementation
@@ -55,7 +56,7 @@ implementation
 
   command error_t Init.init() { return SUCCESS; }
 
-/* ----------------------- Promiscuous Mode ----------------------- */
+  /* ----------------------- Promiscuous Mode ----------------------- */
 
   command bool PromiscuousModeGet.get() { return FALSE; }
 
@@ -65,7 +66,7 @@ implementation
 
   async event void PromiscuousRx.prepareDone() { }
 
-  event message_t* PromiscuousRx.received(message_t *frame, ieee154_reftime_t *timestamp) { return frame; }
+  event message_t* PromiscuousRx.received(message_t *frame, ieee154_timestamp_t *timestamp) { return frame; }
 
   command error_t PromiscuousMode.stop() { return FAIL; }