Perhaps if you use the QueuedReceive mechanism, you'll not loose as many packets?  Or, if you really want to be sure you're getting the packets and you don't want to touch the radio stack, try using the RadioCoordinator interface, which allows you to be notified every time a byte is recieved.

        - Conor


On 7/25/06, Munaretto, Daniel <[EMAIL PROTECTED]> wrote:
So what you mean is in tinyos-1.x is impossible to bypass this problem, isn'it?
Or if there is a solution in 1.x, in my project would be really important, should you explain it?
Thanks very much,
Cheers
Daniele

        -----Original Message-----
        From: Philip Levis [mailto: [EMAIL PROTECTED]]
        Sent: Tue 7/25/2006 7:33 AM
        To: José Ulloa
        Cc: Tinyos-help@Millennium.Berkeley.EDU
        Subject: Re: [Tinyos-help] Question about lost of packets with MultiHop.



        On Jul 24, 2006, at 1:21 PM, José Ulloa wrote:

        > Hi, we are working with a network with six or more hops, and
        > tinyos-1.x. We have detected a lost of packet in a node, after
        > receiving the packet and sending the corresponding ACK.
        > ¿is this posible because the radio had two packet in the RXFIFO in
        > the moment of read?
        > I understand, when tinyos-1.x reads the first packet, the second
        > will be descarted by the call of flushRXFIFO from the CC2420RadioM
        > component. ¿is this really happening? ¿someone knows a solution for
        > this?

        Yes, this is really happening. It's a fairly nasty issue in the 1.x
        stack. The TinyOS 2.0 stack doesn't have this issue; it keeps track
        of packets in the FIFO and spools them out one by one. If a packet
        can't fit in the FIFO, then the radio doesn't acknowledge it.

        Phil
        _______________________________________________
        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

_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to