[Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/mac/tkn154/dummies NoDispatchSlottedCsmaP.nc, 1.4, 1.5

Jan-Hinrich Hauer janhauer at users.sourceforge.net
Thu May 14 06:20:37 PDT 2009


Update of /cvsroot/tinyos/tinyos-2.x/tos/lib/mac/tkn154/dummies
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv7961/tos/lib/mac/tkn154/dummies

Modified Files:
	NoDispatchSlottedCsmaP.nc 
Log Message:
bugfix: radio token was not properly transferred when MLME_SCAN/_RX_ENABLE was called after the MAC had been switched to Rx/Tx before.

Index: NoDispatchSlottedCsmaP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/mac/tkn154/dummies/NoDispatchSlottedCsmaP.nc,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** NoDispatchSlottedCsmaP.nc	5 May 2009 16:58:53 -0000	1.4
--- NoDispatchSlottedCsmaP.nc	14 May 2009 13:20:35 -0000	1.5
***************
*** 57,60 ****
--- 57,61 ----
      interface GetNow<token_requested_t> as IsRadioTokenRequested;
      interface TransferableResource as RadioToken;
+     interface ResourceRequested as RadioTokenRequested;
      interface SuperframeStructure; 
      interface GetNow<bool> as IsRxEnableActive; 
***************
*** 114,116 ****
--- 115,119 ----
    command error_t WasRxEnabled.disable(){return FAIL;}
    event void PIBUpdateMacRxOnWhenIdle.notify( const void* val ) {}
+   async event void RadioTokenRequested.requested(){ }
+   async event void RadioTokenRequested.immediateRequested(){ }
  }



More information about the Tinyos-2-commits mailing list