ist.palcom.base.networking
Class BluetoothDiscovery

java.lang.Object
  extended by ist.palcom.base.Object
      extended by ist.palcom.base.Channel
          extended by ist.palcom.base.networking.BluetoothDiscovery

public class BluetoothDiscovery
extends Channel


Field Summary
static javax.bluetooth.UUID PALCOM_SERVICE_ID
           
 
Constructor Summary
BluetoothDiscovery()
           
 
Method Summary
 boolean dataAvailable()
           
 int getNumberOfDevices()
           
 int getNumberOfServices()
           
 java.lang.String getServiceAddress()
           
 void searchDevices()
           
 void searchServices()
           
 long timeToNextDiscovery()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PALCOM_SERVICE_ID

public static javax.bluetooth.UUID PALCOM_SERVICE_ID
Constructor Detail

BluetoothDiscovery

public BluetoothDiscovery()
                   throws javax.bluetooth.BluetoothStateException
Throws:
javax.bluetooth.BluetoothStateException
Method Detail

dataAvailable

public boolean dataAvailable()

getNumberOfServices

public int getNumberOfServices()

getNumberOfDevices

public int getNumberOfDevices()

getServiceAddress

public java.lang.String getServiceAddress()

timeToNextDiscovery

public long timeToNextDiscovery()

searchDevices

public void searchDevices()
                   throws javax.bluetooth.BluetoothStateException
Throws:
javax.bluetooth.BluetoothStateException

searchServices

public void searchServices()
                    throws javax.bluetooth.BluetoothStateException
Throws:
javax.bluetooth.BluetoothStateException