You can change you power level by using CC2420Packet.setPower(msg, power)
which is provided by
CC2420PacketC<http://www.tinyos.net/tinyos-2.x/doc/nesdoc/telosb/chtml/tos.chips.cc2420.packet.CC2420PacketC.html>
.

Arik



On Tue, Feb 23, 2010 at 16:16, Riki Tiki <[email protected]> wrote:

> Ok, Jordi. Thanks a lot. If I find any better solution I will let you
> know...
>
> -----Original Message-----
> From: Jordi Soucheiron <[email protected]>
> To: Riki Tiki <[email protected]>
> Date: Tue, 23 Feb 2010 14:26:03 +0100
> Subject: Re: Re[2]: [Tinyos-help] tpl for moteiv's tmote sky nodes
>
> > I've always used the same power for all the nodes in the network. If you
> > need to change it for every node I recommend using "make tmote install"
> > instead of the 2 steps you're using (it's faster).
> > Good luck and let me know if you find a nice way to solve this
> >
> > 2010/2/23 Riki Tiki <[email protected]>
> >
> > > Hi Jordi,
> > >
> > > Sorry, forgot to ask. How can I do this per node?
> > > After changing the makefile config should I always start again from
> "make
> > > tmote" and then do the following "make tmote reinstall".
> > >
> > > Thanks a lot in advance,
> > > Riki
> > >
> > >
> > > -----Original Message-----
> > > From: Jordi Soucheiron <[email protected]>
> > > To: Riki Tiki <[email protected]>
> > > Date: Tue, 23 Feb 2010 09:41:46 +0100
> > > Subject: Re: [Tinyos-help] tpl for moteiv's tmote sky nodes
> > >
> > > > You can add this to the makefile: CFLAGS += -DCC2420_DEF_RFPOWER=4
> > > > I think the values go from 1 to 31 beeing 1 the lowest and 31 the
> higher
> > > > TPL.
> > > > Good luck!
> > > >
> > > > 2010/2/23 Riki Tiki <[email protected]>
> > > >
> > > > > hi, I am using Moteiv's Tmote Sky nodes... How can I change the
> > > > > Transmission Power Level(TPL) of my nodes? And how can I know the
> > > minimum
> > > > > and maximum values for TPL? thanks a lot!
> > > > > _______________________________________________
> > > > > Tinyos-help mailing list
> > > > > [email protected]
> > > > >
> > >
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Jordi Soucheiron
> > > > Software Engineer
> > > >
> > > > DEXMA
> > > > Parc Tecnològic la Salle
> > > > Sant Joan de la Salle, 42
> > > > 08022 Barcelona
> > > > t/f: [+34] 93 181 01 95
> > > > www.dexmatech.com
> > > > [email protected]
> > > >
> > > >
> > >
> >
> >
> >
> > --
> > Jordi Soucheiron
> > Software Engineer
> >
> > DEXMA
> > Parc Tecnològic la Salle
> > Sant Joan de la Salle, 42
> > 08022 Barcelona
> > t/f: [+34] 93 181 01 95
> > www.dexmatech.com
> > [email protected]
> >
> >
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Best Regards,
Arik Sapojnik
[email protected]
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to