interface FrameRx;
interface GetNow<token_requested_t> as IsRadioTokenRequested;
} uses {
- interface Resource as Token;
+ interface TransferableResource as RadioToken;
interface RadioRx as PromiscuousRx;
interface RadioOff;
interface Set<bool> as RadioPromiscuousMode;
command error_t PromiscuousMode.start() { return FAIL; }
- event void Token.granted() { call Token.release(); }
+ event void RadioToken.granted() { ASSERT(0);}
- async event void PromiscuousRx.prepareDone() { }
+ event message_t* PromiscuousRx.received(message_t *frame, const ieee154_timestamp_t *timestamp) { return frame; }
- event message_t* PromiscuousRx.received(message_t *frame, ieee154_timestamp_t *timestamp) { return frame; }
+ async event void PromiscuousRx.enableRxDone(){}
command error_t PromiscuousMode.stop() { return FAIL; }
default event void PromiscuousMode.startDone(error_t error){}
default event void PromiscuousMode.stopDone(error_t error){}
async command token_requested_t IsRadioTokenRequested.getNow(){ return FALSE;}
+ async event void RadioToken.transferredFrom(uint8_t clientFrom){ASSERT(0);}
}