hi,
 in event void MilliTimer.fired() 

after lines :-

      rcm->counter = counter; 
      call CC2420Packet.setPower(&packet,rcm->rfpower); 

add the below line and see if this works:-

rcm->rfpower = (uint8_t) call CC2420Packet.getPower(msg);

use of " uint8_t getPower( message_t* p_msg ); " is given in CC2420Packet
file.



--
View this message in context: 
http://tinyos-help.10906.n7.nabble.com/Not-able-to-Set-RFPower-from-TestSerial-java-tp23240p23241.html
Sent from the TinyOS - Help mailing list archive at Nabble.com.
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to