[Tinyos-devel] lost packets from PC to the mote

Vlado Handziski handzisk at tkn.tu-berlin.de
Fri Apr 18 22:11:32 PDT 2008


It is a known behavior for which many hypothesis have been made, but no one
has nailed the bug/problem until now. You can dig through the  core WG notes
for some more info on the issues like the different preference to sending
mote->pc direction, etc. Ben has looked into this and it seems it is not a
queue overflow problem. He also experimented with making the ISR reentrant
without noticeable improvement.

Vlado

On Sat, Apr 19, 2008 at 3:47 AM, Razvan Musaloiu-E. <razvanm at cs.jhu.edu>
wrote:

> Hi!
>
> I just noticed that when a mote sends a lot of packets to a the PC, the
> packets from the PC to the mote doesn't go reach the user application layer
> some of the time. In the attached archive there is a test program that is
> exposing this. The mote program is sending packets back-to-back while the PC
> program (in Java) is receiving the packets and sends to the mote one packets
> each second. I run the program on telosb in the following way:
>
> (console 1)$ ./sf 9001 /dev/ttyUSB0 115200
> (console 2)$ java StressSerialTest -comm sf at localhost:9001
>
> The mote is toggling the blue led each time it receives a packet and it
> should change state each time the RX led from the USB blinks. This doesn't
> always happen: the RX led indicates a receive but the blue doesn't always
> change its state. The (console 1) also shows lines like this:
>        Note: write failed
>        Note: write failed
>        Note: write failed
>        Note: write failed
>
> Did anyone else notice this behavior?
>
> --
> Razvan ME
> _______________________________________________
> Tinyos-devel mailing list
> Tinyos-devel at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-devel/attachments/20080419/14439617/attachment.htm 


More information about the Tinyos-devel mailing list