X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Flib%2Fmac%2Ftkn154%2Fdummies%2FNoDispatchSlottedCsmaP.nc;h=e2fb050986d8e21cf380a9434fb3d52ed33ce5c6;hb=9b7c447b3ec7173f2b22fce7452151bf209379f5;hp=67dcc5ba00281a38df8a3804498f1bcb6d7ca257;hpb=def99df655317b53b7063f9a8fed333fe873b3fe;p=tinyos-2.x.git diff --git a/tos/lib/mac/tkn154/dummies/NoDispatchSlottedCsmaP.nc b/tos/lib/mac/tkn154/dummies/NoDispatchSlottedCsmaP.nc index 67dcc5ba..e2fb0509 100644 --- a/tos/lib/mac/tkn154/dummies/NoDispatchSlottedCsmaP.nc +++ b/tos/lib/mac/tkn154/dummies/NoDispatchSlottedCsmaP.nc @@ -56,6 +56,7 @@ generic module NoDispatchSlottedCsmaP(uint8_t sfDirection) interface Alarm as RxWaitAlarm; interface GetNow as IsRadioTokenRequested; interface TransferableResource as RadioToken; + interface ResourceRequested as RadioTokenRequested; interface SuperframeStructure; interface GetNow as IsRxEnableActive; interface Get as GetIndirectTxFrame; @@ -113,4 +114,6 @@ implementation command error_t WasRxEnabled.enable(){return FAIL;} command error_t WasRxEnabled.disable(){return FAIL;} event void PIBUpdateMacRxOnWhenIdle.notify( const void* val ) {} + async event void RadioTokenRequested.requested(){ } + async event void RadioTokenRequested.immediateRequested(){ } }