Yeah, I tried the following:
message_t msg;

CC2420Packet.setPower(&msg, 31);
AMSend.send(&msg, ...);

But the power does not seem to be changed. Any idea?

On Wed, Aug 12, 2009 at 2:15 AM, Urs Hunkeler <[email protected]> wrote:

> Hi Xiaohui,
>
> Yes, it can!
>
> You can set a per-packet transmission power. The details on how to do this
> are slightly platform dependent. For platforms using the CC2420 radio, have
> a look at CC2420Packet.nc.
>
> Cheers,
> Urs
>
>
>
> Xiaohui Liu wrote:
>
>> Hi everyone,
>>
>> Is there anyway to change the transmission power during runtime in T2,
>> instead of compilation time? Has anyone tried and succeeded?
>> Thanks.
>>
>


-- 
-Xiaohui Liu
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to