Hi All!
 
I'm useing micaz, MIB520 programmer and TinyOS 1.x
 
I tried to set the RF power by this code:
 
uint8_t set_power;
set_power = 15;
call CC2420Control.SetRFPower(set_power);
 
using call CC2420Control.GetRFPower();
I monitoring the getted power by MessageCenter, but I see, only can set the power index between 1 to 15 insted of 1 to 31. If I try to set  - for example - 25, it set a random index for example: 9 or 4. 
Does somebody know why?
 
What will be happen when I try to set higher index, than the battery can make (because the battery is too low already)? (Do not set and leave the last index??)
 
Thanks!
 
Laci 
 
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to