added methods for reading current output power

This commit is contained in:
fros4943 2006-10-05 14:47:48 +00:00
parent f2dd0a96cd
commit c1a93baa28
1 changed files with 11 additions and 1 deletions

View File

@ -24,7 +24,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: Radio.java,v 1.3 2006/10/05 07:51:19 fros4943 Exp $
* $Id: Radio.java,v 1.4 2006/10/05 14:47:48 fros4943 Exp $
*/
package se.sics.cooja.interfaces;
@ -122,6 +122,16 @@ public abstract class Radio extends MoteInterface {
*/
public abstract boolean isInterfered();
/**
* @return Current output power (dBm)
*/
public abstract double getCurrentOutputPower();
/**
* @return Current output power indicator (1-100)
*/
public abstract int getCurrentOutputPowerIndicator();
/**
* @return Current surrounding signal strength
*/