Hi Ben,

The garbage that you are seeing is the TinyOS message framing. The
output is really intended to be displayed with the PrintfClient. The
tutorial explains this in more detail:
http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson15.html

Cheers,
Urs

Murray, Ben schrieb:
> (MicaZ, TinyOS-2.0.2, WinXP, Cygwin)
> I'm using the printf library to output data from a mote connected via a
> mib510 on the serial port, COM1. It all works quite nicely except that there
> is a lot of garbage coming out of the terminal programs I have tried using
> to record the data with. I can more or less strip unneeded characters using
> a macro in ultraedit but I'd rather get clean text first time around if
> possible and was wondering if anyone knew of a good terminal program that
> would serve this purpose or if there were specific settings that  a terminal
> program should use to avoid the sort of garbage text I see. I suspect my
> main problem is the CRC-check (?) coming out as characters ...I could
> possibly knock up my own program - if anyone knows a good tutorial that
> would work also, though a ready-to-roll program would be nice! :)
> 
> The garbled text looks a bit like this:
> <00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00>
> <00><00><00><00>DG~~E<00><00><00><00>d     0       15      302
> 
> <00><00><00><00><00><00><00><00><00><9~~E<00><00><00><00>d 1       18
> 303           
> <00><00><00><00><00><00><00><00><00>~
> 
> When all I really want to see is:
>       0       15      302     
>       1       18      303
> 
> Cheers,
> Ben
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to