Could you please send the sequence of 14 pkts? Also, the node id's of
all the nodes in the network.

Thanks.

- om_p

> 
> --Boundary_(ID_fV07YJXUQXrxAiWVf3N4vw)
> Content-type: text/plain; charset=ISO-8859-1; format=flowed
> Content-transfer-encoding: 7BIT
> Content-disposition: inline
> 
> Hello, Omprakash!
> 
> The messages are basically like this:
> 
> 7E 45 00 FF FF 00 00 13 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 53 63 7E
> 
> In the 0's there should be the CTP header and data structures (they get
> correctly populated after 14 receives from the network).
> 
> Thanks,
> 
> Pedro
> 
> On 7/16/07, Omprakash Gnawali <[EMAIL PROTECTED]> wrote:
> >
> >
> > If you post those messages you get on the serial port and if I
> > recognize them, I will tell you what they are.
> >
> > - om_p
> >
> > >
> > > Hello, Omprakash, thank you for your answer!
> > >
> > > I have commented everything related to collection debug and debug
> > overall
> > > code, but something might have slipped, it's possible.
> > > Even if they are debug messages, why do you think it takes that amount
> > of
> > > messages to start receiving actual correct frames? Can it be by any
> > chance a
> > > way to measure the time taken to establish a tree? If they're debug, and
> > if
> > > the tree forms instantly (or close), why the wait?
> > >
> > > Thank you!
> > >
> > > Pedro
> > >
> > > On 7/14/07, Omprakash Gnawali <[EMAIL PROTECTED]> wrote:
> > > >
> > > >
> > > > >
> > > > > So let me redo the questions:
> > > > >
> > > > > How does the P bit enabling works? Who/what causes it and why?
> > > >
> > > > To add to what Phil said, the current implementation sets PULL bit
> > > > like this:
> > > >
> > > > ...
> > > >         else if (routeInfo.parent == INVALID_ADDR) {
> > > >             beaconMsg->etx = routeInfo.etx;
> > > >             beaconMsg->options |= CTP_OPT_PULL;
> > > >         } else {
> > > > ...
> > > >
> > > > (When a node does not have a parent, for example, when a node boots
> > > > up.)
> > > >
> > > >
> > > >
> > > > > The question about the 14 data messages remain.
> > > > >
> > > >
> > > > Did you disable the debug messages? Those messages on the serial
> > > > interface are probably debug messages. CTP should not send bogus
> > > > messages on the serial port - if the tree is built, it will send data
> > > > messages, otherwise there will be no data messages to forward. Debug
> > > > messages are independent of the data messages and if they are enabled,
> > > > not only the base station, but all the motes should send some debug
> > > > messages on the serial port.
> > > >
> > > > - om_p
> > > >
> > >
> >
> 
> --Boundary_(ID_fV07YJXUQXrxAiWVf3N4vw)
> Content-type: text/html; charset=ISO-8859-1
> Content-transfer-encoding: 7BIT
> Content-disposition: inline
> 
> Hello, Omprakash!<br><br>The messages are basically like this:<br><br>7E 45 
> 00 FF FF 0
 *0 00 13 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 53 63 
7E<br><br
 *>In the 0&#39;s there should be the CTP header and data structures (they get 
correctly
 * populated after 14 receives from the network).
> <br><br>Thanks,<br><br>Pedro<br><br><div><span class="gmail_quote">On 
> 7/16/07, <b clas
 *s="gmail_sendername">Omprakash Gnawali</b> &lt;<a href="mailto:[EMAIL 
PROTECTED]">gnawal
 [EMAIL PROTECTED]</a>&gt; wrote:</span><blockquote class="gmail_quote" 
style="margin-top: 0; m
 *argin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; 
border-left-col
 *or: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 
1ex">
> <br>If you post those messages you get on the serial port and if 
> I<br>recognize them, 
 *I will tell you what they are.<br><br>- om_p<br><br>&gt;<br>&gt; Hello, 
Omprakash, tha
 *nk you for your answer!<br>&gt;<br>&gt; I have commented everything related 
to collect
 *ion debug and debug overall
> <br>&gt; code, but something might have slipped, it&#39;s possible.<br>&gt; 
> Even if th
 *ey are debug messages, why do you think it takes that amount of<br>&gt; 
messages to st
 *art receiving actual correct frames? Can it be by any chance a
> <br>&gt; way to measure the time taken to establish a tree? If they&#39;re 
> debug, and 
 *if<br>&gt; the tree forms instantly (or close), why the wait?<br>&gt;<br>&gt; 
Thank yo
 *u!<br>&gt;<br>&gt; Pedro<br>&gt;<br>&gt; On 7/14/07, Omprakash Gnawali &lt;
> <a href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a>&gt; wrote:<br>&gt; 
> &gt;<br>&gt; &
 *gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; So let me redo the questions:<br>&gt; 
&gt; &gt
 *;<br>&gt; &gt; &gt; How does the P bit enabling works? Who/what causes it and 
why?
> <br>&gt; &gt;<br>&gt; &gt; To add to what Phil said, the current 
> implementation sets P
 *ULL bit<br>&gt; &gt; like this:<br>&gt; &gt;<br>&gt; &gt; ...<br>&gt; 
&gt;&nbsp;&nbsp;
 *&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else if (routeInfo.parent == 
INVALID_ADDR) {<br>&
 *gt; 
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
beaco
 *nMsg-&gt;etx = 
> routeInfo.etx;<br>&gt; 
> &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
 *;&nbsp;&nbsp; beaconMsg-&gt;options |= CTP_OPT_PULL;<br>&gt; 
&gt;&nbsp;&nbsp;&nbsp;&nb
 *sp;&nbsp;&nbsp;&nbsp;&nbsp; } else {<br>&gt; &gt; ...<br>&gt; &gt;<br>&gt; 
&gt; (When 
 *a node does not have a parent, for example, when a node boots<br>
> &gt; &gt; up.)<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; The 
> question a
 *bout the 14 data messages remain.<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; 
Did you 
 *disable the debug messages? Those messages on the serial
> <br>&gt; &gt; interface are probably debug messages. CTP should not send 
> bogus<br>&gt;
 * &gt; messages on the serial port - if the tree is built, it will send 
data<br>&gt; &g
 *t; messages, otherwise there will be no data messages to forward. Debug
> <br>&gt; &gt; messages are independent of the data messages and if they are 
> enabled,<b
 *r>&gt; &gt; not only the base station, but all the motes should send some 
debug<br>&gt
 *; &gt; messages on the serial port.<br>&gt; &gt;<br>
> &gt; &gt; - om_p<br>&gt; &gt;<br>&gt;<br></blockquote></div><br>
> 
> --Boundary_(ID_fV07YJXUQXrxAiWVf3N4vw)--
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to