|
For example, to control cc2420 radio chip tx power, 1. use interface Resource, CC2420Config 2. wire these interface to CC2420ControlC 3. call command call Resource.immediateRequest(); if( call CC2420Config.setTxPower( value between 3 ~ 31 ) != SUCCESS ) error management code call Resource.release(); This is tinyos1.x code. and this code works properly. |
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
