In T2, on of the ways to set xmit power is by using the cc2420Packet
interface.

CC2420Packet.setPower(msg, xmit_power);

This sets the txmit power for the message you are sending. The value for the
xmit_power depends on the radio you are using. For CC2420 it ranges from 1
to 31.

HTH

cheers
chetan

On Fri, Sep 12, 2008 at 1:55 AM, Michael Schippling <[EMAIL PROTECTED]>wrote:

> Yes, you said that...
>
> Check the antenna connections (you should have gotten a 4" length
> of wire with a MMCX connector on the end). Make sure it is firmly
> plugged into the 'Z board. They snap in with a little pressure.
>
> Then make sure you have turned up the transmit power during compile
> with a define. In T1 contrib/xbow/MakeXbowlocal this is:
>     CFLAGS +=-DCC2420_TXPOWER=TXPOWER_MAX
> and that all your motes have the same radio channel setting, using
> another define in the makefile (again in T1). I'm sorry but I don't
> know how to do that in T2 so you'll have to do a little exploring.
> It should be set to MAX by default, but who knows...
>
> If this still fails, then perhaps you will have to try some different
> motes. There could be a hardware problem.
>
> MS
>
>
> jiang chen wrote:
> > The hardware is just two micazs,I want to make a communication between
> > the two motes,one embedded the program 'BlinkToRadio'  in
> > cygwin\opt\tinyos-2.x\apps\tutorials\BlinkToRadio,one embedded the
> > program 'BaseStation' in cygwin\opt\tinyos-2.x\apps\BaseStation,but i
> > found the communication distance is just 0.5m~1m,do you know why ?Thank
> > you for you patience.
> >
> > 2008/9/9 Michael Schippling <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]
> >>
> >
> >     Assuming you have an antenna attached to each mote and are using
> >     something other than minimal transmit power, you should get upwards
> >     of 50meters under good conditions. The xmit power can be set in the
> >     makefiles...some study is necessary to figure out what define to use,
> >     based on TOS version and your hardware.
> >
> >     MS
> >
> >     jiang chen wrote:
> >
> >         recently,i am working on using micaz to send and receive message
> >         in wireless,but i found the distance is too short,just about
> >         0.5m,if the diatance is more than 0.5m,the packet loss a lot
> >         so i want to know is there any way in tinyos can change the
> >         transmit distance,or is there any way can increase the transmit
> >         power?
> >
> >         to all ,thank you for you patience.
> >
> >
> >
> >
>  Johnson
> >
> >
>  sep,11
> >
> >
> >
> ------------------------------------------------------------------------
> >
> >         _______________________________________________
> >         Tinyos-help mailing list
> >         [email protected]
> >         <mailto:[email protected]>
> >
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
> >
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Live the sunshine, swim the sea, drink wild air, be free.
---------- * --------------- * ------------ * --------------
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to