- BluetoothClient - Class in ch.aplu.bluetooth
-
Class to create a client that connects to a server via Bluetooth.
- BluetoothClient(String) - Constructor for class ch.aplu.bluetooth.BluetoothClient
-
Creates a BluetoothClient instance for the given server's Bluetooth name
that will connect to Bluetooth channel 1.
- BluetoothClient(String, int) - Constructor for class ch.aplu.bluetooth.BluetoothClient
-
Creates a BluetoothClient instance for the given server's Bluetooth name
that will connect using the given given channel.
- BluetoothClient(String, String) - Constructor for class ch.aplu.bluetooth.BluetoothClient
-
Creates a BluetoothClient instance for the given server's Bluetooth name
that will connect using the given service name.
- BluetoothClient(long) - Constructor for class ch.aplu.bluetooth.BluetoothClient
-
Creates a BluetoothClient instance with given Bluetooth address
that will connect to channel 1.
- BluetoothClient(long, int) - Constructor for class ch.aplu.bluetooth.BluetoothClient
-
Creates a BluetoothClient instance with given Bluetooth address
that will connect using the given given channel.
- BluetoothClient(RemoteDevice, String) - Constructor for class ch.aplu.bluetooth.BluetoothClient
-
Creates a BluetoothClient instance for the given remote device
that will connect using the given service name.
- BluetoothFinder - Class in ch.aplu.bluetooth
-
Class to perform an inquiry for Bluetooth devices and their services.
- BluetoothFinder(String, int[], boolean, BluetoothResponder) - Constructor for class ch.aplu.bluetooth.BluetoothFinder
-
Same as Bluetoothfinder(int[] uuids, boolean isVerbose), but search
only for the given deviceName.
- BluetoothFinder(int[], int[], boolean, BluetoothResponder) - Constructor for class ch.aplu.bluetooth.BluetoothFinder
-
Initiates extensive device and service inquiry with given UUIP integer values.
- BluetoothFinder(int[], boolean, BluetoothResponder) - Constructor for class ch.aplu.bluetooth.BluetoothFinder
-
Initiates device and service search with given UUIP integer values.
- BluetoothFinder(String, int[], int[], boolean, BluetoothResponder) - Constructor for class ch.aplu.bluetooth.BluetoothFinder
-
Same as BluetoothFinder(int[] uuids, int[] attrSet, boolean isVerbose), but search
only for the given deviceName.
- BluetoothFinder(RemoteDevice, int[], boolean, BluetoothResponder) - Constructor for class ch.aplu.bluetooth.BluetoothFinder
-
Same as BluetoothFinder(RemoteDevice remoteDevice, int[] uuids,
int[] attrSet, boolean isVerbose, BluetoothResponder responder),
but only the following service attributes are retrieved:
ServiceRecordHandle (id: 0x0000)
ServiceClassIDlist (id: 0x0001)
ServiceRecordState (id: 0x0002)
ServiceID (id: 0x0003)
ProtocolDescriptorList (id: 0x0004)
Service Name (id: 0x0100)
Response will trigger the callback methods declared
in the given BluetoothResponder.
- BluetoothFinder(RemoteDevice, int[], int[], boolean, BluetoothResponder) - Constructor for class ch.aplu.bluetooth.BluetoothFinder
-
Initiates service inquiry (no prior device inquiry) from given
remote device with given UUIP integer values.
- BluetoothPeer - Class in ch.aplu.bluetooth
-
Class that implements a Bluetooth peer-to-peer communication based on
the client-server model.
- BluetoothPeer(String, String, BtPeerListener, boolean) - Constructor for class ch.aplu.bluetooth.BluetoothPeer
-
Creates a BluetoothPeer instance that tries to connect to the given node using
the given service name.
- BluetoothResponder - Interface in ch.aplu.bluetooth
-
Callback declarations for Bluetooth device and service search.
- BluetoothServer - Class in ch.aplu.bluetooth
-
Class that creates a Bluetooth server thread.
- BluetoothServer(String, BtListener, boolean) - Constructor for class ch.aplu.bluetooth.BluetoothServer
-
Creates a server instance with given serviceName.
- BluetoothServer(String, BtListener) - Constructor for class ch.aplu.bluetooth.BluetoothServer
-
Same as BluetoothServer(String serviceName, BtListener listener, false)
(no verbose).
- BtDeviceInfo - Class in ch.aplu.bluetooth
-
Class to pack device information.
- BtDeviceInfo(RemoteDevice, DeviceClass) - Constructor for class ch.aplu.bluetooth.BtDeviceInfo
-
Creates a BtDeviceInfo instance.
- BtListener - Interface in ch.aplu.bluetooth
-
Callback declaration when running a Bluetooth server.
- BtPeerListener - Interface in ch.aplu.bluetooth
-
Declarations of notification methods called from the class BluetoothPeer.
- BtServiceInfo - Class in ch.aplu.bluetooth
-
Class to pack service information.
- BtServiceInfo(RemoteDevice, ServiceRecord) - Constructor for class ch.aplu.bluetooth.BtServiceInfo
-
Creates a BtServiceInfo instance.
- getBtAddress() - Method in class ch.aplu.bluetooth.BluetoothClient
-
Returns the Bluetooth address (hex).
- getBtAddressLong() - Method in class ch.aplu.bluetooth.BluetoothClient
-
Returns the Bluetooth address (long).
- getDetectedServerChannel() - Method in class ch.aplu.bluetooth.BluetoothClient
-
Returns the channel number returned by the server after a service search.
- getDeviceClass() - Method in class ch.aplu.bluetooth.BtDeviceInfo
-
Returns the DeviceClass part of BtDeviceInfo.
- getDeviceName(RemoteDevice) - Static method in class ch.aplu.bluetooth.BluetoothFinder
-
Returns device name from given device using RemoteDevice.getFriendlyName().
- getDiscoveryAgent() - Static method in class ch.aplu.bluetooth.BluetoothFinder
-
Returns the local discovery agent.
- getInputStream() - Method in class ch.aplu.bluetooth.BluetoothClient
-
Returns the InputStream reference of the Bluetooth connection.
- getLocalBluetoothAddress() - Static method in class ch.aplu.bluetooth.BluetoothFinder
-
Returns the local Bluetooth address, empty if no Bluetooth available.
- getLocalBluetoothName() - Static method in class ch.aplu.bluetooth.BluetoothFinder
-
Returns the local Bluetooth friendly name, empty if no Bluetooth available.
- getLocalName() - Method in class ch.aplu.bluetooth.BluetoothServer
-
Returns the Bluetooth friendly name of the local device.
- getOutputStream() - Method in class ch.aplu.bluetooth.BluetoothClient
-
Returns the OutputStream reference of the Bluetooth connection.
- getRemoteDevice(String) - Static method in class ch.aplu.bluetooth.BluetoothFinder
-
Creates a Bluetooth device based on its MAC address.
- getRemoteDevice() - Method in class ch.aplu.bluetooth.BtDeviceInfo
-
Returns the RemoteDevice part of BtDeviceInfo.
- getRemoteDevice() - Method in class ch.aplu.bluetooth.BtServiceInfo
-
Returns the RemoteDevice part of BtServiceInfo.
- getServerName() - Method in class ch.aplu.bluetooth.BluetoothClient
-
Returns the server's Bluetooth friendly name.
- getServiceName(ServiceRecord) - Static method in class ch.aplu.bluetooth.BluetoothFinder
-
Returns service name from given service record.
- getServiceRecord() - Method in class ch.aplu.bluetooth.BtServiceInfo
-
Returns the ServiceRecord part of BtServiceInfo.
- getStreamConnection() - Method in class ch.aplu.bluetooth.BluetoothClient
-
Returns the StreamConnection reference of the Bluetooth connection.