Make sure you are getting a SUCCESS from the send(), otherwise the
message is not sent and no sendDone() is to be expected.

As to reliability, you can use various kinds of ACKs. The choices depend
on your platform, so google around a bit. I also did some brute force
testing and a resend protocol on micas which you can see at:
    http://www.etantdonnes.com/Motes/report_micaz/

MS

Nicole Caruso wrote:
Hi All,

For some reason my motes are having a hard time going to AMSend.sendDone() after calling the command AMSend.send(). This makes no sense because I think AMSend.sendDone() is called at the end of AMSend.send(). Do you think that this has anything to do with hardware unreliability or batteries that are running slightly low?

Also, if it has to do with unreliability, how can I make sending/receiving packets more reliable? Any quick suggestions, if possible, would be appreciated.

Here are some details about my project, in case they contribute to my problem: I am trying to implement a network of 6 or so motes. Part of my algorithm includes having the five nodes turn their radios off periodically. While their radios are on, these five of the nodes must exchange messages with the sixth node, whose radio is always on.

Nicole


------------------------------------------------------------------------

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to