com.intel.bluetooth.emu
Interface DeviceManagerService

All Known Implementing Classes:
DeviceManagerServiceImpl

public interface DeviceManagerService


Method Summary
 void closeConnection(long localAddress, long connectionId)
           
 void connectionAccepted(long localAddress, long connectionId)
           
 DeviceDescriptor createNewDevice(java.lang.String deviceID, java.lang.String deviceAddress)
           
 boolean encrypt(long localAddress, long connectionId, long remoteAddress, boolean on)
           
 DeviceDescriptor getDeviceDescriptor(long address)
           
 DeviceDescriptor[] getDiscoveredDevices(long localAddress)
           
 EmulatorConfiguration getEmulatorConfiguration(long localAddress)
           
 int getLocalDeviceDiscoverable(long localAddress)
           
 long getRemoteAddress(long localAddress, long connectionId)
           
 java.lang.String getRemoteDeviceFriendlyName(long remoteAddress)
           
 int getSecurityOpt(long localAddress, long connectionId, int expected)
           
 byte[] getServicesRecordBinary(long remoteAddress, long handle)
           
 boolean isLocalDevicePowerOn(long localAddress)
           
 long l2Accept(long localAddress, int pcm, boolean authenticate, boolean encrypt, int receiveMTU)
           
 void l2CloseService(long localAddress, int pcm)
           
 long l2Connect(long localAddress, long remoteAddress, int pcm, boolean authenticate, boolean encrypt, int receiveMTU, int timeout)
           
 void l2OpenService(long localAddress, int pcm)
           
 boolean l2Ready(long localAddress, long connectionId)
           
 byte[] l2Receive(long localAddress, long connectionId, int len)
           
 int l2RemoteDeviceReceiveMTU(long localAddress, long connectionId)
           
 void l2Send(long localAddress, long connectionId, byte[] data)
           
 DeviceCommand pollCommand(long localAddress)
           
 void releaseDevice(long localAddress)
           
 void removeServiceRecord(long localAddress, long handle)
           
 long rfAccept(long localAddress, int channel, boolean authenticate, boolean encrypt)
           
 int rfAvailable(long localAddress, long connectionId)
           
 void rfCloseService(long localAddress, int channel)
           
 long rfConnect(long localAddress, long remoteAddress, int channel, boolean authenticate, boolean encrypt, int timeout)
           
 void rfFlush(long localAddress, long connectionId)
           
 void rfOpenService(long localAddress, int channel)
           
 byte[] rfRead(long localAddress, long connectionId, int len)
           
 void rfWrite(long localAddress, long connectionId, byte[] b)
           
 long[] searchServices(long remoteAddress, java.lang.String[] uuidSet)
           
 boolean setLocalDeviceDiscoverable(long localAddress, int mode)
           
 void setLocalDevicePower(long localAddress, boolean on)
           
 void setLocalDeviceServiceClasses(long localAddress, int classOfDevice)
           
 void shutdown()
           
 void updateServiceRecord(long localAddress, long handle, ServicesDescriptor sdpData)
           
 

Method Detail

createNewDevice

DeviceDescriptor createNewDevice(java.lang.String deviceID,
                                 java.lang.String deviceAddress)
                                 throws BluetoothStateException
Throws:
BluetoothStateException

shutdown

void shutdown()

getEmulatorConfiguration

EmulatorConfiguration getEmulatorConfiguration(long localAddress)

releaseDevice

void releaseDevice(long localAddress)

getDeviceDescriptor

DeviceDescriptor getDeviceDescriptor(long address)

pollCommand

DeviceCommand pollCommand(long localAddress)

isLocalDevicePowerOn

boolean isLocalDevicePowerOn(long localAddress)

setLocalDevicePower

void setLocalDevicePower(long localAddress,
                         boolean on)

getLocalDeviceDiscoverable

int getLocalDeviceDiscoverable(long localAddress)

setLocalDeviceDiscoverable

boolean setLocalDeviceDiscoverable(long localAddress,
                                   int mode)
                                   throws BluetoothStateException
Throws:
BluetoothStateException

setLocalDeviceServiceClasses

void setLocalDeviceServiceClasses(long localAddress,
                                  int classOfDevice)

