de.avetana.bluetooth.hci
Class LinkQuality

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

public class LinkQuality
extends java.lang.Object

The class LinkQuality is used to get the quality of a connection to a currently connected device.

Last CVS update: $Date: 2005/06/30 14:23:33 $


Field Summary
static int NOT_CONNECTED
           
static int NOT_IMPLEMENTED
           
 
Constructor Summary
LinkQuality()
           
 
Method Summary
static int getLinkQuality(BTAddress adr)
          Return the connection quality 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

LinkQuality

public LinkQuality()
Method Detail

getLinkQuality

public static int getLinkQuality(BTAddress adr)
Return the connection quality of a device currently connected

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