[Tinyos-help] Retransmission of the packet lost

2009-08-31 Thread moadsofiane
Hi, I am checking whether there are packets lost with ack field in the message of sendDone event. My aim is to retransmit the packet in case of fails (means the node don't receive an ack). To do this, I try to send the packet lost after a random time. The problem of this is that the packet retra

Re: [Tinyos-help] Retransmission of the packet lost

2009-08-31 Thread Michael Schippling
Presumably Resend_Packet_again_Timer.fired() does another send? Why are you waiting instead of just posting a new send()? And are you sure you have enabled ACKS? Anyway, I'd go look at how you pass the message contents to the resend. It looks like you use "buffer" for something but it points to th

Re: [Tinyos-help] Retransmission of the packet lost

2009-09-01 Thread Michael Schippling
oblem? > Best regards, > Sofiane > > > >> Message du 31/08/09 à 19h53 >> De : "Michael Schippling" >> A : moadsofi...@voila.fr >> Copie à : tinyos-help@millennium.berkeley.edu >> Objet : Re: [Tinyos-help] Retransmission of the packet lost >>