[Tinyos-help] CC2420Config.syncDone() may not get called after sync() return SUCCESS

Tie Luo tieluo at gmail.com
Wed Oct 25 02:11:02 PDT 2006


if (call CC2420Config.sync()==SUCCESS) var=1;
....
and in RadioConfig.syncDone(error_t err) I reset var=2 regardless of the
value of err.

However, sometimes the var is always 1, even if I check var periodically.

This shows syncDone may not be called.  Is that a bug? I recall previously a
similar bug (not releasing resource) has been fixed.  Is this a similar
problem?
-- 
Regards,
Tie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20061025/9d7162ee/attachment.htm


More information about the Tinyos-help mailing list