Hi

 You can refer to MultihopLQI in TinyOS-1.x. It uses a history queue to
detect duplicate packet.


On 4/10/08, Poonam Hiwal <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Can anyone suggest me how to maintain the buffer that will store thr
> information of previously forwarded messages.
> One more thing, in my SendMsg.sendDone(TOS_MsgPtr pMsg, result_t success){
> /* I am getting the ack == 0, but my packet is still out...and other nodes
> are receiving it, when I am checking the condition below, Its is true and I
> resend the packet again, In this way my packet is sent two times....
> if (pMsg->ack ==0)
> {
>
> //resend
> }
>
> }
>
>
> Help me in solving this problem
>
> Thanks,
> Poonam
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Renjie Huang
Sensorweb Research Laboratory
http://sensorweb.vancouver.wsu.edu/
Washington State University
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to