[Tinyos-help] Data Viewing

John W. Barron jwb042 at LaTech.edu
Thu Sep 27 11:12:44 PDT 2007


The MsgReader log works great but, are there any options to display in  
DEC instead of HEX. If not, what java file actually prints the message  
(so I can reformat to DEC)?

Thanks
John Barron



Quoting Ariel Mauricio Nunez Gomez <ingenieroariel at gmail.com>:

> 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> 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
>> >
>> >
>> >
>> > Kevin
>> >
>> > On 9/25/07, John W. Barron <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
>> >>
>> 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
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>
>
>
> --
> Ariel Núñez
> Project Manager
> Keydome
> ariel at keydome.com
> +57(300)8438443
> +57(317)3205876
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





More information about the Tinyos-help mailing list