NO, I didn't use any atomic statement. Just a normal receive:
event TOS_MsgPtr ReceiveMessage.receive(TOS_MsgPtr m) {
}
but this event is not triggered when other mote sends a message.
Michael Schippling wrote:
you didn't put the for loop in an atomic{} block did you?
That would shut off interrupts...
MS
Andrea Pacini wrote:
I am using Tmote Sky motes and I noticed that , when a node is doing
something (e.g. when it is doing a for cycle) it can't receive
message, that is Receive.receive() event is not triggered.
Instead , if the node is doing nothing , the receive event is fired
and all woks.
Note that the sender sends only one message . How is possible ?
Doesn't exist a queue of WAITING EVENTS ?
Thanks
Andrea
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help