Hi
I'm trying to develop an application to stream sound over TelosB
motes. I use a java code so capture sound from mic in to a byte array.

I used the method described in "TestSerial.java" code to take 20 bytes
from this array, in each iteration of a loop, and place it in a packet
and send it to mote (executing base station program) over USB.  I find
that data is sent over USB  in bursts. As in, some packets are sent
and then there's a gap before some packets are sent again.  More over
as I reduce the delay between packets to 20ms or lower this nature
becomes even more prominent. It'll be best for me if I can send the
packets without any delay.

Could you please suggest if there's a better way of sending 100s of
packets that form a byte stream. Or if there is some other approach
that will be more suited to this case (as test serial has to send only
few packets and at sufficient delay, I fear the same approach won't
apply to my work).

Thank you very much
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to