Hi Om_p: Thanks for the pointer. I turned on the serial listener on mote #0 and was able to see the receive raw output. I set it up like:
PC ----- #0 -------------#1--------------------#2. I have some further question regarding the output: 00 FF FF 00 01 17 3F EE 00 01 00 0A 00 01 14 EE 00 01 00 14 00 00 00 0A CA FE 00 00 00 00 00 00 FF FF 00 00 09 00 16 21 00 27 00 02 00 02 34 6A 00 FF FF 00 01 17 3F EE 00 02 00 0A 00 02 27 EE 00 02 00 27 00 01 00 98 CA FE 00 00 00 00 00 00 FF FF 00 00 17 00 EE 00 00 00 00 00 00 77 EE 00 00 19 77 00 00 00 00 CA FE 00 00 00 00 00 00 FF FF 00 00 09 00 16 20 00 77 00 00 00 00 34 6B 00 FF FF 00 00 09 00 16 50 00 00 00 00 00 00 34 6C 00 FF FF 00 00 09 00 16 21 00 15 00 01 00 01 34 6D 00 FF FF 00 01 17 3F EE 00 01 00 0A 00 01 15 EE 00 01 00 15 00 00 00 0A CA FE 00 00 00 00 00 00 FF FF 00 00 09 00 16 21 00 28 00 02 00 02 34 6E 00 FF FF 00 01 17 3F EE 00 02 00 0A 00 02 28 EE 00 02 00 28 00 01 00 98 CA FE 00 00 00 00 00 According to the message type definition in TestNetwork.h using the following example I can see: 00 02 00 28 00 01 00 98 CA FE 00 00 00 00 00 that 00 02 is the 2 byte node ID, 00 28 is the seq no., 00 01 is the parent ID, 00 98 seems to be the metric, CA EF is the data. but the hop count is always 0 for node #2. I can see it always set to 0 in the TestNetworkC.nc. Isn't it supposed to be 1 or 2 in this topology? What about send count and send success count? Thanks. -David On Tue, Apr 13, 2010 at 9:55 AM, Omprakash Gnawali <[email protected]>wrote: > On Tue, Apr 13, 2010 at 9:10 AM, David Li <[email protected]> wrote: > > Hi Om_p: > > > > Thanks for the hint. Yes, now I can see the action matching the > description. > > > > If I don't use a Basestation how can I view the packet from my PC host? > I > > want to use RF230 sniffer but I am not quite sure about which channel > > TestNetwork app is using. Is it Ch 15? > > > The root (id 0) forwards the received packets over the UART. You can > use the standard serial forwarder tools to look at these packets. > > - om_p > -- Regards, - David
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
