de.avetana.bluetooth.hci
Class Rssi

java.lang.Object
  extended byde.avetana.bluetooth.hci.Rssi

public class Rssi
extends java.lang.Object


Field Summary
static int NOT_CONNECTED
           
static int NOT_IMPLEMENTED
           
 
Constructor Summary
Rssi()
           
 
Method Summary
static int getRssi(BTAddress adr)
          Return the signal strength of a device currently connected.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NOT_CONNECTED

public static final int NOT_CONNECTED
See Also:
Constant Field Values

NOT_IMPLEMENTED

public static final int NOT_IMPLEMENTED
See Also:
Constant Field Values
Constructor Detail

Rssi

public Rssi()
Method Detail

getRssi

public static int getRssi(BTAddress adr)
Return the signal strength of a device currently connected.

Parameters:
adr -
Returns:
-13 < n < 13 for the connection quality ( 0 is best), NOT_CONNECTED if the device is not connected or NOT_IMPLEMENTED if no rssi value is available.