On Jul 16, 2006, at 6:25 PM, Avinash Sridharan wrote:
In 2.x I think the setting of the ack to TRUE or FALSE happens by default. As Phil mentioned you can look at the result of the field using the packet acknowledged interface.
Yes. You call PacketAcknowledgments.enableAck on a packet to enable acknowledgments for a given packet. You can then all PacketAcknowledgments.wasAcked to see if it was acked. There are two goals: first, to make acks a per-packet rather than global behavior, and second, to provide an ADT abstraction so you're not directly accessing packet fields.
Phil _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
