[Tinyos-help] Data Viewing

Wes Barron jwb042 at latech.edu
Tue Sep 25 20:23:02 PDT 2007


Thanks for the info, I'll try that tomorrow. Is there any other 
publications on the MsgReader? I only ask because i knew the software 
exist but have never read or heard about it, and honestly didn't know it 
was in the TOS release.

John



Ariel Mauricio Nunez Gomez wrote:
> I usually do something like this:
>
> java net.tinyos.tools.MsgReader TheMsg >> the_log.txt &&
>
> It then goes to the background, if I want to see it while it's being 
> logged, I call:
>
> tail -f the_log.txt
>
> Ariel.
>
> On 9/25/07, *Cadet John W. Barron * <Jwb042 at latech.edu 
> <mailto:Jwb042 at latech.edu>> wrote:
>
>     Yes this is the current way I do it, How would I recover a message_t
>     sent to the serial port? (in a useful display that could be logged
>     to be
>     analyzed later? )
>
>     John
>
>     Kevin Klues wrote:
>     > For the current printf implementation, the tutorial here shows
>     you how
>     > to use it.  Including how to decode the messages it transmits into
>     > ascii.  Its probably going to change in the near future though, so
>     > keep a look out.
>     >
>     > http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson15.html
>     <http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson15.html>
>     >
>     >
>     >
>     > Kevin
>     >
>     > On 9/25/07, John W. Barron <jwb042 at latech.edu
>     <mailto:jwb042 at latech.edu>> wrote:
>     >
>     >> With all the PrintF questions, I was wondering... How does
>     everyone
>     >> view their data. If I send a Message_t to serail what are my
>     options
>     >> besides hex? I mostly send PrintF messages to serail and read
>     the Comm
>     >> port with Windows Hyperterminal. I KNOW there are better ways,
>     but how
>     >> to "decode" fields in the Message_t varible to ASCII?
>     >>
>     >> Thanks
>     >> John Barron
>     >>
>     >> Winxp/cygwin
>     >> moteiv Tmote Sky
>     >> TOS 2.0.2
>     >>
>     >> ----------------------------------------------------------------
>     >> This message was sent using IMP, the Internet Messaging Program.
>     >>
>     >>
>     >> _______________________________________________
>     >> Tinyos-help mailing list
>     >> Tinyos-help at Millennium.Berkeley.EDU
>     <mailto:Tinyos-help at Millennium.Berkeley.EDU>
>     >>
>     https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>     >>
>     >>
>     >
>     >
>     >
>
>
>     --
>
>     V/R
>
>     C/Col John W. Barron
>     cadet Wing Commander
>
>     _______________________________________________
>     Tinyos-help mailing list
>     Tinyos-help at Millennium.Berkeley.EDU
>     <mailto:Tinyos-help at Millennium.Berkeley.EDU>
>     https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>     <https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
>
>
>
>
> -- 
> Ariel Núñez
> Project Manager
> Keydome
> ariel at keydome.com <mailto:ariel at keydome.com>
> +57(300)8438443
> +57(317)3205876
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



More information about the Tinyos-help mailing list