I'm not entirely certain that ACKs work in TOSSIM, like rssi....
But in any case the TOS_Msg.ack field is output, not input.
It indicates whether and ACK was received, it doesn't enable them.
To use ACKS you need to call MacControl.enableAck() on the receiving
(or better, both) side, and make sure to send messages to specific
moteID addrs. An excruciating example may be found in:
http://www.etantdonnes.com/Motes/robocode.tar.gz
MS
MINO GB wrote:
I would like to know how to use ACK in TOSSIM. I set ack field in
Tos_Msg = 1, but I don't know how to detect whether or not sender
receives ack.
------------------------------------------------------------------------
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help