On 9/28/07, John W. Barron <[EMAIL PROTECTED]> wrote:
>
> If made changes to SerialPacket.java (Long.toHexString) , Will this do
> the same thing?
Yes, but I would really encourage you to "extend" the message reader class
and override the message received method.
Trying to change things on the hi
The java file is located there:
/tinyos-2.x/support/sdk/java/net.tinyos.tools.MsgReader.java
And the method you'd want to modify is:
...
public void messageReceived(int to, Message message) {
long t = System.currentTimeMillis();
//Date d = new Date(t);
System.out.print("" + t + "
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 <[EMAIL PROTECTED]>:
I usually do something like this:
java net
http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson4.html
It's mentioned on the end of the Mig section of the tutorial.
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/ti
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 somethi
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 <[EMAIL PROTECTED]> wrote:
>
> Yes this is the current way
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 th
On Sep 25, 2007, at 2:29 PM, John W. Barron 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.
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
O
I write Q&D message classes to print what I want
and plug them into lightweight things like Listen.
Too many years of hexdumps, I guess...
MS
John W. Barron 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 op
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"
11 matches
Mail list logo