[Tinyos-help] CTP in TestNetwork questions

David Li w.david.li at gmail.com
Sun Apr 25 12:09:04 PDT 2010


Hi Omprakash,

Another question: The README seems to indicate that I can issue a cmd from
the host to all motes in the network. But I haven't found out how to do that
yet. Can you explain a little bit?
Thanks.

David


On Thu, Apr 15, 2010 at 6:37 PM, Omprakash Gnawali
<gnawali at cs.stanford.edu>wrote:

> On Wed, Apr 14, 2010 at 11:31 AM, David Li <w.david.li at gmail.com> wrote:
> > 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?
>
> hopcount, sendcount, sendsuccesscount are not used in the current
> TestNetwork. If you need to send additional information from each node
> to the base station, feel free to use these fields.
>
> - om_p
>



-- 
Regards,

- David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20100425/3638f031/attachment.htm 


More information about the Tinyos-help mailing list