Hi,

I am sure that they are sending messages because when i just start MsgReader
with the following command,

>>java net.tinyos.tools.MsgReader MultihopOscilloscopeMsg

oscilloscope_t structure fields are parsed and shown on the console.
(MultihopOscilloscopeMsg is the MIG generated file!)

Also,

java net.tinyos.tools.Listen application shows raw data on console.

But what i want is not only the field values of oscilloscop_t  but also the
fields of CollectionDebugMsg structure.

Actually, i also want to see the field values of ctp_header_t,
ctp_router_t,... structures all in the ctp library!

I think most people are using MultihopOscilloscope application? How do they
monitor data message, beacon message flow? How do they parse those messages
and log them in a file?
Do you have any suggestions?
By the way i am usign XubunTOS-2.1.0 - Ubuntu Feisty
Thanks in advance,
--
Akif
On Thu, Mar 26, 2009 at 8:55 AM, Omprakash Gnawali <[email protected]> wrote:

> > ---------- Forwarded message ----------
> > From: Mehmet Akif Antepli <[email protected]>
> > Date: Wed, Mar 25, 2009 at 10:35 PM
> > Subject: TinyOS-2.1.0 Ctp debug messages
> > To: Tinyos-Help [email protected]
> >
> > Hi,
> >
> > I was trying to do in the link below, (but for Ctp)
> >
> >
> http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2008-July/034831.html
> >
> > I have three MicaZ motes. All the three motes are programmed with
> > MultihopOscilloscope application  (one of them is root node,
> >
> > other two are remote notes) under tinyos-2.1.0/apps/
> >
> > i want to see the debug messages via console. In order to parse the uart
> > messages, i copied the code into net2collection.pl as Phil said in the
> above
> > link.
> >
> > Then i started serial forwarder with the following command:
> >
> >>>java net.tinyos.sf.SerialForwarder -comm serial@/dev/ttyUSB1:micaz
> >
> > After moving to MultihopOscilloscope directory, i run the following
> command;
> >
> >>>java net.tinyos.tools.MsgReader -comm s...@localhost:9002 | perl
> >>> net2collection.pl
> >
> > but it doesn't work. it doesn't pribt anything, just cursor hangs on ....
> >
> > Could anyone help me with this? i can't figure it out...
>
> Before you start parsing, are you making sure the motes are sending
> the messages on the UART?
>
> - om_p
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to