[Tinyos-contrib-commits]
CVS: tinyos-1.x/contrib/handhelds/tos/lib/CC2420Radio
ClientM.nc, 1.4, 1.5
steve ayer
ayer1 at users.sourceforge.net
Tue Jun 26 06:21:32 PDT 2007
Update of /cvsroot/tinyos/tinyos-1.x/contrib/handhelds/tos/lib/CC2420Radio
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv4372
Modified Files:
ClientM.nc
Log Message:
added MessagePool.init() to stdcontrol.stop(), to clean-up for
recovery from a power-down. should have been done with addition of
state-change to IDLE.
Index: ClientM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/handhelds/tos/lib/CC2420Radio/ClientM.nc,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** ClientM.nc 25 Jun 2007 19:37:16 -0000 1.4
--- ClientM.nc 26 Jun 2007 13:21:28 -0000 1.5
***************
*** 235,241 ****
call Timer.stop();
call AutoReScanTimer.stop();
switchClientState(CLIENT_STATE_IDLE);
signal Client.connected(FALSE);
! return call RadioStdControl.stop();
}
--- 235,245 ----
call Timer.stop();
call AutoReScanTimer.stop();
+
switchClientState(CLIENT_STATE_IDLE);
signal Client.connected(FALSE);
! call RadioStdControl.stop();
! call MessagePool.init();
!
! return SUCCESS;
}
More information about the Tinyos-contrib-commits
mailing list