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.IOExceptionpublic void deviceDiscovered(javax.bluetooth.RemoteDevice btDevice,
javax.bluetooth.DeviceClass cod)
deviceDiscovered in interface javax.bluetooth.DiscoveryListenerpublic void servicesDiscovered(int transID,
javax.bluetooth.ServiceRecord[] servRecord)
servicesDiscovered in interface javax.bluetooth.DiscoveryListenerpublic void serviceSearchCompleted(int transID,
int respCode)
serviceSearchCompleted in interface javax.bluetooth.DiscoveryListenerpublic void inquiryCompleted(int discType)
inquiryCompleted in interface javax.bluetooth.DiscoveryListener