]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/cc2420_tkn154/ReliableWait.nc
+ modified radio driver (PHY) interfaces: CSMA-CA algorithm is now pushed to radio...
[tinyos-2.x.git] / tos / chips / cc2420_tkn154 / ReliableWait.nc
index 02140b1116fb1181ff4e5dff2cddd9a5b56979e8..0ac6432453905931c6a67661bb4345241b21db59 100644 (file)
  */
 interface ReliableWait
 {
-
   async command void busyWait(uint16_t dt);
-
-  /*
-   * The following command/event pairs are platform-specific
-   * busy-waits. 
-   */
-  
   async command void waitRx(ieee154_reftime_t *t0, uint16_t dt);
   async event void waitRxDone();
-  async command void waitCCA(ieee154_reftime_t *t0, uint16_t dt);
-  async event void waitCCADone();
   async command void waitTx(ieee154_reftime_t *t0, uint16_t dt);
   async event void waitTxDone();
+  async command void waitBackoff(ieee154_reftime_t *t0, uint16_t dt);
+  async event void waitBackoffDone();
+
+  async command void busyWaitSlotBoundaryCCA(ieee154_reftime_t *t0, uint16_t *dt);
+  async command void busyWaitSlotBoundaryTx(ieee154_reftime_t *t0, uint16_t dt);
 }