X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Flib%2Fmac%2Ftkn154%2Fdummies%2FNoDeviceCfpP.nc;h=9f6f87e63377c486075a2439cf085fbb6765f651;hb=280de4fedba9a7080138600e623cdadf22bf728a;hp=0b3dfc7924525cb47bc0f0099aa17c14d15f3765;hpb=cfc8b8448d14883d4d47e0852797366ef0c13a75;p=tinyos-2.x.git diff --git a/tos/lib/mac/tkn154/dummies/NoDeviceCfpP.nc b/tos/lib/mac/tkn154/dummies/NoDeviceCfpP.nc index 0b3dfc79..9f6f87e6 100644 --- a/tos/lib/mac/tkn154/dummies/NoDeviceCfpP.nc +++ b/tos/lib/mac/tkn154/dummies/NoDeviceCfpP.nc @@ -54,14 +54,9 @@ module NoDeviceCfpP interface ResourceTransferred as TokenTransferred; interface ResourceRequested as TokenRequested; interface ResourceTransfer as TokenToBeaconSync; - interface GetNow as CapStartRefTime; - interface GetNow as IsSendingBeacons; - interface GetNow as CfpEnd; - interface GetNow as GtsField; - interface GetNow as SfSlotDuration; - interface GetNow as FinalCapSlot; interface Alarm as CfpSlotAlarm; interface Alarm as CfpEndAlarm; + interface SuperframeStructure as IncomingSF; interface RadioTx; interface RadioRx; interface RadioOff; @@ -94,8 +89,6 @@ implementation // the CFP has started, this component now owns the token - // because GTS is not implemented we pass it back to the // BeaconTransmitP component - // Note: this component must not use the Resource - // interface to release the token! call TokenToBeaconSync.transfer(); } @@ -105,11 +98,9 @@ implementation async event void RadioOff.offDone() {} - async event void RadioTx.loadDone(){} - async event void RadioTx.transmitDone(ieee154_txframe_t *frame, ieee154_reftime_t *txTime){} - - async event void RadioRx.prepareDone(){} - event message_t* RadioRx.received(message_t *frame, ieee154_reftime_t *timestamp){return frame;} + async event void RadioTx.transmitDone(ieee154_txframe_t *frame, const ieee154_timestamp_t *timestamp, error_t result){} + async event void RadioRx.enableRxDone(){} + event message_t* RadioRx.received(message_t *frame, const ieee154_timestamp_t *timestamp){return frame;} async event void TokenRequested.requested() { @@ -119,9 +110,4 @@ implementation } async event void TokenRequested.immediateRequested(){ } - - async event void RadioTx.transmitUnslottedCsmaCaDone(ieee154_txframe_t *frame, - bool ackPendingFlag, ieee154_csma_t *csmaParams, error_t result){} - async event void RadioTx.transmitSlottedCsmaCaDone(ieee154_txframe_t *frame, ieee154_reftime_t *txTime, - bool ackPendingFlag, uint16_t remainingBackoff, ieee154_csma_t *csmaParams, error_t result){} }