writeCharacteristicCompat

fun BluetoothGatt.writeCharacteristicCompat(    characteristic: BluetoothGattCharacteristic,     payload: ByteArray,     writeType: Int): Int