|
I noticed that when you must send , for example, 3 messages, you must
put a timer between a send and the following send; if I don't do it the following send cannot be executed. That is, the scheme I used is (for 3 send): [...] call Send(...); // send [...] [...] event senddone(..) { if (<FIRST SEND> or <SECOND SEND>) call Timer.start(TIMER_ONE_SHOT,<TIME>); } [...] Timer.fired() { [...] if (<FIRST SEND> OR <SECOND SEND>)) call Send(...); [...] } If I don't put the timer (scheduled with <TIME> = 0.4 - 0.5 seconds) send are not executed. Do you confirm this behaviour ? Thanks Andre |
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
