X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Flib%2Fmac%2Ftkn154%2Fdummies%2FNoCapP.nc;h=ef3cff84700c81f498f143f0904e10aab68e1b31;hb=adf1de6c009d13b7b52e68535c63b28f59c97400;hp=ba4f409a2ff0e83703483f0334db7985abd2c5ae;hpb=60c48d649028ec3c897fa24cc8dc1cd5739c17c6;p=tinyos-2.x.git diff --git a/tos/lib/mac/tkn154/dummies/NoCapP.nc b/tos/lib/mac/tkn154/dummies/NoCapP.nc index ba4f409a..ef3cff84 100644 --- a/tos/lib/mac/tkn154/dummies/NoCapP.nc +++ b/tos/lib/mac/tkn154/dummies/NoCapP.nc @@ -46,6 +46,7 @@ generic module NoCapP() interface FrameExtracted as FrameExtracted[uint8_t frameType]; interface FrameTxNow as BroadcastTx; interface Notify as WasRxEnabled; + interface Notify as FindBeacon; } uses { @@ -67,6 +68,7 @@ generic module NoCapP() interface GetNow as IsRxEnableActive; interface GetNow as IsRxBroadcastPending; interface Notify as RxEnableStateChange; + interface GetNow as IsTrackingBeacons; interface FrameUtility; interface RadioTx; interface RadioRx; @@ -88,7 +90,7 @@ implementation return SUCCESS; } - async event void TokenTransferred.transferred() + event void TokenTransferred.transferred() { call TokenToCfp.transfer(); } @@ -120,4 +122,6 @@ implementation event void Token.granted(){} command error_t WasRxEnabled.enable(){return FAIL;} command error_t WasRxEnabled.disable(){return FAIL;} + command error_t FindBeacon.enable(){return FAIL;} + command error_t FindBeacon.disable(){return FAIL;} }