[Tinyos-help] Re: USB UART capacity

Bhavish Aggarwal bhavishaggarwal at gmail.com
Mon Feb 25 13:27:14 PST 2008


I also tried using TestSerialBandwidth. I commented out the code in
TestSerial.java which sends packets to mote. Thus, I'm only sending
packets to the PC from mote.

Using the "as fast as possible" mode, I can send packets at the rate
of approx 100Hz in the direction mote to PC. What limits the rate from
being higher?

Bhavish

On Tue, Feb 26, 2008 at 1:52 AM, Bhavish Aggarwal
<bhavishaggarwal at gmail.com> wrote:
> Hi,
>
>  I am trying to ascertain the maximum rate at which packets can be sent
>  from mote to PC via USB. I'm using the tinyos-2.0 BaseStation app on
>  both the sender mote and receiver mote. At the sender, I'm using
>  TestSerial to send packets via USB to the mote in a loop without any
>  sleep in between successive sends and without the ACK mechanism in
>  Packetizer.java.
>
>  Given that the mote to PC UART communication is "best effort", I would
>  expect the number of packets transferred to the PC to be equal to the
>  number of packets incoming from the radio at the receiver. But the
>  number of packets received on the PC (using the Listen app) is less
>  than the number of packets sent. What is the bottleneck in this case?
>
>  I would really appreciate any ideas.
>
>  Thanks,
>
>  Bhavish
>


More information about the Tinyos-help mailing list