package com.afunx.ble.blelitelib.proxy; import android.annotation.TargetApi; import android.bluetooth.BluetoothGattCharacteristic; import android.bluetooth.BluetoothGattService; import java.util.List; import java.util.UUID; /* loaded from: classes.dex */ public interface BleGattClientProxy { public interface OnCharacteristicNotificationListener { void onCharacteristicNotification(byte[] bArr); } void close(); boolean connect(String str, long j); BluetoothGattCharacteristic discoverCharacteristic(BluetoothGattService bluetoothGattService, UUID uuid); BluetoothGattService discoverService(UUID uuid, long j); List discoverServices(long j); byte[] readCharacteristic(BluetoothGattCharacteristic bluetoothGattCharacteristic, long j); boolean registerCharacteristicNotification(BluetoothGattCharacteristic bluetoothGattCharacteristic, OnCharacteristicNotificationListener onCharacteristicNotificationListener); @TargetApi(21) boolean requestMtu(int i, long j); void setDisconnectCallback(Runnable runnable, long j); void unregisterCharacteristicNotification(UUID uuid); boolean writeCharacterisitcNoResponse2(BluetoothGattCharacteristic bluetoothGattCharacteristic, byte[] bArr); boolean writeCharacteristic(BluetoothGattCharacteristic bluetoothGattCharacteristic, byte[] bArr, long j); boolean writeCharacteristicNoResponse(BluetoothGattCharacteristic bluetoothGattCharacteristic, byte[] bArr, long j); boolean writeCharacteristicNoResponse20(BluetoothGattCharacteristic bluetoothGattCharacteristic, byte[] bArr); boolean writeCharacteristicNoResponsePacket(BluetoothGattCharacteristic bluetoothGattCharacteristic, byte[] bArr, int i, int i2); boolean writeCharacteristicNoResponsePreemptible(BluetoothGattCharacteristic bluetoothGattCharacteristic, byte[] bArr); }