Open andrew203 opened 10 months ago
bleconnecter writeCharacteristic 之后 mBluetoothGatt.writeCharacteristic这之前加 if (isWriteWithNoResponse){ mCharacteristic.setWriteType(BluetoothGattCharacteristic.WRITE_TYPE_NO_RESPONSE); }else { mCharacteristic.setWriteType(BluetoothGattCharacteristic.WRITE_TYPE_DEFAULT); }
bleconnecter writeCharacteristic 之后 mBluetoothGatt.writeCharacteristic这之前加 if (isWriteWithNoResponse){ mCharacteristic.setWriteType(BluetoothGattCharacteristic.WRITE_TYPE_NO_RESPONSE); }else { mCharacteristic.setWriteType(BluetoothGattCharacteristic.WRITE_TYPE_DEFAULT); }