Hi Scott,

It has been a while since I have used printf (in TinyOS), but I'm fairly
certain that your problem is that there is framing around the (active
message) packets coming from the serial port that is causing the
"extraneous" characters.

The printf instructions (
http://docs.tinyos.net/tinywiki/index.php/The_TinyOS_printf_Library)
mentions using a java app, PrintfClient (
http://code.google.com/p/tinyos-main/source/browse/trunk/support/sdk/java/net/tinyos/tools/PrintfClient.java),
which handles this framing.

Mike


On Thu, Oct 4, 2012 at 11:54 PM, scott coleman <[email protected]>wrote:

> I'm monitoring the printF output from the printf tutorial. Most of the
> characters are right but there are extraneous characters
>
> Here are my putty (windows 7) settings: Com 17 15,200 baud, 8 data bits, 1
> stop bit no parity, XON/XOFF flow control.
>
>
> Here's what I get:
> ~E ÿÿ   dHi I am writing to you from ô ~~E ÿÿ   dmy TinyOS application!!
> HereFŠ~~E ÿÿ   d is a uint8: 123
> Here is a u­¹~~E ÿÿ   dint16: 12345
> Here is a uint3†J~~E ÿÿ   d2: 1234567890
>               óÌ~
>
> Am I missing something?
>
>
> _______________________________________________
> Shimmer-users mailing list
> [email protected]
> https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users
>
>
_______________________________________________
Shimmer-users mailing list
[email protected]
https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users

Reply via email to