On Thu, Mar 26, 2009 at 12:06 PM, Mehmet Akif Antepli <[email protected]> wrote: > 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.
You might want to look into apps/tests/TestNetwork to see an example that enables those log messages. > Actually, i also want to see the field values of ctp_header_t, > ctp_router_t,... structures all in the ctp library! In Receive.receive, you should locate the CTP header in msg. Right now it just grabs the payload and sends it over the UART so you are not logging the headers. - om_p _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
