I implemented a no-ACK retry mechanism with message sequence
numbers. It seems to sorta work. I just a minute ago posted
pretty much all my code, so look in my last most recent help
message for a link. That link doesn't contain the PC side
retry, but it's fairly "trivial". The Robot/RoboMsgM.nc file
has the TOS side of things. I had to modify TOSBase to pass
send acks back to the PC to get enough information to make
it work.

It would probably be easier for you to reinvent the wheel,
than to try to understand what I did...but there it is...

MS


Peng Du wrote:
> Hi everyone.
> 
> My BaseStation periodically sends some info to 3 motes. It then waits 
> for ACKs to carry on further operations. The problem is how I can ensure 
> that the initial info and ACKs are not lost due to collision or whatever 
> problem there could be - Sometimes the motes do get the info so they 
> make no response; while some other time the ACKs never reach the 
> BaseStation so the whole system just hangs there and won't progress.
> 
> Thanks very much.
> 
> Peng
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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