Open HeLiHuang opened 2 years ago
private void startWrite() { if (!writeCharacteristic(mServiceUUID, mCharacterUUID, mBytes)) { onRequestCompleted(Code.REQUEST_FAILED); } else { startRequestTiming(); } }
写数据成功后为什么要调用startRequestTiming?不解 ,startRequestTiming不是closeGatt的作用吗?为什么写成功后要调用它
private void startWrite() { if (!writeCharacteristic(mServiceUUID, mCharacterUUID, mBytes)) { onRequestCompleted(Code.REQUEST_FAILED); } else { startRequestTiming(); } }
写数据成功后为什么要调用startRequestTiming?不解 ,startRequestTiming不是closeGatt的作用吗?为什么写成功后要调用它