NULL //security
);
MHR(&m_emptyDataFrame)[MHR_INDEX_FC1] |= FC1_FRAMETYPE_DATA;
- m_emptyDataFrame.headerLen = 9;
+ m_emptyDataFrame.headerLen = call IEEE154Frame.getHeaderLength(emptyDataMsg);
m_emptyDataFrame.client = 1; // lock
if (call CoordCapTx.transmit(&m_emptyDataFrame) != IEEE154_SUCCESS)
m_emptyDataFrame.client = 0; // unlock
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);}
}