public class SampleSPPClient
extends java.lang.Object
implements javax.bluetooth.DiscoveryListener
Constructor and Description |
---|
SampleSPPClient() |
Modifier and Type | Method and Description |
---|---|
void |
deviceDiscovered(javax.bluetooth.RemoteDevice btDevice,
javax.bluetooth.DeviceClass cod) |
void |
inquiryCompleted(int discType) |
static void |
main(java.lang.String[] args) |
void |
servicesDiscovered(int transID,
javax.bluetooth.ServiceRecord[] servRecord) |
void |
serviceSearchCompleted(int transID,
int respCode) |
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
public void deviceDiscovered(javax.bluetooth.RemoteDevice btDevice, javax.bluetooth.DeviceClass cod)
deviceDiscovered
in interface javax.bluetooth.DiscoveryListener
public void servicesDiscovered(int transID, javax.bluetooth.ServiceRecord[] servRecord)
servicesDiscovered
in interface javax.bluetooth.DiscoveryListener
public void serviceSearchCompleted(int transID, int respCode)
serviceSearchCompleted
in interface javax.bluetooth.DiscoveryListener
public void inquiryCompleted(int discType)
inquiryCompleted
in interface javax.bluetooth.DiscoveryListener