[Tinyos-help] help:event Receive.receive()

Munaretto, Daniel munaretto at docomolab-euro.com
Wed Jul 5 07:08:28 PDT 2006


Hi all,
    is there a fast and easy way to receive all messages arriving from the network?
Because if i only use
 
event TOS_MsgPtr ReceiveDataNC.receive(TOS_MsgPtr m){
  Datagram *dg=(Datagram *)m->data;
[..]
.
.
[..]
 return m;
}
 
i see in TOSSIM that some packets too close with each other (i mean in the time,really closed in arriving time), only the first is taken and elaborated,the next ones are not considered.
But i want to consider all these packets for my project, it's really important!!!
 
I hope someone can help me!
Thanks for your availability!!
 
Cheers
Daniele



More information about the Tinyos-help mailing list