mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
added methods for reading current output power
This commit is contained in:
parent
f2dd0a96cd
commit
c1a93baa28
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user