IBluetoothGattpublic interface IBluetoothGatt implements android.os.IInterfaceAPI for interacting with BLE / GATT |
Methods Summary |
---|
public void | addCharacteristic(int serverIf, android.os.ParcelUuid charId, int properties, int permissions)
| public void | addDescriptor(int serverIf, android.os.ParcelUuid descId, int permissions)
| public void | addIncludedService(int serverIf, int srvcType, int srvcInstanceId, android.os.ParcelUuid srvcId)
| public void | beginReliableWrite(int clientIf, java.lang.String address)
| public void | beginServiceDeclaration(int serverIf, int srvcType, int srvcInstanceId, int minHandles, android.os.ParcelUuid srvcId, boolean advertisePreferred)
| public void | clearServices(int serverIf)
| public void | clientConnect(int clientIf, java.lang.String address, boolean isDirect, int transport)
| public void | clientDisconnect(int clientIf, java.lang.String address)
| public void | configureMTU(int clientIf, java.lang.String address, int mtu)
| public void | connectionParameterUpdate(int clientIf, java.lang.String address, int connectionPriority)
| public void | discoverServices(int clientIf, java.lang.String address)
| public void | endReliableWrite(int clientIf, java.lang.String address, boolean execute)
| public void | endServiceDeclaration(int serverIf)
| public void | flushPendingBatchResults(int appIf, boolean isServer)
| public java.util.List | getDevicesMatchingConnectionStates(int[] states)
| public void | readCharacteristic(int clientIf, java.lang.String address, int srvcType, int srvcInstanceId, android.os.ParcelUuid srvcId, int charInstanceId, android.os.ParcelUuid charId, int authReq)
| public void | readDescriptor(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 void | readRemoteRssi(int clientIf, java.lang.String address)
| public void | refreshDevice(int clientIf, java.lang.String address)
| public void | registerClient(android.os.ParcelUuid appId, android.bluetooth.IBluetoothGattCallback callback)
| public void | registerForNotification(int clientIf, java.lang.String address, int srvcType, int srvcInstanceId, android.os.ParcelUuid srvcId, int charInstanceId, android.os.ParcelUuid charId, boolean enable)
| public void | registerServer(android.os.ParcelUuid appId, android.bluetooth.IBluetoothGattServerCallback callback)
| public void | removeService(int serverIf, int srvcType, int srvcInstanceId, android.os.ParcelUuid srvcId)
| public void | sendNotification(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 void | sendResponse(int serverIf, java.lang.String address, int requestId, int status, int offset, byte[] value)
| public void | serverConnect(int servertIf, java.lang.String address, boolean isDirect, int transport)
| public void | serverDisconnect(int serverIf, java.lang.String address)
| public void | startMultiAdvertising(int appIf, android.bluetooth.le.AdvertiseData advertiseData, android.bluetooth.le.AdvertiseData scanResponse, android.bluetooth.le.AdvertiseSettings settings)
| public void | startScan(int appIf, boolean isServer, android.bluetooth.le.ScanSettings settings, java.util.List filters, java.util.List scanStorages)
| public void | stopMultiAdvertising(int appIf)
| public void | stopScan(int appIf, boolean isServer)
| public void | unregisterClient(int clientIf)
| public void | unregisterServer(int serverIf)
| public void | writeCharacteristic(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 void | writeDescriptor(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)
|
|