Dear Jhon.

Thanks again for your answer.

I was checking UDPEchoC.nc and appears:
.....
#ifdef RPL_ROUTING
  components RPLRoutingC;
#endif
....

Also in its  UDPEchoC's Makefile.  Here is specified is using  RPL, and is
enable with this line:

PFLAGS += -DRPL_ROUTING -DRPL_STORING_MODE -I$(TOSDIR)/lib/net/rpl

Then, must I understand is working y default the RPL? But before this must
I add to the UDPEcho's Makefile this:

CFLAGS+=-DRPL_ROOT_ADDR=3

Where 3 is the ID of the mote that is installed the Ppproute app on it.

.. And also make match the channels in both Ppproute's Makefile and
UDPEcho's  Makefile  (for telosb), for example:

CFLAGS += -DCC2420_DEF_CHANNEL=25

All this is correct?


Best regards,

Alex.



On Wed, Feb 29, 2012 at 5:35 PM, JeongGil Ko <[email protected]> wrote:

> Alex,
>
> As to how I understand the UDPEcho code, it should be using RPL as its
> routing engine. Try pulling from the latest branch and check the Makefile
> and UDPEchoC.nc. You should be able to notice that these files use
> RPLRouting.
>
> -John
>
> ------
> JeongGil Ko
> Ph.D. Candidate
> Department of Computer Science
> Johns Hopkins University
> http://www.cs.jhu.edu/~jgko
>
> On Feb 29, 2012, at 8:11 AM, Alex FP wrote:
>
> > Dear John.
> >
> > Thanks for your answer.
> >
> > I want to use UDPEcho to transport data i.e. voltage value of a node
> until the root node in a multi-hop environment.    For this purpose if I
> use RPL besides must I configure every node in the network, the way they
> treat the data while pass on it (multi-hop)? or the data will travel
> automatically until the root node using RPL?
> >
> >
> > There is a code example to show how must treat UDPEcho app with TestRPL
> app or something like in order to transport the data?
> >
> >
> > Best Regards,
> >
> > Alex.
> >
> > On Tue, Feb 28, 2012 at 10:00 PM, JeongGil Ko <[email protected]> wrote:
> > Alex,
> >
> > For the purpose of pinging, you should test out the Ppprouter app.
> >
> > -John
> >
> > ------
> > JeongGil Ko
> > Ph.D. Candidate
> > Department of Computer Science
> > Johns Hopkins University
> > http://www.cs.jhu.edu/~jgko
> >
> > On Feb 28, 2012, at 3:29 PM, Alex FP wrote:
> >
> > > 2) Is not possible make pings to the nodes. Must work in combination
> with the Pprouter to do it?
> > >
> > > This shows my terminal now:
> >
> >
>
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to