Hi all,

When ever a packet is received, an event ReceiveMsg.receive(TOS_MsgPtr
Msg) is generated.Can I detect this in some other event for example in
send.senddone() event,so that I can perform alternative task.How to
detect it?
An alternative to this may be using conditional variables.I declare a
global variable "flag" as "false".Keep performing some task in
senddone() event.when a packet is received,receive event generated
will set the flag as "true", then I will stop doing task in senddone()
event.Will this work?


Best Regards,
Kishore
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to