FileDocCategorySizeDatePackage
IBluetoothGatt.javaAPI DocAndroid 5.1 API46811Sat Mar 14 05:48:00 GMT 2015android.bluetooth

IBluetoothGatt

public interface IBluetoothGatt implements android.os.IInterface
API for interacting with BLE / GATT
hide

Fields Summary
Constructors Summary
Methods Summary
public voidaddCharacteristic(int serverIf, android.os.ParcelUuid charId, int properties, int permissions)

public voidaddDescriptor(int serverIf, android.os.ParcelUuid descId, int permissions)

public voidaddIncludedService(int serverIf, int srvcType, int srvcInstanceId, android.os.ParcelUuid srvcId)

public voidbeginReliableWrite(int clientIf, java.lang.String address)

public voidbeginServiceDeclaration(int serverIf, int srvcType, int srvcInstanceId, int minHandles, android.os.ParcelUuid srvcId, boolean advertisePreferred)

public voidclearServices(int serverIf)

public voidclientConnect(int clientIf, java.lang.String address, boolean isDirect, int transport)

public voidclientDisconnect(int clientIf, java.lang.String address)

public voidconfigureMTU(int clientIf, java.lang.String address, int mtu)

public voidconnectionParameterUpdate(int clientIf, java.lang.String address, int connectionPriority)

public voiddiscoverServices(int clientIf, java.lang.String address)

public voidendReliableWrite(int clientIf, java.lang.String address, boolean execute)

public voidendServiceDeclaration(int serverIf)

public voidflushPendingBatchResults(int appIf, boolean isServer)

public java.util.ListgetDevicesMatchingConnectionStates(int[] states)

public voidreadCharacteristic(int clientIf, java.lang.String address, int srvcType, int srvcInstanceId, android.os.ParcelUuid srvcId, int charInstanceId, android.os.ParcelUuid charId, int authReq)

public voidreadDescriptor(int clientIf, java.lang.String address, int srvcType, int srvcInstanceId, android.os.ParcelUuid srvcId, int charInstanceId, android.os.ParcelUuid charId, int descrInstanceId, android.os.ParcelUuid descrUuid, int authReq)

public voidreadRemoteRssi(int clientIf, java.lang.String address)

public voidrefreshDevice(int clientIf, java.lang.String address)

public voidregisterClient(android.os.ParcelUuid appId, android.bluetooth.IBluetoothGattCallback callback)

public voidregisterForNotification(int clientIf, java.lang.String address, int srvcType, int srvcInstanceId, android.os.ParcelUuid srvcId, int charInstanceId, android.os.ParcelUuid charId, boolean enable)

public voidregisterServer(android.os.ParcelUuid appId, android.bluetooth.IBluetoothGattServerCallback callback)

public voidremoveService(int serverIf, int srvcType, int srvcInstanceId, android.os.ParcelUuid srvcId)

public voidsendNotification(int serverIf, java.lang.String address, int srvcType, int srvcInstanceId, android.os.ParcelUuid srvcId, int charInstanceId, android.os.ParcelUuid charId, boolean confirm, byte[] value)

public voidsendResponse(int serverIf, java.lang.String address, int requestId, int status, int offset, byte[] value)

public voidserverConnect(int servertIf, java.lang.String address, boolean isDirect, int transport)

public voidserverDisconnect(int serverIf, java.lang.String address)

public voidstartMultiAdvertising(int appIf, android.bluetooth.le.AdvertiseData advertiseData, android.bluetooth.le.AdvertiseData scanResponse, android.bluetooth.le.AdvertiseSettings settings)

public voidstartScan(int appIf, boolean isServer, android.bluetooth.le.ScanSettings settings, java.util.List filters, java.util.List scanStorages)

public voidstopMultiAdvertising(int appIf)

public voidstopScan(int appIf, boolean isServer)

public voidunregisterClient(int clientIf)

public voidunregisterServer(int serverIf)

public voidwriteCharacteristic(int clientIf, java.lang.String address, int srvcType, int srvcInstanceId, android.os.ParcelUuid srvcId, int charInstanceId, android.os.ParcelUuid charId, int writeType, int authReq, byte[] value)

public voidwriteDescriptor(int clientIf, java.lang.String address, int srvcType, int srvcInstanceId, android.os.ParcelUuid srvcId, int charInstanceId, android.os.ParcelUuid charId, int descrInstanceId, android.os.ParcelUuid descrId, int writeType, int authReq, byte[] value)