Hmmm... maybe there's a bug on the java side then.  Can you verify
that the raw bytes coming in are incorrect or is the formatting just
wrong?

Kevin

On Tue, Jan 20, 2009 at 10:51 PM, Tal  Rusak <t...@cornell.edu> wrote:
>     I tried with
> CFLAGS += -DPRINTF_BUFFER_SIZE=2500
>
>     With no explicit flushing, it now the prints skip 1-2 lines between
> every successful print.
>
>     With explicit flushing, I am seeing similar behavior as before.
>
> Thanks,
> Tal
>
>> Try increasing the buffer size and let me know if this helps...
>>
>> Kevin
>>
>> On Sat, Jan 17, 2009 at 5:08 PM, Tal  Rusak <t...@cornell.edu> wrote:
>>> Hi,
>>>     I am using the latest version of the printf library from the CVS
>>> directory. My application prints a short string (about 17-22
>>> characters followed by a newline) every 10 milliseconds on a Telosb
>>> mote. I am using the default buffer size. The application works as
>>> expected for approximately 1000 of these prints and then starts
>>> failing by missing some characters, newlines, etc. I have tried both
>>> with and without explicit calls to printfflush() at the end of the
>>> printing sequence.
>>>     Are these misses the expected behavior? If not, is there anything I
>>> can do to resolve this issue?
>>>
>>> Thanks,
>>> Tal
>>>
>>> _______________________________________________
>>> Tinyos-help mailing list
>>> Tinyos-help@millennium.berkeley.edu
>>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>>
>>
>>
>>
>> --
>> ~Kevin
>>
>
>
>



-- 
~Kevin
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to