getDiscoveredDevices

DeviceDescriptor[] getDiscoveredDevices(long localAddress)

getRemoteDeviceFriendlyName

java.lang.String getRemoteDeviceFriendlyName(long remoteAddress)
                                             throws java.io.IOException
Throws:
java.io.IOException

updateServiceRecord

void updateServiceRecord(long localAddress,
                         long handle,
                         ServicesDescriptor sdpData)
                         throws ServiceRegistrationException
Throws:
ServiceRegistrationException

removeServiceRecord

void removeServiceRecord(long localAddress,
                         long handle)
                         throws java.io.IOException
Throws:
java.io.IOException

searchServices

long[] searchServices(long remoteAddress,
                      java.lang.String[] uuidSet)

getServicesRecordBinary

byte[] getServicesRecordBinary(long remoteAddress,
                               long handle)
                               throws java.io.IOException
Throws:
java.io.IOException

rfOpenService

void rfOpenService(long localAddress,
                   int channel)
                   throws java.io.IOException
Throws:
java.io.IOException

rfAccept

long rfAccept(long localAddress,
              int channel,
              boolean authenticate,
              boolean encrypt)
              throws java.io.IOException
Throws:
java.io.IOException

connectionAccepted

void connectionAccepted(long localAddress,
                        long connectionId)
                        throws java.io.IOException
Throws:
java.io.IOException

rfConnect

long rfConnect(long localAddress,
               long remoteAddress,
               int channel,
               boolean authenticate,
               boolean encrypt,
               int timeout)
               throws java.io.IOException
Throws:
java.io.IOException

rfCloseService

void rfCloseService(long localAddress,
                    int channel)

closeConnection

void closeConnection(long localAddress,
                     long connectionId)
                     throws java.io.IOException
Throws:
java.io.IOException

getSecurityOpt

int getSecurityOpt(long localAddress,
                   long connectionId,
                   int expected)
                   throws java.io.IOException
Throws:
java.io.IOException

encrypt

boolean encrypt(long localAddress,
                long connectionId,
                long remoteAddress,
                boolean on)
                throws java.io.IOException
Throws:
java.io.IOException

l2OpenService

void l2OpenService(long localAddress,
                   int pcm)
                   throws java.io.IOException
Throws:
java.io.IOException

l2Accept

long l2Accept(long localAddress,
              int pcm,
              boolean authenticate,
              boolean encrypt,
              int receiveMTU)
              throws java.io.IOException
Throws:
java.io.IOException

l2Connect

long l2Connect(long localAddress,
               long remoteAddress,
               int pcm,
               boolean authenticate,
               boolean encrypt,
               int receiveMTU,
               int timeout)
               throws java.io.IOException
Throws:
java.io.IOException

l2RemoteDeviceReceiveMTU

int l2RemoteDeviceReceiveMTU(long localAddress,
                             long connectionId)
                             throws java.io.IOException
Throws:
java.io.IOException

l2CloseService

void l2CloseService(long localAddress,
                    int pcm)

getRemoteAddress

long getRemoteAddress(long localAddress,
                      long connectionId)
                      throws java.io.IOException
Throws:
java.io.IOException

rfWrite

void rfWrite(long localAddress,
             long connectionId,
             byte[] b)
             throws java.io.IOException
Throws:
java.io.IOException

rfAvailable

int rfAvailable(long localAddress,
                long connectionId)
                throws java.io.IOException
Throws:
java.io.IOException

rfFlush

void rfFlush(long localAddress,
             long connectionId)
             throws java.io.IOException
Throws:
java.io.IOException

rfRead

byte[] rfRead(long localAddress,
              long connectionId,
              int len)
              throws java.io.IOException
Throws:
java.io.IOException

l2Ready

boolean l2Ready(long localAddress,
                long connectionId)
                throws java.io.IOException
Throws:
java.io.IOException

l2Receive

byte[] l2Receive(long localAddress,
                 long connectionId,
                 int len)
                 throws java.io.IOException
Throws:
java.io.IOException

l2Send

void l2Send(long localAddress,
            long connectionId,
            byte[] data)
            throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2004-2008 BlueCove Team. All Rights Reserved.