On Oct 20, 2006, at 8:26 AM, Tie Luo wrote:
platform: micaz, tinyos 2.x (Revision: 1.1.2.22)
I have updated to the latest TInyos delevelop branch. Although
some bug on switching channels was fixed (release resource after
sync()), there are still problems.
A mote can send message after switching to a new channel, but the
other mote cannot receive the message.
If I change -DCC2420_DEF_CHANNEL to be the new channel, which means
both motes will "switch" from the new channel to the new channel,
then the communication is correct.
In summary, changing channel at compile time works, while changing
on the fly does not.
Do the sync() and syncDone() really work, for both sending and
receiving?
Tie,
I'm going to be testing David Moss' low-power CC2420 stack today.
I'll take a look at this as well. Can you run one tests for me, in
case my observed behavior is different from yours:
Compile two images (images A1, A2) with channel 25 and another (image
B) with channel 26. Have A1 change its channel to 26 at runtime, and
answer these four questions:
1) Can image A1 receive packets from B?
2) Can B receive packets from A1?
3) Can A1 receive packets from A2?
4) Can A2 receive packets from A1?
Thanks,
Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help