What you see is much more than just the CRC. It's the whole TinyOS
packet. Take a look at xserve or just listen app to see what they
output.
Regards,
Harri
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Murray, Ben
Sent: Tuesday, December 11, 2007 3:55 PM
To: Tinyos help Forum (E-mail)
Subject: [Tinyos-help] capturing printf output on the pc without the
CRC?chars
(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
************************************************************************
*******
Please consider the environment before printing this email.
************************************************************************
*******
This email and any files transmitted with it are intended solely for the
use of the individual or entity to whom they are addressed and may not
be divulged to any third party without the express permission of the
originator. Any views expressed in this message are those of the
individual sender, except where the sender specifically states them to
be the views of Thales Research & Technology
(UK) Limited.
************************************************************************
*******
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help