*/
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 command void waitRx(uint32_t t0, uint32_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 command void waitTx(ieee154_timestamp_t *t0, uint32_t dt);
async event void waitTxDone();
+ async command void waitBackoff(uint32_t dt);
+ async event void waitBackoffDone();
+ async command bool ccaOnBackoffBoundary(ieee154_timestamp_t *slot0);
}