Class BLEBluetoothGattProxy


  • public class BLEBluetoothGattProxy
    extends java.lang.Object
    Proxy of BluetoothGatt for fixing CVE-2020-12856.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void proxy​(android.bluetooth.BluetoothGatt bluetoothGatt)
      Replace mService field value in BluetoothGatt instance with proxy to enable interception of calls to BluetoothGatt.readCharacteristic and BluetoothGatt.writeCharacteristic for fixing CVE-2020-12856 vulnerability.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BLEBluetoothGattProxy

        public BLEBluetoothGattProxy()
    • Method Detail

      • proxy

        public void proxy​(android.bluetooth.BluetoothGatt bluetoothGatt)
        Replace mService field value in BluetoothGatt instance with proxy to enable interception of calls to BluetoothGatt.readCharacteristic and BluetoothGatt.writeCharacteristic for fixing CVE-2020-12856 vulnerability.
        Parameters:
        bluetoothGatt -