dingjikerbo / Android-BluetoothKit

Android BLE蓝牙通信库
Apache License 2.0
3.59k stars 738 forks source link

BleWriteRequest中startWrite的问题 #166

Open HeLiHuang opened 2 years ago

HeLiHuang commented 2 years ago

private void startWrite() { if (!writeCharacteristic(mServiceUUID, mCharacterUUID, mBytes)) { onRequestCompleted(Code.REQUEST_FAILED); } else { startRequestTiming(); } }

写数据成功后为什么要调用startRequestTiming?不解 ,startRequestTiming不是closeGatt的作用吗?为什么写成功后要调用它